> 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/v/vectra-ai.md).

# Vectra AI

Vectra AI is a network detection and response platform that uses behavioral analysis to find attacker activity. OctoXLabs reads the hosts known to the Vectra management server and, optionally, their detections, and adds them to the device inventory.

## Use cases

* **Find hosts known to Vectra AI that are missing from your EDR.** Replace the adapter slug with the one for your EDR.

```
Adapters = vectra-ai AND NOT Adapters = crowdstrike
```

* **List every host Vectra AI tracks.**

```
Adapters = vectra-ai
```

## Before you begin

### Network

| Source              | Destination                                | Port                 | Protocol                           |
| ------------------- | ------------------------------------------ | -------------------- | ---------------------------------- |
| OctoXLabs connector | Vectra AI management server (IP parameter) | 443 (Port parameter) | HTTPS (HTTP when Is secure is off) |

### Required permissions

| Scope or role                  | Permission      | Needed for                                    |
| ------------------------------ | --------------- | --------------------------------------------- |
| Vectra account with API access | View hosts      | Devices                                       |
| Vectra account with API access | View detections | Detections (only when Fetch detections is on) |

Each user finds their API token on the **My Profile** page of the Vectra platform.

## Create credentials in Vectra AI

{% stepper %}
{% step %}

### Choose the account

Use a Vectra account that can view hosts and detections.
{% endstep %}

{% step %}

### Open My Profile

Sign in to the Vectra platform and open the **My Profile** page.
{% endstep %}

{% step %}

### Copy the API token

Copy the API token shown there. The connector sends it as `Authorization: Token <token>`.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter        | Required | Type    | Default | Description                                                |
| ---------------- | -------- | ------- | ------- | ---------------------------------------------------------- |
| IP               | Yes      | String  | None    | Hostname or IP address of the Vectra AI management server. |
| Port             | No       | Integer | 443     | Port of the API.                                           |
| API Token        | Yes      | String  | None    | Vectra API token.                                          |
| Page Size        | No       | Integer | 5000    | Items per page. Minimum 100, maximum 5000.                 |
| Timeout          | No       | Integer | 30      | Seconds to wait for an API response. Advanced.             |
| Fetch Detections | No       | Boolean | False   | Add detections to each host. Advanced.                     |
| Is secure        | No       | Boolean | True    | Use HTTPS. Turn off for plain HTTP. Advanced.              |

## 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, IP, port and the Is secure setting. |

## Change history

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