> 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/ox-security.md).

# OX Security

OX Security is an application security platform. OctoXLabs reads the members of your OX organization through its GraphQL API and adds them as users, with their admin status.

## Use cases

* List OX Security members that OctoXLabs has collected.

```
Adapters = oxsecurity
```

## Before you begin

### Network

| Source              | Destination                                         | Port | Protocol |
| ------------------- | --------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | `api.cloud.ox.security` (or your on-prem OX domain) | 443  | HTTPS    |

### Required permissions

| Scope or role                                                  | Permission | Needed for                                                                    |
| -------------------------------------------------------------- | ---------- | ----------------------------------------------------------------------------- |
| API key role and scope that allow reading organization members | Read       | Users. A key scoped to some applications returns only the members it can see. |

## Create credentials in OX Security

{% stepper %}
{% step %}

### Open API key settings

In the OX Security console go to **Settings > API Key Settings**.
{% endstep %}

{% step %}

### Create the key

Select **CREATE API KEY**. Enter an **API Key Name**, set **API Key Type** to **API Integration** and set an **Expiration Date**.
{% endstep %}

{% step %}

### Copy the secret

Select **CREATE** and copy the **API Key Secret**. It is shown only once.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default               | Description                                                                |
| --------- | -------- | ------- | --------------------- | -------------------------------------------------------------------------- |
| Domain    | Yes      | String  | api.cloud.ox.security | OX API domain. Keep the default for SaaS. For on-prem, use your OX domain. |
| Api Key   | Yes      | String  |                       | API Key Secret of the API Integration key.                                 |
| Proxy URL | No       | String  |                       | Proxy address. The connector sends traffic through it as `http://<proxy>`. |
| Timeout   | No       | Integer | 30                    | Seconds to wait for API responses.                                         |

## Troubleshooting

| Error message            | Cause                                      | Fix                                                                                   |
| ------------------------ | ------------------------------------------ | ------------------------------------------------------------------------------------- |
| GraphQL query failed:    | The API answered 200 with an errors array. | Check the API key, its role and its scope.                                            |
| Max retries exceeded for | The API kept answering 429.                | The OX API allows 1,000 requests per hour and 15,000 per day per key. Wait and retry. |

## Change history

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