> 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/f/falcon-crowdstrike-idp.md).

# Falcon Crowdstrike IDP

CrowdStrike Falcon Identity Protection (IDP) tracks identities and the devices tied to them. OctoXLabs reads identity protection devices and user entities, including risk data, and adds them to the inventory.

## Use cases

* **List identities known to Falcon IDP.** Show every user reported by this adapter.

```
Adapters = falcon-crowdstrike-idp
```

* **Find hosts seen by Falcon IDP but not by the Falcon sensor.**

```
Adapters = falcon-crowdstrike-idp AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                                                               | Port | Protocol |
| ------------------- | ------------------------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | CrowdStrike API (Domain parameter, default `https://api.crowdstrike.com`) | 443  | HTTPS    |

The domain depends on the region of your Falcon cloud. Use the domain shown where you created the client ID and secret. If a proxy is set, requests go through it. The connector does not verify the TLS certificate.

### Required permissions

| Scope or role                             | Permission | Needed for                |
| ----------------------------------------- | ---------- | ------------------------- |
| Identity Protection Entities              | Read       | Devices and user entities |
| Identity Protection GraphQL               | Write      | The user query (GraphQL)  |
| Identity Protection Assessment            | Read       | Listed in the baseline    |
| Identity Protection Detections            | Read       | Listed in the baseline    |
| Identity Protection Enforcement           | Read       | Listed in the baseline    |
| Identity Protection Health                | Read       | Listed in the baseline    |
| Identity Protection on-premise enablement | Read       | Listed in the baseline    |
| Identity Protection Timeline              | Read       | Listed in the baseline    |

To view, create or modify API clients you need the Falcon Administrator role.

The connector only calls the devices endpoints and the GraphQL endpoint. Which of the extra baseline scopes are strictly needed is Not verified.

## Create credentials in CrowdStrike Falcon

{% stepper %}
{% step %}

### Open API clients

In the Falcon console, go to **Support** > **API Clients and Keys**.
{% endstep %}

{% step %}

### Add an API client

Click **Add new API Client**. Enter a descriptive name and grant **Read** on the scopes listed under Required permissions.
{% endstep %}

{% step %}

### Save the secret

Click save. Copy the **Client ID** and **Client Secret**. The secret is shown only once, so store it safely.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type               | Default                       | Description                                                 |
| ------------- | -------- | ------------------ | ----------------------------- | ----------------------------------------------------------- |
| Domain        | No       | String             | <https://api.crowdstrike.com> | Base URL of the API for your region. Include the scheme.    |
| Client id     | Yes      | String             | None                          | API client ID.                                              |
| Client secret | Yes      | String (sensitive) | None                          | API client secret.                                          |
| Timeout       | No       | Integer            | 30                            | Seconds to wait for API responses.                          |
| Proxy         | No       | String             | None                          | Proxy address, used as `http://<value>` for HTTP and HTTPS. |

## Troubleshooting

| Error message                                                                                                             | Cause                       | Fix                        |
| ------------------------------------------------------------------------------------------------------------------------- | --------------------------- | -------------------------- |
| Max retries exceeded for {url}                                                                                            | The API kept answering 500. | Run discovery again later. |
| Crowdstrike servers has failed to respond in given time. Given time: {timeout}. You may try to increase timeout duration. | The request timed out.      | Increase Timeout.          |

## Change history
