> 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/c/cyberhaven.md).

# Cyberhaven

Cyberhaven is a data detection and response platform that tracks how sensitive data moves across endpoints, cloud apps and email. OctoXLabs reads the endpoints known to Cyberhaven and adds them to the device inventory.

## Use cases

* **Review endpoints that run the Cyberhaven sensor.** List every device reported by Cyberhaven.

```
Adapters = cyberhaven
```

* **Find Cyberhaven endpoints missing from your EDR.** Compare Cyberhaven coverage with another adapter. Replace `crowdstrike` with the slug of your EDR adapter.

```
Adapters = cyberhaven AND NOT Adapters = crowdstrike
```

## Before you begin

### Network

| Source              | Destination                        | Port | Protocol |
| ------------------- | ---------------------------------- | ---- | -------- |
| OctoXLabs connector | Cyberhaven host (Domain parameter) | 443  | HTTPS    |

The connector always uses HTTPS and does not verify the TLS certificate of the host.

### Required permissions

| Scope or role | Permission | Needed for        |
| ------------- | ---------- | ----------------- |
| API token     | Read       | Listing endpoints |

The baseline does not name a specific role or scope. Not verified.

## Create credentials in Cyberhaven

{% stepper %}
{% step %}

### Open the API tokens page

In your Cyberhaven tenant, go to **Settings** > **API tokens**.
{% endstep %}

{% step %}

### Create or copy the token

Create a token, or copy an existing one. The token shown in the UI is base64-encoded. Enter it as it is.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type               | Default | Description                                                                           |
| --------- | -------- | ------------------ | ------- | ------------------------------------------------------------------------------------- |
| Domain    | Yes      | String             | None    | Host name of your Cyberhaven tenant, without a scheme. The connector adds `https://`. |
| Api token | Yes      | String (sensitive) | None    | Base64-encoded API token from **Settings** > **API tokens**.                          |

## Troubleshooting

| Error message                                                  | Cause                                                                           | Fix                                                                 |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| Status Code: `, followed by URL, Method and the response body` | The API answered with an error status. This is the shared REST connector error. | Read the status code and body, then check the domain and the token. |

## Change history

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