> 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-neurons-patch-management.md).

# Ivanti Neurons Patch Management

Ivanti Neurons Patch Management tracks the patch status of endpoints. OctoXLabs reads the endpoints and, optionally, the CVEs that are linked to their missing patches.

## Use cases

* List the devices OctoXLabs collected from Ivanti Neurons Patch Management.

```
Adapters = ivanti-neurons-patch
```

* Find devices that this adapter reports but your EDR does not cover.

```
Adapters = ivanti-neurons-patch AND NOT Adapters = falcon-crowdstrike
```

* Check what one connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                                                   | Port | Protocol                                     |
| ------------------- | ------------------------------------------------------------- | ---- | -------------------------------------------- |
| OctoXLabs connector | Your Ivanti Neurons host, for example company.ivanticloud.com | 443  | HTTPS (or through a proxy when Proxy is set) |

### Required permissions

| Scope or role           | Permission                                 | Needed for                                 |
| ----------------------- | ------------------------------------------ | ------------------------------------------ |
| Custom App registration | Access to the Patch Management content API | Endpoint vulnerability, patch and CVE data |

The frontend instructions name no scopes. The exact permissions are Not verified. The API rate limit noted in the code is 150 requests per minute.

## Create credentials in Ivanti Neurons

{% stepper %}
{% step %}

### Open App Registrations

In Ivanti Neurons, go to **Admin** > **App Registrations**.
{% endstep %}

{% step %}

### Create a Custom App

Select **New registration**, choose **Custom App** and click **Continue**. Optionally enter a description.
{% endstep %}

{% step %}

### Register and copy the settings

Click **Register**. Copy the Client ID and the Client Secret from the panel.
{% endstep %}

{% step %}

### Get the tenant ID and the JWT

Find the tenant ID in the Ivanti Neurons admin console. Get a JWT bearer token from the Ivanti Neurons login application. The adapter uses it in the first authentication step.
{% endstep %}
{% endstepper %}

{% hint style="danger" %}
The Client Secret is not shown again after you close the panel. Copy it before you click **Finish and close**.
{% endhint %}

## Connection parameters

| Parameter             | Required | Type    | Default | Description                                                        |
| --------------------- | -------- | ------- | ------- | ------------------------------------------------------------------ |
| Domain                | Yes      | String  | None    | Host name of your Ivanti Neurons instance.                         |
| Ivanti Neurons JWT    | Yes      | String  | None    | JWT bearer token used to get a Patch Management access token.      |
| Client ID             | Yes      | String  | None    | Sent in the `X-ClientId` header.                                   |
| Client Secret         | Yes      | String  | None    | Sent in the `X-ClientSecret` header.                               |
| Tenant ID             | Yes      | String  | None    | Sent in the `X-TenantId` header.                                   |
| Fetch Vulnerabilities | No       | Boolean | False   | Collect CVE data per device. Adds requests per missing patch.      |
| Proxy                 | No       | String  | None    | Proxy in `host:port` form.                                         |
| Timeout               | No       | Integer | 30      | Seconds to wait for API responses.                                 |
| Thread Count          | No       | Integer | 32      | Parallel threads. Minimum 1, maximum 32.                           |
| Sleep Time            | No       | Integer | 0       | Seconds between thread batches. Raise it when you hit rate limits. |

## Troubleshooting

| Error message            | Cause                        | Fix                                                                                          |
| ------------------------ | ---------------------------- | -------------------------------------------------------------------------------------------- |
| Max retries exceeded for | Repeated 401 or 429 answers. | Check the credentials. Raise Sleep Time and lower Thread Count to stay under the rate limit. |

## Change history

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