> 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/t/trellix-epo-cloud.md).

# Trellix EPO Cloud

Trellix ePO Cloud is the cloud-hosted version of Trellix ePolicy Orchestrator for central endpoint security management. OctoXLabs reads the managed devices and, optionally, the Trellix products installed on each device, and adds them to the inventory.

## Use cases

* **Find devices without a Trellix agent.** Replace the adapter slug with a source that has a full device list.

```
Adapters = active-directory AND NOT Adapters = trellix-epo-cloud
```

* **List managed devices by operating system.** Review Trellix coverage for one platform.

```
Adapters = trellix-epo-cloud AND OS.Type = Windows
```

## Before you begin

### Network

| Source              | Destination                                   | Port | Protocol |
| ------------------- | --------------------------------------------- | ---- | -------- |
| OctoXLabs connector | auth.trellix.com (Token domain parameter)     | 443  | HTTPS    |
| OctoXLabs connector | api.manage.trellix.com (Api domain parameter) | 443  | HTTPS    |

The connector uses HTTPS unless Is secure is turned off. If a proxy is set, requests go through it.

### Required permissions

| Scope or role                                  | Permission                    | Needed for                     |
| ---------------------------------------------- | ----------------------------- | ------------------------------ |
| Token scopes (entered in the Scopes parameter) | Device and EDR data retrieval | Devices and installed products |

The baseline says to select all EDR-related scopes when you create the client credentials. The exact scope names are Not verified.

## Create credentials in Trellix EPO Cloud

{% stepper %}
{% step %}

### Sign in to Trellix IAM

Log in to Trellix IAM with your user credentials.
{% endstep %}

{% step %}

### Open Client Credentials

At the top right, click the user icon and select **Client Credentials**.
{% endstep %}

{% step %}

### Add the key

On the API keys page, click **Add** in the top right corner. Select all EDR-related scopes and click **Create**.
{% endstep %}

{% step %}

### Copy the credentials

Copy the generated Client ID and Client Secret.
{% endstep %}

{% step %}

### Get the X-API-KEY

Find the X-API-KEY in your onboarding email, or on the API Access Information page.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter                | Required | Type    | Default                | Description                                                                                                              |
| ------------------------ | -------- | ------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Api domain               | No       | String  | api.manage.trellix.com | Base domain of the Trellix API.                                                                                          |
| Token domain             | No       | String  | auth.trellix.com       | Domain that issues access tokens.                                                                                        |
| Client id                | Yes      | String  | None                   | Client ID of the Trellix IAM application.                                                                                |
| Client secret            | Yes      | String  | None                   | Client Secret of the Client ID.                                                                                          |
| X api key                | Yes      | String  | None                   | X-API-KEY, sent in the `x-api-key` header.                                                                               |
| Scopes                   | Yes      | List    | None                   | Token scopes for device and EDR data retrieval. They are sent space separated.                                           |
| Proxy                    | No       | String  | None                   | Proxy address, used as `http://<value>` for HTTP and HTTPS.                                                              |
| Is secure                | No       | Boolean | True                   | Use HTTPS. Turn off for plain HTTP.                                                                                      |
| Fetch installed products | No       | Boolean | False                  | Add the installed Trellix products of each device. Needs one extra request per device and lengthens discovery. Advanced. |
| Thread count             | No       | Integer | 16                     | Parallel threads for installed product requests. Minimum 1, maximum 32. Advanced.                                        |
| Sleep time               | No       | Integer | 0                      | Seconds to wait while threads are started. Raise it if you hit rate limits. Advanced.                                    |

## Troubleshooting

| Error message                                                  | Cause                                                          | Fix                                                                          |
| -------------------------------------------------------------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| Request failed after {n} retries for url {url}                 | Token refresh or rate limiting kept failing.                   | Check the client credentials, scopes and X-API-KEY, and raise Sleep time.    |
| Failed to fetch devices: {status}                              | The device list request answered with a status other than 200. | Check that the scopes allow device access and that the X-API-KEY is correct. |
| Invalid JSON response while fetching devices (status={status}) | The device list response was not valid JSON.                   | Check the Api domain.                                                        |

## Change history

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