> 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/c/cofense-triage.md).

# Cofense Triage

Cofense Triage collects phishing reports from employees. OctoXLabs uses it to add Reporters, the employees who report suspicious emails, to the user inventory. Phishing reports, threat indicators and IOC data are not collected.

## Use cases

* List employees that report phishing emails.

```
Adapters = cofense-triage
```

* Find reporters seen in the last 30 days.

```
Adapters = cofense-triage AND LastLogOnTime last now-30d/d
```

## Before you begin

### Network

| Source              | Destination                                                  | Port | Protocol |
| ------------------- | ------------------------------------------------------------ | ---- | -------- |
| OctoXLabs connector | Cofense Triage instance, for example triage.your-company.com | 443  | HTTPS    |

### Required permissions

| Scope or role                                       | Permission | Needed for                           |
| --------------------------------------------------- | ---------- | ------------------------------------ |
| API user with read access to the Reporters endpoint | Read       | Reporters (/api/public/v2/reporters) |

## Create credentials in Cofense Triage

{% stepper %}
{% step %}

### Open API keys

An administrator opens the **API Keys** section in the Cofense Triage UI.
{% endstep %}

{% step %}

### Create an API user

Create an API client. Make sure it can read the Reporters endpoint. Without that, requests return HTTP 403.
{% endstep %}

{% step %}

### Copy the credentials

Copy the Client ID and Client Secret.

{% hint style="warning" %}
The client secret is typically shown only once. Save it first.
{% endhint %}
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type     | Default | Description                                                                          |
| ------------- | -------- | -------- | ------- | ------------------------------------------------------------------------------------ |
| Domain        | Yes      | Text     |         | Triage instance hostname, for example `triage.your-company.com`. Without `https://`. |
| Client ID     | Yes      | Text     |         | OAuth 2.0 client ID of the API user.                                                 |
| Client Secret | Yes      | Password |         | Client secret paired with the client ID.                                             |
| Proxy         | No       | Text     |         | Proxy in `host:port` format.                                                         |
| Timeout       | No       | Number   | 60      | Seconds to wait for API responses.                                                   |

## Troubleshooting

| Error message                                 | Cause                     | Fix                                        |
| --------------------------------------------- | ------------------------- | ------------------------------------------ |
| Cofense Triage request failed after 2 retries | The request failed twice. | Check the client credentials and the role. |

## Change history

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