> 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/forward-networks.md).

# Forward Networks

Forward Networks is a network digital twin platform. It collects configuration and state from routers, switches, firewalls and load balancers, and matches their OS versions and configurations against known CVEs. OctoXLabs reads the devices of each network's latest processed snapshot, the CVEs that affect them, and the user accounts.

## Use cases

* List the network devices Forward Networks models.

```
Adapters = forward-networks
```

* Find network devices that Forward Networks sees but a vulnerability scanner does not.

```
Adapters = forward-networks AND NOT Adapters = tenable-sc
```

## Before you begin

### Network

| Source              | Destination                                 | Port | Protocol |
| ------------------- | ------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Forward Enterprise host (default `fwd.app`) | 443  | HTTPS    |

For a self-hosted instance, use its host name. The port is not a parameter.

### Required permissions

| Scope or role        | Permission                                                    | Needed for                                                  |
| -------------------- | ------------------------------------------------------------- | ----------------------------------------------------------- |
| Account or API token | Read networks, their devices and their vulnerability analysis | Devices and vulnerabilities                                 |
| Org Admin role       | Read user accounts                                            | Users (turn off Fetch users if the account lacks this role) |

The Forward SaaS allows 2,000 API requests per minute per account. When the limit is reached, the adapter waits and retries.

## Create credentials in Forward Networks

{% stepper %}
{% step %}

### Create an API token

Create an API token in Forward Networks. The **access key** and the **secret key** of the token are the credentials. As an alternative, use the username and password of a Forward account. Accounts that sign in through SSO cannot use the username.
{% endstep %}

{% step %}

### Check the role

The account must be able to read the networks, their devices and their vulnerability analysis. For Fetch users, it needs the Org Admin role.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter             | Required | Type             | Default   | Description                                                                                                                                                |
| --------------------- | -------- | ---------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Domain                | No       | Text             | `fwd.app` | Address of your Forward Enterprise instance, without `https://`.                                                                                           |
| Access key            | Yes      | Text             | None      | Access key of the API token, or the account username.                                                                                                      |
| Secret key            | Yes      | Text (sensitive) | None      | Secret key of the same token, or the account password.                                                                                                     |
| Fetch devices         | No       | Boolean          | True      | Collect devices of each network's latest processed snapshot. Synthetic devices such as internet links and WAN circuits and workspace networks are skipped. |
| Fetch vulnerabilities | No       | Boolean          | True      | Add the CVEs of the latest processed snapshot to the devices they affect.                                                                                  |
| Fetch users           | No       | Boolean          | True      | Collect Forward user accounts.                                                                                                                             |
| Proxy                 | No       | Text             | Empty     | Proxy in `host:port` form.                                                                                                                                 |
| Timeout               | No       | Integer          | 30        | Seconds to wait for API responses.                                                                                                                         |

## Troubleshooting

| Error message                                                                                                | Cause                                                               | Fix                                                        |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- | ---------------------------------------------------------- |
| `Network <name> has no processed snapshot yet, its devices are skipped.` (log warning)                       | The API answered HTTP 409 because the snapshot is still processing. | Run discovery again later.                                 |
| `Vulnerabilities of network <name> could not be read, its devices are collected without them.` (log warning) | The vulnerability request failed.                                   | Check the account's read access to vulnerability analysis. |
| `Classic devices of network <name> could not be read, its devices are collected without them.` (log warning) | The classic device request failed.                                  | Check the account permissions.                             |
| `Max retries exceeded for <url>`                                                                             | The API kept answering HTTP 429.                                    | Wait for the rate limit window to pass and retry.          |

## Change history

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