> 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/b/beyondtrust-epm-ul.md).

# BeyondTrust EPM UL

BeyondTrust Endpoint Privilege Management for Unix and Linux (EPM-UL) is managed through a BeyondInsight for Unix and Linux (BIUL) appliance. OctoXLabs reads the managed hosts from BIUL as devices, with the BeyondTrust and sudo components installed on them.

## Use cases

* List Linux servers that BIUL manages.

```
Adapters = beyondtrust-epm-ul AND OS.Type = Linux
```

* Find managed hosts that carry tags in BIUL.

```
Adapters = beyondtrust-epm-ul AND DeviceTags = *
```

## Before you begin

### Network

| Source              | Destination                                       | Port                                          | Protocol                         |
| ------------------- | ------------------------------------------------- | --------------------------------------------- | -------------------------------- |
| OctoXLabs connector | BIUL appliance (IP address or hostname you enter) | 443 (configurable, some deployments use 4443) | HTTPS (HTTP if Is Secure is off) |

### Required permissions

| Scope or role | Permission                                            | Needed for |
| ------------- | ----------------------------------------------------- | ---------- |
| BIUL account  | Read access to the host inventory (Manage Hosts area) | Devices    |

## Create credentials in BeyondTrust EPM-UL

{% stepper %}
{% step %}

### Pick an account

Use a BIUL account that can read the host inventory in the **Manage Hosts** area. No write or policy permission is needed.
{% endstep %}

{% step %}

### Note the port

Check which port serves the BIUL console. The default is 443. Some deployments publish it on 4443.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default | Description                                   |
| --------- | -------- | ------- | ------- | --------------------------------------------- |
| IP        | Yes      | String  |         | IP address or hostname of the BIUL appliance. |
| Port      | No       | Integer | 443     | Port of the BIUL console.                     |
| Username  | Yes      | String  |         | BIUL account.                                 |
| Password  | Yes      | String  |         | Password of that account.                     |
| Is Secure | No       | Boolean | True    | Use HTTPS.                                    |
| Timeout   | No       | Integer | 30      | Seconds to wait for API responses.            |

## Troubleshooting

| Error message                | Cause                                                                                                                                  | Fix                                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Max retries exceeded for     | The token expired and re-login failed five times in a row.                                                                             | Check the account and the appliance, then run the discovery again.                                   |
| Status Code: `, URL, Method` | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

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