> 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-connect-secure.md).

# Ivanti Connect Secure

Ivanti Connect Secure (Ivanti Connect Secure) is a VPN gateway. OctoXLabs reads the active user sessions and, optionally, the named users of the license.

## Use cases

* List the VPN users OctoXLabs collected.

```
Adapters = ivanti-pulse-secure-vpn
```

* Check what one connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                | Port               | Protocol                                 |
| ------------------- | -------------------------- | ------------------ | ---------------------------------------- |
| OctoXLabs connector | Ivanti Connect Secure host | 443 (configurable) | HTTPS, or HTTP when Is Secure is cleared |

### Required permissions

| Scope or role                   | Permission | Needed for                   |
| ------------------------------- | ---------- | ---------------------------- |
| Admin user with REST API access | Read       | Active users and named users |

REST API authentication succeeds only for users that have the REST API option enabled under the "Administrators" authentication server.

## Create credentials in Ivanti Connect Secure

{% stepper %}
{% step %}

### Sign in to the admin console

Log in to the management console with an administrator account.
{% endstep %}

{% step %}

### Create the user

Go to **Authentication** > **Auth. Servers**, create or edit a Local Auth Server, open **Users** and click **New Local User**. Set a user name and password.
{% endstep %}

{% step %}

### Enable REST API access

Make sure the new admin UI option for users under the "Administrators" auth server is enabled for this user.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter         | Required | Type    | Default | Description                                                                                                |
| ----------------- | -------- | ------- | ------- | ---------------------------------------------------------------------------------------------------------- |
| IP                | Yes      | String  | None    | Address of the Pulse Secure host.                                                                          |
| Port              | No       | Integer | 443     | API port.                                                                                                  |
| Username          | Yes      | String  | None    | Admin account.                                                                                             |
| Password          | Yes      | String  | None    | Password of the account.                                                                                   |
| Is Secure         | No       | Boolean | True    | Use HTTPS.                                                                                                 |
| Use Realm Auth    | No       | Boolean | False   | Use `POST /api/v1/realm_auth` instead of `GET /api/v1/auth`. Pulse Secure recommends realm authentication. |
| Realm             | No       | String  | None    | Admin realm name used when Use Realm Auth is on, for example `adminrealm`.                                 |
| Timeout           | No       | Integer | 30      | Seconds to wait for API responses.                                                                         |
| Fetch Named Users | No       | Boolean | False   | Also read the Named User License list. Has no effect on appliances with concurrent user licensing.         |

## Troubleshooting

| Error message | Cause                                                             | Fix                                                                                             |
| ------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| Not verified  | The connector code defines no custom error text for this adapter. | Check that the account has REST API access, and check the realm name when Use Realm Auth is on. |

## Change history

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