> 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/o/orca-cloud-visibility-platform.md).

# Orca Cloud Visibility Platform

Orca Cloud Visibility Platform scans cloud accounts without agents. OctoXLabs queries the Orca serving layer for virtual machines and stores the full Orca record of each machine.

## Use cases

* List cloud virtual machines that Orca discovered.

```
Adapters = orca-cloud-visibility-platform
```

* Find cloud machines that no endpoint agent reports.

```
Adapters = orca-cloud-visibility-platform AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                                                        | Port | Protocol |
| ------------------- | ------------------------------------------------------------------ | ---- | -------- |
| OctoXLabs connector | Orca API host of your region, for example `api.eu.orcasecurity.io` | 443  | HTTPS    |

### Required permissions

| Scope or role                          | Permission                                               | Needed for                                   |
| -------------------------------------- | -------------------------------------------------------- | -------------------------------------------- |
| Role that can read the asset inventory | Read                                                     | Virtual machines                             |
| Access to cloud accounts               | Select every cloud account whose VMs should be collected | Only accounts given to the token are visible |

## Create credentials in Orca Cloud Visibility Platform

{% stepper %}
{% step %}

### Open API settings

In Orca go to **Settings > Users & Permissions > API** and add an API token.
{% endstep %}

{% step %}

### Set the expiry

Keep **Never Expire** checked, or set an expiry date and renew the token before it expires.
{% endstep %}

{% step %}

### Make it a service token

Check **Service Token** (named **Public** in some Orca versions) so the token keeps working if its creator leaves the organization.
{% endstep %}

{% step %}

### Choose role and accounts

Choose a role that can read the asset inventory, and select every cloud account whose virtual machines should be collected.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default             | Description                                                                                                                                                                |
| --------- | -------- | ------- | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Domain    | Yes      | String  | api.orcasecurity.io | Orca API host of your region, without `https://`. Take the console host and replace `app.` with `api.`, for example `api.eu.orcasecurity.io` for `app.eu.orcasecurity.io`. |
| Api Token | Yes      | String  |                     | Orca API token, sent as `Authorization: Token <token>`.                                                                                                                    |
| Page Size | No       | Integer | 100                 | Virtual machines per query. Orca records are large, so keep it modest.                                                                                                     |
| Proxy     | No       | String  |                     | Proxy address as `host:port`.                                                                                                                                              |
| Timeout   | No       | Integer | 30                  | Seconds to wait for API responses.                                                                                                                                         |

## Troubleshooting

| Error message                                 | Cause                                  | Fix                                                          |
| --------------------------------------------- | -------------------------------------- | ------------------------------------------------------------ |
| Orca returned an error:                       | The query response contained an error. | Check the token, its role and the cloud accounts it can see. |
| Max retries exceeded for :                    | Orca kept answering 429 (rate limit).  | Lower Page Size and run discovery again.                     |
| Orca rate limit reached, retrying in seconds. | Orca answered 429.                     | No action. The adapter retries up to 10 times.               |

## Change history

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