> 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/a/attivo-decoy.md).

# Attivo Decoy

Attivo Networks (BOTsink) places decoys in the network. OctoXLabs reads the monitoring rules that describe the decoys and adds them as devices.

## Use cases

* Find devices that Attivo Decoy reports but your EDR does not cover.

```
Adapters = attivo-decoy AND NOT Adapters = falcon-crowdstrike
```

* Review devices that Attivo Decoy has not seen recently.

```
Adapters = attivo-decoy AND NOT LastSeen last now-30d/d
```

* Check what one Attivo Decoy connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination            | Port                | Protocol                                 |
| ------------------- | ---------------------- | ------------------- | ---------------------------------------- |
| OctoXLabs connector | Attivo Decoy host (IP) | 8443 (configurable) | HTTPS, or HTTP when Is Secure is cleared |

### Required permissions

| Scope or role        | Permission | Needed for             |
| -------------------- | ---------- | ---------------------- |
| REST API access type | Read       | Decoy monitoring rules |

The user must have **REST API** access. You can create a user with only API access.

## Create credentials in Attivo Decoy

{% stepper %}
{% step %}

### Open user accounts

In the Attivo management console, click **Administration** and go to **User Accounts | Configuration**. The **Configure users** page opens.
{% endstep %}

{% step %}

### Add a user

Click **Add**. The **User add** page opens.
{% endstep %}

{% step %}

### Choose REST API access

Set **Access type** to **REST API**, fill in the other fields and click **Save**.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter  | Required | Type    | Default | Description                                |
| ---------- | -------- | ------- | ------- | ------------------------------------------ |
| IP Address | Yes      | String  | None    | IP address of the Attivo Decoy host.       |
| Port       | No       | Integer | 8443    | API port.                                  |
| Username   | Yes      | String  | None    | Username of the REST API user.             |
| Password   | Yes      | String  | None    | Password of that user.                     |
| Is Secure  | No       | Boolean | True    | Use HTTPS. Clear it to use HTTP.           |
| Timeout    | No       | Integer | 30      | Time in seconds to wait for API responses. |

## Troubleshooting

| Error message                                                          | Cause                                                                  | Fix                                                                                                                                           |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Status Code: `, followed by the URL, the method and the response body` | The API answered with a status other than the one the adapter expects. | Read the code and body. 401 or 403 usually points to wrong credentials or missing permissions. Check the address, port and Is Secure setting. |

## Change history

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