> 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/s/sophos-central.md).

# Sophos Central

Sophos Central is a cloud-based security management platform for endpoints, servers, mobile devices, email and firewalls. OctoXLabs reads the managed endpoints of a tenant, or of every tenant when you use organization credentials, and adds them to the device inventory.

## Use cases

* **Find devices without Sophos coverage.** List devices that other sources report but Sophos Central does not. How devices are matched depends on your device merge settings.

```
Adapters = active-directory AND NOT Adapters = sophos-central
```

* **Find Sophos Central endpoints that are missing from other sources.**

```
Adapters = sophos-central AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                                                      | Port | Protocol |
| ------------------- | ---------------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | id.sophos.com                                                    | 443  | HTTPS    |
| OctoXLabs connector | api.central.sophos.com                                           | 443  | HTTPS    |
| OctoXLabs connector | Regional API host returned by Sophos (`apiHost` or `dataRegion`) | 443  | HTTPS    |

If an HTTPS proxy is set, requests go through it.

### Required permissions

| Scope or role  | Permission | Needed for            |
| -------------- | ---------- | --------------------- |
| API credential | Read Only  | Tenants and endpoints |

## Create credentials in Sophos Central

{% stepper %}
{% step %}

### Sign in

Log in to the Sophos Central management console as a tenant, partner or organization administrator.
{% endstep %}

{% step %}

### Add credentials

Go to **Settings & Policies > API Credentials** and click **Add Credentials**.
{% endstep %}

{% step %}

### Set the name and permission

Enter a **Credential Name** and select **Read Only**.
{% endstep %}

{% step %}

### Copy the values

Copy and save the **Client ID** and **Client Secret**.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default | Description                          |
| ------------- | -------- | ------- | ------- | ------------------------------------ |
| Client ID     | Yes      | String  | None    | Client ID of the API credential.     |
| Client Secret | Yes      | String  | None    | Client Secret of the API credential. |
| HTTPS Proxy   | No       | String  | None    | Proxy URL for HTTPS requests.        |
| Timeout       | No       | Integer | 30      | Seconds to wait for an API response. |

## Troubleshooting

| Error message                                                  | Cause                                                                                   | Fix                                           |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------- |
| Status Code: `, followed by URL, Method and the response body` | The API answered with a status other than 200. This is the shared REST connector error. | Check the Client ID, Client Secret and proxy. |

## Change history
