> 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/z/zerovault.md).

# ZeroVault

ZeroVault is a security platform that tracks assets and vulnerability findings. OctoXLabs reads the assets and, if you enable it, attaches the vulnerability findings to the assets they were found on. It also reads the ZeroVault user accounts.

## Use cases

* List all assets known to ZeroVault.

```
Adapters = zerovault
```

## Before you begin

### Network

| Source              | Destination                                                                                                     | Port             | Protocol |
| ------------------- | --------------------------------------------------------------------------------------------------------------- | ---------------- | -------- |
| OctoXLabs connector | Your ZeroVault host, for example `app.zerovault.io` (use `host:port` for a self-hosted install on another port) | 443              | HTTPS    |
| OctoXLabs connector | HTTP proxy (optional)                                                                                           | Set in **Proxy** | HTTP     |

### Required permissions

| Scope or role                   | Permission | Needed for                     |
| ------------------------------- | ---------- | ------------------------------ |
| API key created by a superadmin | Read       | Assets, vulnerabilities, users |

An API key inherits the permissions of the superadmin who created it. ZeroVault has no read-only key. The integration only reads data.

## Create credentials in ZeroVault

{% stepper %}
{% step %}

### Sign in as a superadmin

Only a superadmin can generate API keys.
{% endstep %}

{% step %}

### Open API Keys

Open **API Keys** and generate a key.
{% endstep %}

{% step %}

### Copy the key

The key is `zv_` followed by 48 hexadecimal characters. The full key is shown only once.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter             | Required | Type    | Default | Description                                                                               |
| --------------------- | -------- | ------- | ------- | ----------------------------------------------------------------------------------------- |
| Domain                | Yes      | Text    |         | Host of ZeroVault, without a scheme and without `/api`. Use `host:port` for another port. |
| Api Key               | Yes      | Text    |         | ZeroVault API key.                                                                        |
| Fetch Vulnerabilities | No       | Boolean | True    | Read vulnerability findings and attach them to assets.                                    |
| Page Size             | No       | Integer | 100     | Records per request. Min 1, max 100.                                                      |
| Proxy                 | No       | Text    |         | Proxy in `host:port` format.                                                              |
| Timeout               | No       | Integer | 30      | Seconds to wait for API responses.                                                        |

## Troubleshooting

| Error message                                   | Cause                                                    | Fix                                            |
| ----------------------------------------------- | -------------------------------------------------------- | ---------------------------------------------- |
| assets have no IPv4 address and were skipped.   | Assets are keyed by IPv4 address. This is a log warning. | Add an IPv4 address to the asset in ZeroVault. |
| ZeroVault users have no email and were skipped. | A user has no email. This is a log warning.              | Add an email to the user.                      |

## Change history

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