> 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-discover.md).

# Falcon Crowdstrike Discover

Falcon Crowdstrike Discover gives IT hygiene and asset visibility across managed and unmanaged hosts, applications and accounts. OctoXLabs reads discovered hosts, their installed applications and accounts, and adds them to the inventory.

## Use cases

* **List hosts found by Discover.** Show every device reported by Falcon Discover, including unmanaged ones.

```
Adapters = falcon-crowdstrike-discover
```

* **Find hosts seen by Discover but not by the Falcon sensor.** Useful to spot unmanaged hosts.

```
Adapters = falcon-crowdstrike-discover 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. 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                                  |
| --------------- | ---------- | ------------------------------------------- |
| Assets          | Read       | Discovered hosts, accounts and applications |
| User Management | Read       | User accounts                               |

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

## 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 **Assets** and **User Management**.
{% endstep %}

{% step %}

### Save the secret

Click save. Copy the **Client ID** and **Client Secret**. The secret is shown only once.
{% 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.                                              |
| Fetch installed software | No       | Boolean            | true                          | Reads installed applications for each host. This makes extra requests per host. |
| 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
