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

# Halo ITSM

Halo ITSM is an IT service management platform. OctoXLabs reads the assets in your Halo instance as devices and the Halo agents as users.

## Use cases

* Find Halo agents that signed in recently.

```
Adapters = halo-itsm AND LastLogOnTime last now-30d/d
```

* Compare the Halo asset records with other sources, for example devices that are in Halo but not in your EDR.

```
Adapters = halo-itsm AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                                                | Port | Protocol |
| ------------------- | ---------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Your Halo ITSM domain (for example `support.haloitsm.com`) | 443  | HTTPS    |

### Required permissions

| Scope or role                           | Permission  | Needed for |
| --------------------------------------- | ----------- | ---------- |
| API application with Client Credentials | Read Assets | Devices    |
| API application with Client Credentials | Read Agents | Users      |

## Create credentials in Halo ITSM

{% stepper %}
{% step %}

### Open the API settings

In Halo ITSM go to **Configuration** > **Integrations** > **Halo API**.
{% endstep %}

{% step %}

### Create or select an API application

Use an application whose authentication method is **Client Credentials**. Copy the Client ID and the Client Secret.
{% endstep %}

{% step %}

### Check the permissions

The application must be able to read Assets and Agents. The connector requests the scope `all`.
{% endstep %}

{% step %}

### Find the tenant (hosted only)

For hosted (multi-tenant) Halo, copy your tenant ID from the same page. Leave it empty for on-premise installations.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default | Description                                                              |
| ------------- | -------- | ------- | ------- | ------------------------------------------------------------------------ |
| Domain        | Yes      | Text    | None    | Domain of the instance, without `https://` and without a trailing slash. |
| Client ID     | Yes      | Text    | None    | Client ID of the API application.                                        |
| Client Secret | Yes      | Text    | None    | Client secret of the API application.                                    |
| Tenant        | No       | Text    | None    | Tenant ID. Needed only for hosted solutions.                             |
| Proxy         | No       | Text    | None    | Proxy in `host:port` form. The connector prefixes it with `http://`.     |
| Timeout       | No       | Integer | `30`    | Seconds to wait for API responses.                                       |

## Troubleshooting

| Error message                                                   | Cause                                                                                       | Fix                                                             |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| Not verified                                                    | The connector code does not define adapter specific error messages for the common failures. | Run the connection test and check the connector log.            |
| `Request to <url> failed after 5 retries (last status: <code>)` | The API kept returning HTTP 401 or 429.                                                     | Check the client ID and secret, then run discovery again later. |

## Change history

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