> 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/q/qualys-vmdr-ot.md).

# Qualys VMDR OT

Qualys VMDR OT is the Qualys service for vulnerability management of operational technology (OT) environments. OctoXLabs reads its assets through the Qualys API Gateway.

{% hint style="warning" %}
No connector code or backend definition for this adapter was found in the repositories used for this page. Everything below comes from the frontend instructions and is not verified against code.
{% endhint %}

## Use cases

* **List OT assets known to Qualys.** Review the assets that VMDR OT reports.

```
Adapters = qualys-vmdr-ot
```

## Before you begin

### Network

| Source              | Destination                                                 | Port         | Protocol |
| ------------------- | ----------------------------------------------------------- | ------------ | -------- |
| OctoXLabs connector | Qualys API Gateway host of your platform (Domain parameter) | Not verified | HTTPS    |

VMDR OT is served by the Gateway host, not by the classic `qualysapi` API server. Find your platform identifier in your Qualys user name. Examples from the baseline:

| Platform | Gateway host                   |
| -------- | ------------------------------ |
| US1      | gateway.qg1.apps.qualys.com    |
| US2      | gateway.qg2.apps.qualys.com    |
| US3      | gateway.qg3.apps.qualys.com    |
| US4      | gateway.qg4.apps.qualys.com    |
| EU1      | gateway.qg1.apps.qualys.eu     |
| EU2      | gateway.qg2.apps.qualys.eu     |
| EU3      | gateway.qg3.apps.qualys.it     |
| IN1      | gateway.qg1.apps.qualys.in     |
| CA1      | gateway.qg1.apps.qualys.ca     |
| AE1      | gateway.qg1.apps.qualys.ae     |
| UK1      | gateway.qg1.apps.qualys.co.uk  |
| AU1      | gateway.qg1.apps.qualys.com.au |
| KSA1     | gateway.qg1.apps.qualysksa.com |
| GOV1     | gateway.gov1.qualys.us         |

The default is `gateway.qg1.apps.qualys.com`. See <https://www.qualys.com/platform-identification/> for your platform. With a Qualys Private Cloud Platform, the Gateway host is specific to your deployment, for example `qualysgateway.<customer_base_url>`.

### Required permissions

| Scope or role      | Permission | Needed for      |
| ------------------ | ---------- | --------------- |
| VMDR OT.API.ACCESS | Access     | VMDR OT API     |
| UI Access          | Access     | Seeing all data |

An account with the Reader role sees only the assets in its scope.

## Create credentials in Qualys VMDR OT

{% stepper %}
{% step %}

### Choose an account

Use a Qualys account with VMDR OT access. It needs the **VMDR OT.API.ACCESS** permission, and UI Access as well to see all data.
{% endstep %}

{% step %}

### Find the Gateway host

Use the platform identifier in your user name to pick the Gateway host from the table above.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required     | Type    | Default                     | Description                                                                                                |
| --------- | ------------ | ------- | --------------------------- | ---------------------------------------------------------------------------------------------------------- |
| Domain    | Not verified | String  | gateway.qg1.apps.qualys.com | Qualys API Gateway host of your platform.                                                                  |
| Username  | Not verified | String  | None                        | Qualys account user name.                                                                                  |
| Password  | Not verified | String  | None                        | Password of that account. The adapter exchanges the user name and password for a token on every discovery. |
| Proxy     | No           | String  | Empty                       | Proxy address used to reach the Qualys API.                                                                |
| Timeout   | No           | Integer | 30                          | Seconds to wait for an API response.                                                                       |

## Troubleshooting

| Error message | Cause        | Fix          |
| ------------- | ------------ | ------------ |
| Not verified  | Not verified | Not verified |

## Change history

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