> 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/ivanti-service-manager.md).

# Ivanti Service Manager

Ivanti Service Manager (Ivanti Neurons for ITSM) holds the CMDB. OctoXLabs reads the device configuration items (CIs) as devices and the employee records as users through the OData REST API. Employees without a primary email are not collected.

## Use cases

* List the devices OctoXLabs collected from Ivanti Service Manager.

```
Adapters = ivanti-service-manager
```

* Check what one connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                                            | Port | Protocol       |
| ------------------- | ------------------------------------------------------ | ---- | -------------- |
| OctoXLabs connector | Your tenant host, for example yourcompany.saasiteu.com | 443  | HTTPS (always) |

### Required permissions

| Scope or role                 | Permission                                        | Needed for                                             |
| ----------------------------- | ------------------------------------------------- | ------------------------------------------------------ |
| Role of the API key (In Role) | Read on the Employee business object              | Users                                                  |
| Role of the API key           | Read on the CI business object                    | Devices                                                |
| Role of the API key           | Read on FRS\_CIComponent\_\_InstalledApplications | Installed software, only with Fetch installed software |

The key works with the rights of the selected user and role. Data segregation rules of the role also apply. If fewer records arrive than you see in Ivanti, check the role.

## Create credentials in Ivanti Service Manager

{% stepper %}
{% step %}

### Open API Keys

Open the **Configuration console** and select **Configure** > **Security Controls** > **API Keys**.
{% endstep %}

{% step %}

### Select a key group

Select a REST API key group, or create one.
{% endstep %}

{% step %}

### Add a key

Select **Add API Key**. Enter a description, keep **Activated** selected, and choose the user in **On Behalf Of** and the role in **In Role**.
{% endstep %}

{% step %}

### Copy the Reference ID

Save the key and copy its **Reference ID**. This value is the API key.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
A key works only for its own tenant. When REST API key hashing is on, the key can be copied only when it is created.
{% endhint %}

## Connection parameters

| Parameter                | Required | Type    | Default               | Description                                                                                                                                                           |
| ------------------------ | -------- | ------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Domain                   | Yes      | String  | None                  | Host name of the tenant or on-premises server. Enter the host only, without `https://` or a path.                                                                     |
| API key                  | Yes      | String  | None                  | REST API key, sent in the `Authorization` header as `rest_api_key=<key>`.                                                                                             |
| Base path                | No       | String  | api                   | Path before `/odata`. Cloud tenants use `api`. On-premises servers usually use `HEAT/api`.                                                                            |
| CI types                 | No       | List    | Empty (built-in list) | CI types collected as devices. The adapter reads the `cis` business object and keeps CIs whose `CIType` is in the list. If you enter types, only those are collected. |
| Fetch installed software | No       | Boolean | False                 | Read the `FRS_CIComponent__InstalledApplications` business object once and attach the records to their CIs. Can be heavy on large tenants.                            |
| Page size                | No       | Integer | 100                   | Records per request. Ivanti allows at most 100.                                                                                                                       |
| Proxy                    | No       | String  | None                  | Proxy in `host:port` form.                                                                                                                                            |
| Timeout                  | No       | Integer | 30                    | Seconds to wait for API responses.                                                                                                                                    |

Built-in CI types when CI types is empty: AccessPoint, Computer, ESX, FAX, Firewall, Hub, MobileDevice, PeripheralDevice, Phone, Printer, Router, SAN, Scanner, Server, Switch, UPS, UnknownDevice, VOIP, VideoConference, VirtualServer, VirtualWorkstation, Workstation, ivnt\_GeneralAsset, ivnt\_Infrastructure.

## Troubleshooting

| Error message | Cause                                                   | Fix                                                       |
| ------------- | ------------------------------------------------------- | --------------------------------------------------------- |
| Not verified  | No connector code was available to confirm error texts. | Check the domain, base path, API key and the role rights. |

## Change history

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