> 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/m/mcafee-epo.md).

# McAfee EPO

McAfee ePolicy Orchestrator (ePO, now Trellix ePO) manages McAfee and Trellix endpoint products. OctoXLabs reads the systems in each ePO group and adds them to the device inventory, optionally with antivirus content versions and installed software.

## Use cases

* List devices managed by ePO.

```
Adapters = mcafee
```

* Find ePO managed devices that did not check in recently.

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

## Before you begin

### Network

| Source              | Destination       | Port                         | Protocol                     |
| ------------------- | ----------------- | ---------------------------- | ---------------------------- |
| OctoXLabs connector | McAfee ePO server | 8443 (default, configurable) | HTTPS (HTTP when SSL is off) |

### Required permissions

| Scope or role                  | Permission | Needed for                                                 |
| ------------------------------ | ---------- | ---------------------------------------------------------- |
| ePO user with read-only rights | Read       | Systems, groups and the queries listed under API endpoints |

The frontend instructions state that the user needs read-only rights to read details.

## Create credentials in McAfee EPO

{% stepper %}
{% step %}

### Create a user

In ePO, create a user account for OctoXLabs.
{% endstep %}

{% step %}

### Give read-only rights

Assign read-only permissions so the account can read system details.
{% endstep %}

{% step %}

### Note the port

ePO listens on 8443 by default. Use the port of your installation.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter                                   | Required | Type            | Default | Description                                                                |
| ------------------------------------------- | -------- | --------------- | ------- | -------------------------------------------------------------------------- |
| IP or Hostname (`ip`)                       | Yes      | String          |         | Host of the ePO server.                                                    |
| Username (`username`)                       | Yes      | String          |         | Account used to connect.                                                   |
| Password (`password`)                       | Yes      | String          |         | Password of the account.                                                   |
| Exclude Groups Ids (`exclude_groups`)       | No       | List of strings |         | Group IDs to skip, entered as `xx,xx`.                                     |
| Port (`port`)                               | No       | Integer         | 8443    | ePO port.                                                                  |
| SSL (`is_secure`)                           | No       | Boolean         | True    | Use SSL for the connection.                                                |
| Timeout (`timeout`)                         | No       | Integer         | 30      | Seconds to wait for API responses.                                         |
| Thread Count (`thread_count`)               | No       | Integer         | 32      | Parallel threads for API requests (min 1, max 32).                         |
| Sleep Time (`sleep_time`)                   | No       | Integer         | 0       | Delay in seconds between thread batches. Increase it on rate limit errors. |
| Fetch AMCore Data (`fetch_amcore_data`)     | No       | Boolean         | False   | Also fetch antivirus content and product versions for each device.         |
| Fetch Software Data (`fetch_software_data`) | No       | Boolean         | False   | Also fetch installed software for each device.                             |

## Troubleshooting

| Error message | Cause | Fix                                    |
| ------------- | ----- | -------------------------------------- |
| Not verified  |       | No adapter-specific error text in code |

## Change history

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