> 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/nss-engine.md).

# NSS Engine

NSS Engine (Network Security Suite) is an on-premises network management platform. OctoXLabs combines three of its sources into one device list: managed devices with their port and VLAN configuration, the IPAM inventory, and the deep discovery results.

## Use cases

* **Find network hosts that are not managed devices.** Review hosts that NSS Engine saw through IPAM or discovery and no other source reports.

```
Adapters = nss-engine AND NOT Adapters = active-directory
```

* **Review the network device list.** Use it as a base for port and VLAN reviews.

```
Adapters = nss-engine
```

## Before you begin

### Network

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

### Required permissions

| Scope or role | Permission | Needed for                                                                  |
| ------------- | ---------- | --------------------------------------------------------------------------- |
| `devices`     | Read       | Managed network devices and their interfaces                                |
| `ipam`        | Read       | IP address inventory (the only source of MAC addresses for managed devices) |
| `discovery`   | Read       | Deep network discovery results                                              |

A token that lacks a scope does not fail the discovery. The connector reads the permission list from `/api/public/info` and queries only the endpoints that the token may use. Grant all three for the full inventory.

## Create credentials in NSS Engine

{% stepper %}
{% step %}

### Open the public API settings

In your NSS Engine installation, open the public API settings.
{% endstep %}

{% step %}

### Create the token

Create a token with the `devices`, `ipam` and `discovery` permissions.
{% endstep %}

{% step %}

### Copy the token

Copy the token. OctoXLabs sends it in the `X-NSS-Token` header on every request.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type    | Default | Description                                                                                        |
| ------------ | -------- | ------- | ------- | -------------------------------------------------------------------------------------------------- |
| IP           | Yes      | String  | None    | IP address or hostname of the NSS Engine appliance that serves the public API.                     |
| Port         | No       | Integer | 443     | Port of the public API.                                                                            |
| Token        | Yes      | String  | None    | API token.                                                                                         |
| Is Secure    | No       | Boolean | True    | Use HTTPS. Turn it off only if the API is served over plain HTTP.                                  |
| Thread Count | No       | Integer | 32      | Parallel requests used to fetch the interface configuration of each device. Minimum 1, maximum 32. |
| Sleep Time   | No       | Integer | 0       | Seconds to wait between batches of parallel requests.                                              |
| Timeout      | No       | Integer | 30      | Seconds to wait for an API response.                                                               |

## Troubleshooting

| Error message                                                  | Cause                                                                                   | Fix                                        |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------ |
| 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 token, the address and the port. |

## Change history

{% hint style="info" %}
Available starting from version 6.7.1.
{% endhint %}
