> 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/p/proofpoint-targeted-attack-protection.md).

# Proofpoint Targeted Attack Protection

Proofpoint Targeted Attack Protection (TAP) detects and blocks advanced email threats. OctoXLabs reads the People API lists, Very Attacked People and Top Clickers, and adds those identities to the user inventory with their attack and click statistics.

{% hint style="warning" %}
This is not your full user directory. Only identities that Proofpoint ranks in these lists become user assets, each keyed by the first email address of its identity. Changing the window, or someone dropping off a list, changes the users a discovery produces.
{% endhint %}

## Use cases

* **List users that Proofpoint reports as targeted or clicking.** Review the identities collected from the People API.

```
Adapters = proofpoint-tap
```

* **Find TAP users with no directory account.** How accounts are matched depends on your user merge settings.

```
Adapters = proofpoint-tap AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination               | Port | Protocol |
| ------------------- | ------------------------- | ---- | -------- |
| OctoXLabs connector | tap-api-v2.proofpoint.com | 443  | HTTPS    |

The host is fixed in the connector. If a proxy is set, requests go through it.

### Required permissions

| Scope or role                                                 | Permission | Needed for                        |
| ------------------------------------------------------------- | ---------- | --------------------------------- |
| Service principal and secret created on the TAP Settings page | Read       | People API (VAP and top clickers) |

### Rate limit

Queries to the People API are limited by a rolling 24-hour throttle of 50 requests. After that the API returns 429 until 24 hours have passed since the oldest request. The adapter does not wait. It stops paging and keeps the users already collected, so a throttled run can report fewer users. Fetch Secondary Asset adds the requests of the second list. A high Per Page value and an infrequent schedule keep the run inside the quota.

## Create credentials in Proofpoint TAP

{% stepper %}
{% step %}

### Open Settings

Open the Settings page of the TAP dashboard.
{% endstep %}

{% step %}

### Create a service principal

Create a service principal. Copy the principal and its secret. The secret is the password of the HTTP Basic pair.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter             | Required | Type    | Default | Description                                                                                                              |
| --------------------- | -------- | ------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| Principal             | Yes      | String  | None    | Service principal, the user name of the Basic pair.                                                                      |
| Secret                | Yes      | String  | None    | Secret created with the principal.                                                                                       |
| Window                | No       | Integer | 30      | Days of data to retrieve. Accepted values: 14, 30, 90.                                                                   |
| Primary Asset Type    | No       | String  | vap     | `vap` reads Very Attacked People. `top_clickers` reads Top Clickers.                                                     |
| Fetch Secondary Asset | No       | Boolean | True    | Also reads the other list and merges its statistics into matching users. Users only in the secondary list are added too. |
| Per Page              | No       | Integer | 1000    | Users requested per page. Paging stops at a short page.                                                                  |
| Proxy                 | No       | String  | None    | Proxy address, used as `http://<value>` for HTTP and HTTPS.                                                              |
| Timeout               | No       | Integer | 30      | Seconds to wait for an API response.                                                                                     |

## Troubleshooting

| Error message                                                  | Cause                                                                                         | Fix                                                                           |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| rate-limit hit, interrupt the adapter.                         | The 24-hour limit of 50 requests was reached.                                                 | Reduce schedule frequency, raise Per Page, or turn off Fetch Secondary Asset. |
| Status Code: `, followed by URL, Method and the response body` | TAP answered with a status other than 200 (not 429). This is the shared REST connector error. | Check the principal and secret.                                               |

## Change history

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