> 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-enterprise-security-manager.md).

# Trellix Enterprise Security Manager

Trellix Enterprise Security Manager (formerly McAfee ESM) is an on-premises SIEM that collects and correlates security events from many source devices. OctoXLabs reads the log-source data sources as devices and the console operators as users.

## Use cases

* **Find log sources that are not in your inventory.** List the data sources ESM collects from and compare them with another source. Replace the adapter slug with your CMDB adapter.

```
Adapters = trellix-esm AND NOT Adapters = servicenow
```

* **Review ESM console operators.** Find ESM users that have no directory account. How accounts are matched depends on your user merge settings.

```
Adapters = trellix-esm AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                          | Port                 | Protocol                           |
| ------------------- | ------------------------------------ | -------------------- | ---------------------------------- |
| OctoXLabs connector | Trellix ESM appliance (IP parameter) | 443 (Port parameter) | HTTPS (HTTP when Is secure is off) |

ESM is an on-premises product, so the address is unique to each deployment.

### Required permissions

| Scope or role       | Permission                                                                              | Needed for |
| ------------------- | --------------------------------------------------------------------------------------- | ---------- |
| ESM console account | Standard ESM REST API access                                                            | Sign-in    |
| ESM console account | View the receiver and data source lists (admin rights return the full, unfiltered list) | Devices    |
| ESM console account | User management read access                                                             | Users      |

## Create credentials in Trellix Enterprise Security Manager

{% stepper %}
{% step %}

### Choose an ESM account

Use an ESM console account that can authenticate to the REST API.
{% endstep %}

{% step %}

### Check the rights

The account should see the receiver and data source lists. Admin rights make sure the full list is returned. For users, it needs user-management read access.
{% endstep %}

{% step %}

### Enter the details

Enter the host, port, username and password in the connection form.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default | Description                                    |
| --------- | -------- | ------- | ------- | ---------------------------------------------- |
| IP        | Yes      | String  | None    | IP address or host name of the ESM appliance.  |
| Port      | No       | Integer | 443     | Port of the ESM REST API.                      |
| Is secure | No       | Boolean | True    | Use HTTPS. Turn off for plain HTTP.            |
| Username  | Yes      | String  | None    | ESM console account name.                      |
| Password  | Yes      | String  | None    | Account password.                              |
| Timeout   | No       | Integer | 30      | Seconds to wait for an API response. Advanced. |

## Troubleshooting

| Error message                                                  | Cause                                                                                | Fix                                                                                |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
| Status Code: `, followed by URL, Method and the response body` | The API answered with an unexpected status. This is the shared REST connector error. | Check the credentials, the account rights, the IP, port and the Is secure setting. |

## Change history

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