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

# Halcyon

Halcyon is a cloud-managed anti-ransomware platform. OctoXLabs reads the protected assets and, optionally, the console users from Halcyon.

## Use cases

* Find Halcyon devices that stopped sending heartbeats.

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

* List Halcyon console administrators.

```
Adapters = halcyon AND AdminStatus = true
```

## Before you begin

### Network

| Source              | Destination                                          | Port | Protocol |
| ------------------- | ---------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | `api.halcyon.ai` (single fixed host for all tenants) | 443  | HTTPS    |

### Required permissions

| Scope or role                     | Permission                    | Needed for                               |
| --------------------------------- | ----------------------------- | ---------------------------------------- |
| ReadOnly (or higher) console role | Read                          | Devices                                  |
| Admin console role                | Read tenants and tenant users | Users (only when Fetch users is enabled) |

## Create credentials in Halcyon

{% stepper %}
{% step %}

### Choose the console account

Use a Halcyon console account. OctoXLabs signs in with its username and password.
{% endstep %}

{% step %}

### Check the role

For devices only, the account needs at least **ReadOnly** access. To collect users, the account needs **Admin** access.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type    | Default          | Description                                                                                            |
| ------------ | -------- | ------- | ---------------- | ------------------------------------------------------------------------------------------------------ |
| Domain       | Yes      | Text    | `api.halcyon.ai` | Halcyon API host.                                                                                      |
| Username     | Yes      | Text    | None             | Console account username.                                                                              |
| Password     | Yes      | Text    | None             | Password of the account.                                                                               |
| Fetch users  | No       | Boolean | `false`          | Collect console tenant users. Requires Admin access.                                                   |
| Proxy        | No       | Text    | None             | Proxy in `host:port` form. The connector prefixes it with `http://`.                                   |
| Thread count | No       | Integer | `32`             | Parallel threads for asset detail requests (1 to 32).                                                  |
| Sleep Time   | No       | Integer | None             | Seconds to wait while threads are created. A higher value lowers resource use and lengthens discovery. |
| Timeout      | No       | Integer | `30`             | Seconds to wait for API responses.                                                                     |

## Troubleshooting

| Error message                                                        | Cause                                                                                    | Fix                                                      |
| -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| `Max retries exceeded for <url>`                                     | The API kept returning HTTP 401 or 429 after 5 attempts.                                 | Check the credentials and run discovery again later.     |
| `Halcyon user fetch skipped (tenants list failed, needs Admin RBAC)` | Fetch users is enabled but the account cannot list tenants. This is logged as a warning. | Use an account with Admin access or disable Fetch users. |

## Change history

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