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

# BinaryEdge

BinaryEdge is an internet scanning and attack surface service. OctoXLabs runs a search against your BinaryEdge account and stores each returned target as a device, with CVEs when vulnerability fetching is on.

## Use cases

* Review the CVEs that BinaryEdge attaches to each target in the device details.
* List all targets that BinaryEdge returned.

```
Adapters = binaryedge AND IpAddresses = *
```

## Before you begin

### Network

| Source              | Destination       | Port | Protocol |
| ------------------- | ----------------- | ---- | -------- |
| OctoXLabs connector | api.binaryedge.io | 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 BinaryEdge

{% stepper %}
{% step %}

### Sign in

Log in to your BinaryEdge account at app.binaryedge.io.
{% endstep %}

{% step %}

### Generate a token

Generate a new API token and copy it.
{% endstep %}

{% step %}

### Check the plan

Fetching vulnerabilities is available for paid subscriptions only.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter             | Required | Type    | Default                     | Description                                             |
| --------------------- | -------- | ------- | --------------------------- | ------------------------------------------------------- |
| Domain                | Yes      | String  | <https://api.binaryedge.io> | Base URL of the API, including `https://`.              |
| API Token             | Yes      | String  |                             | Sent in the `X-Key` header.                             |
| Fetch Vulnerabilities | No       | Boolean | True                        | Fetch CVEs for each target IP. Paid subscriptions only. |
| Timeout               | No       | Integer | 30                          | Seconds to wait for API responses.                      |

## Troubleshooting

| Error message                | Cause                                                                                                                                  | Fix                                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| 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 5.6.11.
{% endhint %}
