> 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/m/mimecast-incydr-formerly-code42-incydr.md).

# Mimecast Incydr (formerly Code42 Incydr)

Incydr is an insider risk management product. OctoXLabs reads the active, unblocked agents and users and adds them as devices and users.

## Use cases

* **Find devices that Incydr reports but your EDR does not cover.**

```
Adapters = code42-incydr AND NOT Adapters = falcon-crowdstrike
```

* **Review Incydr agents that have not connected recently.**

```
Adapters = code42-incydr AND NOT LastSeen last now-30d/d
```

* **Find Incydr users with no directory account.** How accounts are matched depends on your user merge settings.

```
Adapters = code42-incydr AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                    | Port | Protocol                           |
| ------------------- | ------------------------------ | ---- | ---------------------------------- |
| OctoXLabs connector | Incydr host (Domain parameter) | 443  | HTTPS (HTTP when Is Secure is off) |

If a proxy is set, requests go through it.

### Required permissions

| Scope or role             | Permission         | Needed for                        |
| ------------------------- | ------------------ | --------------------------------- |
| Customer Cloud Admin role | Create API clients | Creating the client ID and secret |

The baseline states that you need the Customer Cloud Admin role to create API clients. The permissions of the API client itself are not stated.

## Create credentials in Incydr

{% stepper %}
{% step %}

### Create an API client

With an account that has the Customer Cloud Admin role, create an API client.
{% endstep %}

{% step %}

### Save the values

The client ID, secret and base URL appear only once. Save them securely. If you lose the secret, you must reset it.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default | Description                                                 |
| ------------- | -------- | ------- | ------- | ----------------------------------------------------------- |
| Domain        | Yes      | String  | None    | Host of Incydr, without the scheme.                         |
| Client ID     | Yes      | String  | None    | API client ID.                                              |
| Client Secret | Yes      | String  | None    | API client secret.                                          |
| Is Secure     | No       | Boolean | True    | Use HTTPS.                                                  |
| Proxy         | No       | String  | None    | Proxy address, used as `http://<value>` for HTTP and HTTPS. |
| 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` | Incydr answered with an unexpected status. This is the shared REST connector error. | Check the client ID, secret and domain. |

## Change history
