> 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/g/genian-nac.md).

# Genian NAC

Genian NAC identifies and monitors the hardware and software in the network, determines each device's security posture and enforces network access. OctoXLabs reads the nodes (devices) from the Policy Server, adds the CVEs reported for each node, and reads the user accounts.

## Use cases

* List all nodes that Genian NAC has discovered.

```
Adapters = genian-nac
```

* Find Genian NAC nodes that are missing from Active Directory.

```
Adapters = genian-nac AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination              | Port                         | Protocol                           |
| ------------------- | ------------------------ | ---------------------------- | ---------------------------------- |
| OctoXLabs connector | Genian NAC Policy Server | 8443 (default, configurable) | HTTPS (HTTP when Is secure is off) |

### Required permissions

| Scope or role                               | Permission | Needed for      |
| ------------------------------------------- | ---------- | --------------- |
| Administrator account that owns the API key | Read-only  | Nodes and users |

## Create credentials in Genian NAC

{% stepper %}
{% step %}

### Open the administrator settings

In the Genian web console, go to **Management** > **User** > **Administrator**.
{% endstep %}

{% step %}

### Get the API key

Open the **API Key** tab of an administrator with read-only permission and copy the key. The key is generated per administrator.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type             | Default | Description                                                                     |
| ------------ | -------- | ---------------- | ------- | ------------------------------------------------------------------------------- |
| Ip           | Yes      | Text             | None    | Host name or IP address of the Policy Server.                                   |
| Port         | No       | Integer          | 8443    | Policy Server management port.                                                  |
| Is secure    | No       | Boolean          | True    | Use HTTPS.                                                                      |
| Api key      | Yes      | Text (sensitive) | None    | Administrator API key.                                                          |
| Proxy        | No       | Text             | Empty   | Proxy in `host:port` format.                                                    |
| Thread count | No       | Integer          | 32      | Parallel workers that add CVEs and malware to each node. Minimum 1, maximum 32. |
| Sleep time   | No       | Integer          | None    | Seconds between threaded requests.                                              |
| Timeout      | No       | Integer          | 30      | Seconds to wait for API responses.                                              |

## Troubleshooting

| Error message                                                                         | Cause                                           | Fix                                                                             |
| ------------------------------------------------------------------------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------- |
| `genian-nac <cves or malware> enrichment failed for node <id>: <error>` (log warning) | The CVE or malware request for one node failed. | Check the API key's read access. The node is still collected without that data. |

## Change history

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