> 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/bluecat-edge.md).

# BlueCat Edge

BlueCat Edge is a cloud DNS security service. OctoXLabs reads the Service Points as devices and the Edge users as users.

## Use cases

* List Service Points with their agent version (Devices).

```
Adapters = bluecat-edge AND AgentVersions = *
```

* List Edge users (Users).

```
Adapters = bluecat-edge AND Email = *
```

## Before you begin

### Network

| Source              | Destination                                                           | Port | Protocol |
| ------------------- | --------------------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Your tenant API host (Domain), for example api-customer.edge.bluec.at | 443  | HTTPS    |
| OctoXLabs connector | us.fleet.bluec.at or eu.fleet.bluec.at (Fleet API)                    | 443  | HTTPS    |

### Required permissions

| Scope or role                      | Permission | Needed for               |
| ---------------------------------- | ---------- | ------------------------ |
| Role such as Admin or System Admin | Read       | Service Points and users |

## Create credentials in BlueCat Edge

{% stepper %}
{% step %}

### Open your profile

Log in to the BlueCat Edge user interface and open your **Profile** page.
{% endstep %}

{% step %}

### Create a key set

Create a new **API access key set**. The client ID and the client secret are shown for it.
{% endstep %}

{% step %}

### Check the role

The account that owns the key set needs a role that can read Service Points and users, such as **Admin** or **System Admin**.
{% endstep %}

{% step %}

### Mind SSO changes

A key set is bound to the SSO state in which it was created. If SSO is activated or deactivated on the tenant, create a new key set.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default | Description                                                        |
| ------------- | -------- | ------- | ------- | ------------------------------------------------------------------ |
| Domain        | Yes      | String  |         | API host of your tenant, for example `api-customer.edge.bluec.at`. |
| Fleet Region  | No       | Choice  | us      | `us` or `eu`. Selects `us.fleet.bluec.at` or `eu.fleet.bluec.at`.  |
| Client ID     | Yes      | String  |         | Client ID of the key set.                                          |
| Client Secret | Yes      | String  |         | Client secret of the key set.                                      |
| Proxy         | No       | String  |         | Proxy as `host:port`.                                              |
| Timeout       | No       | Integer | 30      | Seconds to wait for API responses.                                 |

## Troubleshooting

| Error message                                                  | Cause                                                                                                                                  | Fix                                                                                                  |
| -------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Users are not available because SSO is enabled on this tenant. | The users endpoint answers 403 on tenants with SSO. Only devices are collected.                                                        | No fix. This is by design.                                                                           |
| Max retries exceeded for                                       | The token kept expiring or the API kept answering 401.                                                                                 | Check the key set and create a new one if SSO changed.                                               |
| 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.7.2.
{% endhint %}
