> 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/k/kolide.md).

# Kolide

Kolide is a device trust and endpoint visibility platform. OctoXLabs reads the devices and the people in your Kolide organization and adds them to the device and user inventories.

## Use cases

* **Find Kolide devices that have not authenticated recently.** Last seen comes from `last_authenticated_at`.

```
Adapters = kolide AND NOT LastSeen last now-30d/d
```

* **Find Kolide devices missing from your EDR.** List Kolide devices that CrowdStrike does not report.

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

## Before you begin

### Network

| Source              | Destination                       | Port | Protocol |
| ------------------- | --------------------------------- | ---- | -------- |
| OctoXLabs connector | api.kolide.com (Domain parameter) | 443  | HTTPS    |

The connector always uses HTTPS.

### Required permissions

| Scope or role     | Permission                            | Needed for           |
| ----------------- | ------------------------------------- | -------------------- |
| Full Access admin | Required to create or manage API keys | Creating the API key |

Per the baseline, only admins with **Full Access** can create or manage API keys in Kolide. The API key permissions themselves are not described.

## Create credentials in Kolide

{% stepper %}
{% step %}

### Open Settings

Click your user avatar in the upper-right corner and click **Settings**.
{% endstep %}

{% step %}

### Open Developers

In the left menu, select **Developers**, then **API Keys**.
{% endstep %}

{% step %}

### Create the key

Click **Create New Key**. Provide a name and the Kolide administrator responsible for its usage. These values appear in the Audit Log and Privacy Center. Copy the key.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter   | Required | Type    | Default        | Description                                                                                         |
| ----------- | -------- | ------- | -------------- | --------------------------------------------------------------------------------------------------- |
| Domain      | No       | String  | api.kolide.com | API domain. Use the default unless your organization has a custom API endpoint.                     |
| API Token   | Yes      | String  | None           | Kolide API key.                                                                                     |
| API Version | No       | String  | 2023-05-26     | Value of the `X-Kolide-Api-Version` header. The baseline names `2023-05-26` as the current version. |
| Timeout     | No       | Integer | 30             | Seconds to wait for an API response.                                                                |

## Troubleshooting

| Error message                                                  | Cause                                                                                   | Fix                                                                                            |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Rate limit hit, sleeping for {n} seconds...                    | The API answered 429. This is a debug message, not an error.                            | No action. The connector retries after the wait.                                               |
| 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. | Read the status code and body in the message, then check the credentials, permissions and URL. |

## Change history

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