> 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/f/fastnac.md).

# FastNAC

FastNAC is a network access control product. OctoXLabs reads the endpoints it manages, with optional details, installed applications, vulnerabilities, network adapters and disks, and adds them to the device inventory.

## Use cases

* **Find endpoints that NAC sees but no agent reports.**

```
Adapters = fastnac AND NOT Adapters = falcon-crowdstrike
```

* **Find endpoints missing from the directory.**

```
Adapters = fastnac AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                   | Port                 | Protocol                        |
| ------------------- | ----------------------------- | -------------------- | ------------------------------- |
| OctoXLabs connector | FastNAC server (IP parameter) | 443 (Port parameter) | HTTPS (Is Secure on by default) |

If a proxy is set, requests go through it.

### Required permissions

| Scope or role  | Permission                          | Needed for                                             |
| -------------- | ----------------------------------- | ------------------------------------------------------ |
| API user group | Endpoints > Domain Devices > detail | Endpoint inventory and details                         |
| API user group | Vulnerabilities                     | Vulnerabilities, only when Fetch Vulnerabilities is on |

The baseline says the user sees only the endpoints behind the switches of its device groups. Assign group 1 to see all endpoints. The FastNAC license must be active.

{% hint style="danger" %}
Do not grant the **Endpoints > Domain Devices > action** permission. It allows port actions such as VLAN changes and port shutdowns. The adapter only reads data.
{% endhint %}

## Create credentials in FastNAC

{% stepper %}
{% step %}

### Create a third-party API user

Create a FastNAC user for third-party API access.
{% endstep %}

{% step %}

### Set group permissions

In the user's group, allow **Endpoints > Domain Devices > detail**. Allow **Vulnerabilities** only if you will turn on Fetch Vulnerabilities. Do not allow the **action** permission.
{% endstep %}

{% step %}

### Choose device groups

Assign group 1 if the user must see all endpoints.
{% endstep %}

{% step %}

### Get the public key if needed

The password is encrypted with an RSA public key before it is sent. Upload a key file only if your FastNAC uses a key other than the default published in the FastNAC API documentation.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter              | Required | Type       | Default                                        | Description                                                                                   |
| ---------------------- | -------- | ---------- | ---------------------------------------------- | --------------------------------------------------------------------------------------------- |
| IP                     | Yes      | String     | None                                           | IP address or hostname of the FastNAC server.                                                 |
| Port                   | No       | Integer    | 443                                            | HTTPS port.                                                                                   |
| Username               | Yes      | String     | None                                           | Third-party API user.                                                                         |
| Password               | Yes      | String     | None                                           | Password of the API user. Encrypted with the public key before sending.                       |
| Public Key             | No       | File (PEM) | Default key from the FastNAC API documentation | RSA public key used to encrypt the password.                                                  |
| Fetch Details          | No       | Boolean    | true                                           | Manufacturer, model, memory, CPU and OS architecture.                                         |
| Fetch Installed Apps   | No       | Boolean    | true                                           | Installed applications of each endpoint.                                                      |
| Fetch Vulnerabilities  | No       | Boolean    | false                                          | CVE findings of the latest scan. Needs the Vulnerabilities permission.                        |
| Fetch Network Adapters | No       | Boolean    | false                                          | Network adapters, to collect all IP and MAC addresses.                                        |
| Fetch Disks            | No       | Boolean    | false                                          | Disks and free space.                                                                         |
| Vendors                | No       | List       | siem                                           | Third-party vendor names sent to the API, which logs them. Each vendor is queried separately. |
| Is Secure              | No       | Boolean    | true                                           | Use HTTPS.                                                                                    |
| Proxy                  | No       | String     | None                                           | Proxy URL.                                                                                    |
| Timeout                | No       | Integer    | 30                                             | Seconds to wait for API responses.                                                            |
| Thread Count           | No       | Integer    | 10                                             | Endpoints whose details are fetched in parallel, from 1 to 32.                                |

## Troubleshooting

| Error message | Cause                                     | Fix                                                                                       |
| ------------- | ----------------------------------------- | ----------------------------------------------------------------------------------------- |
| Not verified  | No error text could be confirmed in code. | Run a connection test. Check the user permissions, the active license and the public key. |

## Change history

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