> 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/b/breachsense.md).

# Breachsense

Breachsense monitors leaked data and stealer logs. OctoXLabs reads the assets that you monitor in your account, then the infected machines found in stealer logs for each asset, and stores them as devices.

## Use cases

* List infected machines with an IP address.

```
Adapters = breachsense AND IpAddresses = *
```

* List infected Windows machines.

```
Adapters = breachsense AND OS.Type = Windows
```

## Before you begin

### Network

| Source              | Destination         | Port | Protocol |
| ------------------- | ------------------- | ---- | -------- |
| OctoXLabs connector | api.breachsense.com | 443  | HTTPS    |

### Required permissions

The source does not list specific permissions. Use an account that can read the data listed under Fields fetched.

## Create credentials in Breachsense

{% stepper %}
{% step %}

### Get the license key

Use the Breachsense license key of your account.
{% endstep %}

{% step %}

### Monitor an asset

At least one asset must be monitored in the account. The adapter starts from that list.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter   | Required | Type    | Default | Description                                                                               |
| ----------- | -------- | ------- | ------- | ----------------------------------------------------------------------------------------- |
| License Key | Yes      | String  |         | Sent in the `lic` header of every request. The API allows one request per second per key. |
| Proxy       | No       | String  |         | Proxy as `host:port`.                                                                     |
| Timeout     | No       | Integer | 30      | Seconds to wait for API responses.                                                        |

## Troubleshooting

| Error message                                        | Cause                                                                                                                                  | Fix                                                                                                  |
| ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| No monitored asset found in the Breachsense account. | The account has no monitored asset.                                                                                                    | Add at least one monitored asset in Breachsense.                                                     |
| Skipped search '' on , API rejected it (400).        | The API refused the search for one asset. The adapter skips it.                                                                        | Check that asset in Breachsense.                                                                     |
| Status Code: `, URL, Method`                         | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

{% hint style="info" %}
Available starting from version 6.9.1.
{% endhint %}
