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

# Falcon Crowdstrike Spotlight

Falcon Crowdstrike Spotlight is the vulnerability management module of Falcon. OctoXLabs reads hosts and attaches the open vulnerabilities of each host, and reads Falcon users.

## Use cases

* **List hosts with vulnerabilities from Spotlight.** Show every device reported by this adapter.

```
Adapters = falcon-crowdstrike-spotlight
```

* **Find Spotlight hosts that are missing from your CMDB.** Replace `servicenow` with the adapter of your CMDB.

```
Adapters = falcon-crowdstrike-spotlight AND NOT Adapters = servicenow
```

## 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                |
| --------------- | ---------- | ------------------------- |
| Hosts           | Read       | Device inventory          |
| Vulnerabilities | Read       | Spotlight vulnerabilities |
| 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 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.                                                                                                                      |
| Fetch unproven vulnerabilities | No       | Boolean            | false                         | Also fetches vulnerabilities with an unproven exploit status. This can push a device over the 8 MB device size limit and hide critical vulnerabilities. |
| 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
