> 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/h/huntress.md).

# Huntress

Huntress is a managed endpoint detection and response platform. OctoXLabs reads the agents of every organization that your API key can see.

## Use cases

* Find Huntress agents that stopped calling back.

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

* Find servers that have no Huntress agent.

```
Category = Server AND NOT Adapters = huntress
```

## Before you begin

### Network

| Source              | Destination       | Port | Protocol |
| ------------------- | ----------------- | ---- | -------- |
| OctoXLabs connector | `api.huntress.io` | 443  | HTTPS    |

### Required permissions

| Scope or role      | Permission         | Needed for |
| ------------------ | ------------------ | ---------- |
| API key and secret | Read organizations | Devices    |
| API key and secret | Read agents        | Devices    |

## Create credentials in Huntress

{% stepper %}
{% step %}

### Open API credentials

Sign in to Huntress, open the top right dropdown and select **API Credentials**.
{% endstep %}

{% step %}

### Generate the keys

Click **Setup** and then **Generate** to get the public and private keys.
{% endstep %}

{% step %}

### Store the private key

Copy it. It is shown only once.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter  | Required | Type    | Default           | Description                                                       |
| ---------- | -------- | ------- | ----------------- | ----------------------------------------------------------------- |
| Domain     | Yes      | Text    | `api.huntress.io` | API host. Change only if your organization has a custom endpoint. |
| Api Key    | Yes      | Text    | None              | Public key.                                                       |
| Api Secret | Yes      | Text    | None              | Private key.                                                      |
| Is Secure? | No       | Boolean | `true`            | Use HTTPS. When off, the connector uses HTTP.                     |
| Timeout    | No       | Integer | `30`              | Seconds to wait for API responses.                                |

## Troubleshooting

| Error message | Cause                                                         | Fix                                            |
| ------------- | ------------------------------------------------------------- | ---------------------------------------------- |
| Not verified  | The connector logs the API response body for non 200 answers. | Check the connector log for the response body. |

## Change history

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