> 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/b/bitsight-security-ratings.md).

# BitSight Security Ratings

BitSight Security Ratings scores the security posture of organizations. OctoXLabs reads the users of your BitSight account.

## Use cases

* List BitSight users that have an admin role.

```
Adapters = bitsight-security-ratings AND AdminStatus = true
```

## Before you begin

### Network

| Source              | Destination          | Port | Protocol |
| ------------------- | -------------------- | ---- | -------- |
| OctoXLabs connector | api.bitsighttech.com | 443  | HTTPS    |

### Required permissions

The source does not list specific permissions. Use an account that can read the data listed under Fields fetched.

## Create credentials in BitSight Security Ratings

{% stepper %}
{% step %}

### Open User Preferences

In BitSight, open the **User Preferences** page.
{% endstep %}

{% step %}

### Generate the token

In the **User API Token** section, select **Generate New Token** and copy it.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type   | Default              | Description                                              |
| --------- | -------- | ------ | -------------------- | -------------------------------------------------------- |
| Domain    | Yes      | String | api.bitsighttech.com | API host.                                                |
| API Token | Yes      | String |                      | Sent as the Basic auth user name with an empty password. |
| Proxy     | No       | String |                      | Proxy as `host:port`.                                    |

## Troubleshooting

| Error message                | Cause                                                                                                                                  | Fix                                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Status Code: `, URL, Method` | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

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