> 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/v/vmware-carbon-black-cloud-platform.md).

# VMware Carbon Black Cloud Platform

VMware Carbon Black Cloud Platform is a cloud-native endpoint protection platform with next-generation antivirus and behavioral EDR. OctoXLabs reads the endpoints and console users of your organization and adds them to the inventory.

## Use cases

* **Find devices that have no Carbon Black Cloud sensor.** Replace the adapter slug with a source you trust for a full device list.

```
Adapters = active-directory AND NOT Adapters = carbon-black-cloud
```

* **List virtual hosts protected by Carbon Black Cloud.**

```
Adapters = carbon-black-cloud AND IsVirtualHost = true
```

## Before you begin

### Network

| Source              | Destination                                        | Port | Protocol |
| ------------------- | -------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Carbon Black Cloud console host (Domain parameter) | 443  | HTTPS    |

The connector always uses HTTPS. If an HTTPS proxy is set, requests go through it.

### Required permissions

| Scope or role                                                | Permission   | Needed for |
| ------------------------------------------------------------ | ------------ | ---------- |
| API key access level (custom access level if you use Custom) | Read devices | Devices    |
| API key access level (custom access level if you use Custom) | Read users   | Users      |

The baseline says to select the appropriate access level and, for Custom, the access level created earlier. It does not name the exact permissions. Not verified. The access level types `API`, `LIVE_RESPONSE` and `SIEM` are deprecated according to the baseline.

## Create credentials in VMware Carbon Black Cloud Platform

{% stepper %}
{% step %}

### Open API Access

In the console go to **Settings > API Access** and open the **API Keys** tab.
{% endstep %}

{% step %}

### Add the key

Select **Add API Key**. Give it a unique name and choose the access level. If you choose **Custom**, pick the access level you created for this purpose.
{% endstep %}

{% step %}

### Save and copy credentials

Click **Save**. Store the **API Secret Key** securely, because it cannot be retrieved later. Also copy the **API ID**.
{% endstep %}

{% step %}

### Find the organization key

Open **Settings > General** and copy the org key. If Carbon Black Cloud manages your identities, it is also on **Settings > API Access**. Do not include `<>` or `{}` brackets.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
For an existing key, open the **Actions** menu and choose **API Credentials** to see the API ID. The secret is not shown, but you can reset it.
{% endhint %}

## Connection parameters

| Parameter        | Required | Type    | Default | Description                                                     |
| ---------------- | -------- | ------- | ------- | --------------------------------------------------------------- |
| Domain           | Yes      | String  | None    | Host name of your Carbon Black Cloud console, without a scheme. |
| Api Secret       | Yes      | String  | None    | API secret key.                                                 |
| Api ID           | Yes      | String  | None    | API ID.                                                         |
| Organization Key | Yes      | String  | None    | The org key used in the API path.                               |
| Https proxy      | No       | String  | None    | Proxy URL used for HTTPS requests. Advanced.                    |
| Timeout          | No       | Integer | 30      | Seconds to wait for an API response. Advanced.                  |

## Troubleshooting

| Error message                                                  | Cause                                                                                | Fix                                                         |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ----------------------------------------------------------- |
| Status Code: `, followed by URL, Method and the response body` | The API answered with an unexpected status. This is the shared REST connector error. | Check the API ID, secret, org key, access level and domain. |

## Change history

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