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

# Qualys

Qualys is a cloud based vulnerability management and asset inventory service. OctoXLabs reads the host assets from the Asset Management (AM) API and adds them to the device inventory, together with the software installed on each host.

## Use cases

* **List hosts known to Qualys.** Review the assets that Qualys tracks.

```
Adapters = qualys
```

* **Find hosts that Qualys sees but your EDR does not.** Replace the second adapter with your own tool. How devices are matched depends on your device merge settings.

```
Adapters = qualys AND NOT Adapters = crowdstrike
```

## Before you begin

### Network

| Source              | Destination                                       | Port | Protocol |
| ------------------- | ------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Qualys platform API host (Domain / Url parameter) | 443  | HTTPS    |

HTTPS is used when Is Secure? is on. Use the platform identifier in your Qualys user name to find the correct API host. See <https://www.qualys.com/platform-identification/>. TLS certificates are not verified. If a proxy is set, requests go through it.

### Required permissions

| Scope or role                           | Permission | Needed for            |
| --------------------------------------- | ---------- | --------------------- |
| Manager or Reader role, with full scope | Read       | Searching host assets |

## Create credentials in Qualys

{% stepper %}
{% step %}

### Choose an account

Use a Qualys account with the Manager or Reader role and full scope. An account with limited scope sees only the assets in that scope.
{% endstep %}

{% step %}

### Find your platform host

Use the platform identifier in your Qualys user name to find the API host. Use the platform identification page linked above.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter             | Required | Type    | Default | Description                                                 |
| --------------------- | -------- | ------- | ------- | ----------------------------------------------------------- |
| Domain (Url)          | Yes      | String  | None    | Base host of the Qualys platform API, without a scheme.     |
| Username              | Yes      | String  | None    | Qualys account user name.                                   |
| Password              | Yes      | String  | None    | Qualys account password.                                    |
| Is Secure?            | No       | Boolean | True    | Use HTTPS.                                                  |
| Proxy                 | No       | String  | None    | Proxy address, used as `http://<value>` for HTTP and HTTPS. |
| Timeout               | No       | Integer | 30      | Seconds to wait for an API response.                        |
| Enable IP Aggregation | No       | Boolean | False   | Aggregates devices by IP address in addition to host name.  |

## Troubleshooting

| Error message                                                  | Cause                                                                               | Fix                                            |
| -------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ---------------------------------------------- |
| Status Code: `, followed by URL, Method and the response body` | Qualys answered with an unexpected status. This is the shared REST connector error. | Check the credentials, role and platform host. |

## Change history

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