> 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/n/nexpose.md).

# Nexpose

Nexpose is an on-premises vulnerability scanner. OctoXLabs uses it to add scanned hosts, their installed software, services and vulnerability findings to the inventory, and to collect Nexpose user accounts.

## Use cases

* Find devices that Nexpose scanned but no EDR agent covers.

```
Adapters = nexpose AND NOT Adapters = falcon-crowdstrike
```

* List servers reported by Nexpose that carry a high CVSS v3 finding.

```
Adapters = nexpose AND Category = Server AND Vulnerabilities.Cvss3Base >= 9
```

* Review Nexpose console accounts alongside other identity sources.

```
Adapters = nexpose AND Email ~ @
```

## Before you begin

### Network

| Source              | Destination                                 | Port                         | Protocol                     |
| ------------------- | ------------------------------------------- | ---------------------------- | ---------------------------- |
| OctoXLabs connector | Nexpose console (IP or host name you enter) | 3780 (default, configurable) | HTTPS (HTTP when SSL is off) |

### Required permissions

| Scope or role | Permission | Needed for                          |
| ------------- | ---------- | ----------------------------------- |
| Not verified  | Read       | Assets, vulnerabilities             |
| Not verified  | Read       | Users (only when Fetch Users is on) |

The instructions and the code do not state a minimum Nexpose role.

## Create credentials in Nexpose

The source instructions do not describe how to create the account. Use a Nexpose account that can call the Nexpose API v3 on the console. Not verified: the minimum role.

## Connection parameters

| Parameter    | Required | Type    | Default | Description                                                                                                                       |
| ------------ | -------- | ------- | ------- | --------------------------------------------------------------------------------------------------------------------------------- |
| IP           | Yes      | String  | None    | IP address of the Nexpose host.                                                                                                   |
| Username     | Yes      | String  | None    | Account used to connect.                                                                                                          |
| Password     | Yes      | String  | None    | Password of that account.                                                                                                         |
| Port         | No       | Integer | 3780    | Port of the Nexpose console.                                                                                                      |
| SSL          | No       | Boolean | True    | Use HTTPS for the connection.                                                                                                     |
| Fetch Count  | No       | Integer | 0       | Number of vulnerabilities to fetch per asset. 0 fetches all. A positive value fetches that many, sorted by risk score descending. |
| Timeout      | No       | Integer | 30      | Seconds to wait for API responses.                                                                                                |
| Thread Count | No       | Integer | 32      | Parallel threads for per-asset vulnerability requests. Min 1, max 32.                                                             |
| Sleep Time   | No       | Integer | 0       | Seconds of delay between thread batches. Raise it if you hit rate limits.                                                         |
| Fetch Users  | No       | Boolean | True    | Collect Nexpose user accounts into the user inventory.                                                                            |

## Troubleshooting

| Error message | Cause                                                                                                                                      | Fix                                                                                                                          |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
| Status Code:  | The API answered with a status other than the one the connector expects. The message also lists the URL, the method and the response body. | Read the status code and the response body in the message, then check the credentials, the permissions and the network path. |

## Change history

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