> 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/v/vicarius-vrx.md).

# Vicarius vRx

Vicarius vRx is a vulnerability remediation platform. OctoXLabs reads the endpoints of your organization, with each endpoint's installed software and vulnerabilities. This adds hardware details and CVE data to the device inventory.

## Use cases

* List all devices that vRx manages.

```
Adapters = vicarius
```

* Find devices that are in your inventory but have no vRx agent. Replace `active-directory` with any other source that lists your devices.

```
Adapters = active-directory AND NOT Adapters = vicarius
```

## Before you begin

### Network

| Source              | Destination                                                     | Port             | Protocol |
| ------------------- | --------------------------------------------------------------- | ---------------- | -------- |
| OctoXLabs connector | Your vRx dashboard host, for example `mycompany.vicarius.cloud` | 443              | HTTPS    |
| OctoXLabs connector | HTTP proxy (optional)                                           | Set in **Proxy** | HTTP     |

### Required permissions

| Scope or role                 | Permission         | Needed for                                     |
| ----------------------------- | ------------------ | ---------------------------------------------- |
| Owner (to create the API key) | Create integration | Generating the API key                         |
| API key                       | Read               | Endpoints, installed software, vulnerabilities |

vRx allows 60 queries per 60 seconds per organization. The adapter waits for the time in the `X-Rate-Limit-Retry-After-Seconds` header after a 429 response.

## Create credentials in Vicarius vRx

{% stepper %}
{% step %}

### Open Settings

Sign in to vRx as an Owner. Go to **Settings** and open the **api** tab.
{% endstep %}

{% step %}

### Create an integration

Select **Create Integration** to generate a new key.
{% endstep %}

{% step %}

### Copy the key

Copy the API key and store it in a safe place.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default | Description                                                                       |
| --------- | -------- | ------- | ------- | --------------------------------------------------------------------------------- |
| Domain    | Yes      | Text    |         | vRx dashboard host. Requests go to `https://<domain>/vicarius-external-data-api`. |
| API Key   | Yes      | Text    |         | Sent in the `vicarius-token` header.                                              |
| Proxy     | No       | Text    |         | Proxy in `host:port` format.                                                      |
| Timeout   | No       | Integer | 30      | Seconds to wait for API responses.                                                |

## Troubleshooting

| Error message                                                         | Cause                                    | Fix                                                   |
| --------------------------------------------------------------------- | ---------------------------------------- | ----------------------------------------------------- |
| Max retries exceeded for                                              | The API kept returning 429 (rate limit). | Wait and run the discovery again.                     |
| Result window (10000) reached for , remaining rows are not collected. | More than 10000 rows for one query.      | Not verified. This is a warning in the connector log. |

## Change history

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