> 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/documentation/use-octoxlabs/application-vulnerability-management-avm.md).

# Application Vulnerability Management (AVM)

See how OctoXLabs matches the software on your devices to known CVEs, and how to read, search and triage the results.

Application Vulnerability Management (AVM) matches the software installed on your devices against a database of known vulnerabilities (CVEs). You do not scan anything: OctoXLabs already knows which software and versions run on each device from your adapters, so it asks the AVM service which CVEs apply to those names and versions and stores the answer. You work with the results in the Vulnerability Inventory, on device pages and on software pages.

Use AVM when you want to know which vulnerabilities exist across your estate, how severe they are and which devices are affected, without running a separate scanner. To turn AVM on and give it a token and proxy settings, see AVM Configuration.

### Before you begin

AVM only runs when all of these are true:

* Your OctoXLabs licence includes the vulnerabilities module.
* AVM is **Enabled** in AVM Configuration, which is the default, and an AVM token is entered there.
* The OctoXLabs server can reach the AVM service over HTTPS (port 443). If a proxy sits in between, set it in AVM Configuration.

### How it works

AVM runs as part of every discovery, after the adapters have collected data and the software inventory has been built.

1. OctoXLabs takes each distinct software entry (name, publisher and version) from the Software Inventory.
2. It sends these entries to the AVM service in batches, using your AVM token and, if you set them, your HTTP and HTTPS proxy. If there is no token, or the service cannot be reached, the step is skipped and a warning is written to the system log under the source **AVM** (see System Activities).
3. The service returns the CVEs for each entry, with their CVSS metrics.
4. OctoXLabs removes any CVE you marked as a false positive for that software.
5. The remaining CVEs are stored in three places:
   * on each **software** entry (its vulnerabilities, count and scores),
   * in the **Vulnerability Inventory**, one record per CVE, with the number of software entries it affects (`ApplicationCount`),
   * on each **device** that has the software installed, in the `OctoVulnerabilities` fields.

{% hint style="info" %}
The request to the AVM service carries the name, publisher and version of each software entry. Results are only as fresh as your last discovery: run a discovery to refresh them.
{% endhint %}

#### Scores and severity

Each CVE can carry CVSS v4, v3 and v2 scores. OctoXLabs derives two scores from them:

| Field                            | Meaning                                                                                                              |
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `PrimaryScore`                   | The highest CVSS v4 score if there is one, otherwise the highest CVSS v3 score, otherwise the highest CVSS v2 score. |
| `MaxScore`                       | The highest score across v4, v3 and v2.                                                                              |
| `PrimarySeverity`, `MaxSeverity` | The severity band of the matching score.                                                                             |

The severity bands are:

| Severity | Score range |
| -------- | ----------- |
| Low      | 0.1 to 3.9  |
| Medium   | 4.0 to 6.9  |
| High     | 7.0 to 8.9  |
| Critical | 9.0 to 10.0 |

A device or software entry gets the same pair of scores, calculated from the worst of its CVEs.

### Find vulnerabilities across your estate

In the left menu, click **Inventories** > **Vulnerabilities** to open the Vulnerability Inventory (needs the permission `users.view_avm_vulnerabilities`). The list shows one row per CVE. The default columns are **Adapters**, **Id** (the CVE ID), **Description**, the maximum CVSS v4, v3 and v2 scores, **PrimaryScore**, **MaxScore**, **PrimarySeverity**, **MaxSeverity** and **ApplicationCount**.

You can:

* Filter with the Query Wizard or by typing a query. For example `PrimarySeverity = Critical` lists the critical CVEs. See the OctoXLabs Query Reference.
* Click a cell value, such as an adapter, to add it to the query.
* Change the columns with **Edit Columns** and restore them with **Reset Columns**.
* Open a CVE by clicking its ID. The detail page lets you switch the discovery, and shows the description, the **Software Count** and **Device Count**, the primary and maximum scores, the CVSS scores, and the buttons **Search in Devices** and **Search in Software**, which take you to those inventories filtered by this CVE.

For the full list of columns, saved queries and tags on this inventory, see Vulnerability Inventory.

### Find the vulnerabilities of one device

Open a device from the Device Inventory and go to its OctoXLabs data. The **AVM** tab lists the CVEs matched to that device through its installed software. You need the permission `users.view_avm_vulnerabilities` to see it. The same CVEs are available as fields you can query and add as columns:

| Field                        | Content                                |
| ---------------------------- | -------------------------------------- |
| `OctoVulnerabilities`        | The CVE records matched to the device. |
| `OctoVulnerabilitiesCveList` | The list of CVE IDs.                   |
| `OctoVulnerabilitiesCount`   | The number of CVEs.                    |

For example, to list devices that have at least one matched CVE, use `OctoVulnerabilitiesCount > 0` in the Device Inventory (see Asset Inventory).

### Find the vulnerabilities of one software entry

Open a software entry from the Software Inventory and select the **Vulnerabilities** view. It lists the CVEs for that software and version, with the same query, column and score options as the Vulnerability Inventory. If nothing matches, the page shows "There are no available CVEs related to the selected software." The software page also shows a **Top 5 Vulnerabilities** summary.

### Mark a CVE as a false positive

If a CVE does not apply to your software (for example because you have patched it in a way the version number does not show), you can hide it for that software.

1. Open the software entry and select the **Vulnerabilities** view.
2. Find the CVE and click the false-positive button in its row, then confirm. OctoXLabs shows "CVE Marked as false-positive."

OctoXLabs saves the pair of software name and CVE ID. The CVE is removed from that software straight away, and it is left out of future discoveries for that software. The device and Vulnerability Inventory results are updated at the next discovery.

{% hint style="warning" %}
A false positive applies to the whole platform, not only to you. Mark a CVE only when you are sure it does not apply to that software.
{% endhint %}

### Build on the results

* **Dashboards and charts:** use the Vulnerability Inventory as the source for charts and vulnerability widgets, for example vulnerabilities by severity or by operating system. See Chart and widget reference.
* **Reports:** generate a vulnerability report per device. See Vulnerability by Device.
* **Action Center:** run a saved query for critical CVEs from a condition node and notify your team. See About Action Center.
* **Dependency Map:** follow a CVE to the software and devices it affects. See Dependency Map.
* **API:** search vulnerabilities with the REST API or `octo.search_avm()` in the Python SDK. See Developer Resources.

### Enrichment

The Vulnerability Inventory can be enriched with data from additional sources. You turn the sources on and enter their settings under **Settings** > **Vulnerability Inventory Configuration**, and you can limit which CVEs are enriched with a query in the **Enrichment Filter** field of AVM Configuration. See Vulnerability Inventory Configuration.

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>AVM Configuration</strong></td><td>Enter the AVM token and set proxy details.</td><td></td></tr><tr><td><strong>Vulnerability Inventory</strong></td><td>Browse and query every CVE found in your estate.</td><td></td></tr><tr><td><strong>Software Inventory</strong></td><td>See the software that AVM matches against CVEs.</td><td></td></tr><tr><td><strong>Dependency Map</strong></td><td>Trace a vulnerability to the software and devices it affects.</td><td></td></tr></tbody></table>
