> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/n/nozomi-networks-guardian.md).

# Nozomi Networks Guardian

Nozomi Networks Guardian is an OT, IoT and IT network monitoring platform. OctoXLabs reads the assets from a Guardian appliance or a CMC and, if you enable it, attaches the CVEs of each asset.

## Use cases

* **Find OT assets that IT sources do not see.** List Guardian assets missing from Active Directory.

```
Adapters = nozomi-guardian AND NOT Adapters = active-directory
```

* **Review OT assets with known CVEs.** Enable Fetch Vulnerabilities and then review the vulnerabilities on the imported devices.

```
Adapters = nozomi-guardian
```

## Before you begin

### Network

| Source              | Destination                              | Port                 | Protocol                         |
| ------------------- | ---------------------------------------- | -------------------- | -------------------------------- |
| OctoXLabs connector | Guardian appliance or CMC (IP parameter) | 443 (Port parameter) | HTTPS (HTTP if Is Secure is off) |

If a proxy is set, it is used as `http://<value>` for HTTP and HTTPS.

### Required permissions

| Scope or role                 | Permission                           | Needed for                                 |
| ----------------------------- | ------------------------------------ | ------------------------------------------ |
| Role bound to the OpenAPI key | Read on the `assets` data source     | Listing assets                             |
| Role bound to the OpenAPI key | Read on the `asset_cves` data source | CVEs (only if Fetch Vulnerabilities is on) |

No write or administrative permissions are needed.

## Create credentials in Nozomi Networks Guardian

{% stepper %}
{% step %}

### Open the key settings

In the Guardian console, go to **Administration**, then **Settings**, then **Users**, then **OpenAPI Keys**.
{% endstep %}

{% step %}

### Create the key

Create a key and bind it to a role that can read the `assets` and `asset_cves` data sources.
{% endstep %}

{% step %}

### Copy the key name and token

Copy the key name and the key token. The token is shown when the key is created.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter                   | Required | Type    | Default | Description                                                             |
| --------------------------- | -------- | ------- | ------- | ----------------------------------------------------------------------- |
| IP                          | Yes      | String  | None    | Host (FQDN or IP address) of the Guardian appliance or CMC.             |
| Port                        | No       | Integer | 443     | Port of the appliance.                                                  |
| Key Name                    | Yes      | String  | None    | OpenAPI key name.                                                       |
| Key Token                   | Yes      | String  | None    | OpenAPI key token.                                                      |
| Fetch Vulnerabilities       | No       | Boolean | False   | Enrich each asset with CVEs from `asset_cves`.                          |
| Only Active Vulnerabilities | No       | Boolean | True    | Fetch only unresolved CVEs. Used only when Fetch Vulnerabilities is on. |
| Is Secure                   | No       | Boolean | True    | Use HTTPS.                                                              |
| Proxy                       | No       | String  | None    | Proxy address.                                                          |
| Timeout                     | No       | Integer | 30      | Seconds to wait for an API response.                                    |

## Troubleshooting

| Error message                                                  | Cause                                                                                   | Fix                                                          |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| Max retries exceeded for {url}                                 | The API kept answering 401.                                                             | Check the key name, key token and the role bound to the key. |
| Status Code: `, followed by URL, Method and the response body` | The API answered with a status other than 200. This is the shared REST connector error. | Check the address, port and key.                             |

## Change history
