> 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/settings/data-source-settings/avm-configuration.md).

# AVM Configuration

Enter the AVM token, route AVM traffic through a proxy, switch AVM on or off and limit which vulnerabilities are enriched.

**AVM Configuration** holds the settings OctoXLabs needs to reach the AVM (Asset Vulnerability Management) service. After each discovery, the platform sends the software it found on your devices to that service and receives the matching CVEs. This page is where you enter the token that identifies your installation, set the proxy that outbound calls use, switch the lookup on or off, and restrict threat intelligence enrichment to a subset of CVEs.

For what AVM does with the data and how to read the results, see Application Vulnerability Management (AVM). To add threat intelligence providers, see Vulnerability Inventory Configuration.

### Before you begin

* Applies to: OctoXLabs 6.x. The page title in the console is **AVM Configuration**.
* Required permission to open the page: `configurations.view_avmconfiguration`.
* Required permission to save and test: `configurations.change_avmconfiguration`.
* An AVM token. OctoXLabs support or your account team supplies it.
* Outbound HTTPS from the main server to the AVM service. The main server makes these calls, not a connector. Ask OctoXLabs support for the service address to allow on your firewall.
* The Vulnerability module must be part of your license. See Product Licence.

### Open the page

Go to **Settings** > **Data Source Settings** > **AVM Configuration**.

### AVM Configuration settings

| Setting               | Type                                      | Default           | Description                                                                                                                                                                                 |
| --------------------- | ----------------------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **AVM Token**         | Text, up to 40 characters                 | Empty             | The token the platform sends to the AVM service with every request. Without a token, AVM lookups fail.                                                                                      |
| **Enabled**           | Switch                                    | On                | Turns the AVM lookup on or off. When off, discoveries do not fetch CVEs for installed software. Other vulnerability data, for example from vulnerability scanner adapters, is not affected. |
| **Http Proxy**        | Text, up to 220 characters                | Empty             | Proxy for plain HTTP calls to the AVM service.                                                                                                                                              |
| **Https Proxy**       | Text, up to 220 characters                | Empty             | Proxy for HTTPS calls to the AVM service.                                                                                                                                                   |
| **Use Auth**          | Checkbox                                  | Off               | Shows the proxy credential fields.                                                                                                                                                          |
| **Proxy Username**    | Text, up to 220 characters                | Empty             | Shown when **Use Auth** is on. The user name for the proxy.                                                                                                                                 |
| **Proxy Password**    | Password, up to 220 characters            | Empty             | Shown when **Use Auth** is on. After you save, it shows ten asterisks. Leave them to keep the stored password. Credentials are used only if both a user name and a password are set.        |
| **Enrichment Filter** | Saved query, Vulnerability Inventory only | Empty (no filter) | Optional. A saved vulnerability query. When set, threat intelligence enrichment runs only for the CVEs that match it.                                                                       |

### Configure AVM

{% stepper %}
{% step %}

#### Enter the token

Paste the **AVM Token**. Keep **Enabled** on.
{% endstep %}

{% step %}

#### Set the proxy, if you need one

If the main server reaches the internet through a proxy, fill in **Http Proxy** and **Https Proxy**. If the proxy requires a login, select **Use Auth** and enter **Proxy Username** and **Proxy Password**.
{% endstep %}

{% step %}

#### Choose an enrichment filter, if you want one

Under **Enrichment**, pick a saved vulnerability query in **Enrichment Filter**. Leave it empty to enrich every CVE. Only queries on the Vulnerability Inventory are accepted.
{% endstep %}

{% step %}

#### Test and save

Select **Connection Test**. The platform saves your values, then calls the AVM service and waits up to 15 seconds for an answer. Success shows **AVM configuration test successful**. Select **Save** to store the page without testing. The console shows **AVM configuration has been saved**.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Connection Test** saves the form before it tests. A failed test does not undo the saved values.
{% endhint %}

### How AVM uses these settings

* **When it runs.** The AVM lookup is a step of every discovery that collects software, and it runs only if the Vulnerability module is licensed and **Enabled** is on. See Discovery and Aggregation.
* **Enrichment filter.** Enrichment providers are configured on the next page. The filter limits which of the CVEs found in a discovery they are.
* **If the service is unreachable.** The platform logs a warning and skips the step. Your other discovery steps still finish.

### Troubleshooting

| Symptom or error message                                  | Cause                                                                                           | Fix                                                                                                         |
| --------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `Failed to connect AVM Server`                            | The AVM service did not answer with success.                                                    | Check the token, the firewall rules from the main server and the proxy. Then run **Connection Test** again. |
| `Enrichment filters can only have vulnerability queries.` | The selected query is not a Vulnerability Inventory query.                                      | Pick a query created in the Vulnerability Inventory.                                                        |
| `You must use avm configuration and avm token`            | The **AVM Token** is empty.                                                                     | Enter the token and save.                                                                                   |
| No vulnerabilities appear for installed software          | **Enabled** is off, the Vulnerability module is not licensed, or the token or network is wrong. | Check each of these in turn. Run **Connection Test**.                                                       |

### 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>Application Vulnerability Management (AVM)</strong></td><td>See how CVEs are matched to your software and how to read them.</td><td></td></tr><tr><td><strong>Vulnerability Inventory Configuration</strong></td><td>Add threat intelligence enrichment providers.</td><td></td></tr><tr><td><strong>Product Licence</strong></td><td>Check that the Vulnerability module is licensed.</td><td></td></tr></tbody></table>
