> 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/i/idira-endpoint-privilege-manager-formerly-cyberark-epm.md).

# Idira Endpoint Privilege Manager (formerly CyberArk EPM)

Idira Endpoint Privilege Manager (formerly CyberArk EPM) removes local admin rights and controls applications on endpoints. OctoXLabs reads the endpoints of every set the account can see and, optionally, their inventory.

## Use cases

* Find endpoints that EPM has not seen connected recently.

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

* Find servers that run the EPM agent.

```
Adapters = cyberark-epm AND Category = Server
```

## Before you begin

### Network

| Source              | Destination                                                                   | Port                                                                        | Protocol |
| ------------------- | ----------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -------- |
| OctoXLabs connector | EPM server (or the SaaS login URL, for example `https://eu.epm.cyberark.com`) | 443 for SaaS, otherwise the port you set (empty means the protocol default) | HTTPS    |

### Required permissions

| Scope or role | Permission                                 | Needed for                          |
| ------------- | ------------------------------------------ | ----------------------------------- |
| EPM account   | Read sets                                  | Devices                             |
| EPM account   | Read endpoints of each set                 | Devices                             |
| EPM account   | Read endpoint details on every set it sees | Inventory (only with Fetch Details) |

## Create credentials in Idira Endpoint Privilege Manager (formerly CyberArk EPM)

{% stepper %}
{% step %}

### Choose the account

Use an EPM account (or a Windows account with **Windows Authentication**) that can see the sets you want to collect.
{% endstep %}

{% step %}

### Check set permissions

The connector lists all sets, then the endpoints of each set. For Fetch Details the account needs permission to read endpoint details on every set it can see.
{% endstep %}

{% step %}

### Set the App ID

App ID identifies the source application of REST API calls. CyberArk recommends that you put the user name in it. If empty, the connector sends `Irrelevant`.
{% endstep %}

{% step %}

### SaaS only

Turn on **Use SaaS** and enter the EPM login URL in IP. Port is not needed.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter              | Required | Type    | Default                        | Description                                                                                                             |
| ---------------------- | -------- | ------- | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
| IP                     | Yes      | Text    | None                           | Address of the EPM host, or the EPM login URL for SaaS.                                                                 |
| Port                   | No       | Integer | None                           | Port. Empty uses the protocol default. Not needed for SaaS.                                                             |
| Username               | Yes      | Text    | None                           | Account user name.                                                                                                      |
| Password               | Yes      | Text    | None                           | Password of the account.                                                                                                |
| App ID                 | No       | Text    | `Irrelevant` (sent when empty) | Source application ID of the REST API calls.                                                                            |
| Windows Authentication | No       | Boolean | `false`                        | Log in with a Windows user (NTLM).                                                                                      |
| Use SaaS               | No       | Boolean | `false`                        | Required for the SaaS version. The connector uses the `ManagerURL` returned at logon.                                   |
| Is Secure?             | No       | Boolean | `true`                         | Use HTTPS.                                                                                                              |
| Fetch Details          | No       | Boolean | `false`                        | Fetch the inventory of every endpoint (software, network adapters, hardware, OS build). Adds one API call per endpoint. |
| Thread Count           | No       | Integer | `8`                            | Parallel workers for detail calls (1 to 32). Used only with Fetch Details.                                              |
| Sleep Time             | No       | Integer | `0`                            | Delay in seconds between batches of detail requests.                                                                    |
| Timeout                | No       | Integer | `60`                           | Seconds to wait for API responses.                                                                                      |

## Troubleshooting

| Error message                             | Cause                                                           | Fix                                                                    |
| ----------------------------------------- | --------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `Forbidden, check set permissions: <url>` | The account has no permission on a set, or on endpoint details. | Grant the account read access to every set, or turn Fetch Details off. |
| `Max retries exceeded for <url>`          | The API kept returning rate limit errors.                       | Increase Sleep Time, lower Thread Count and run discovery again.       |

## Change history
