> 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/f/forestall-fsprotect.md).

# Forestall FSProtect

Forestall FSProtect is an identity security assessment platform that scans Active Directory and Azure AD. OctoXLabs reads the identities from the latest finished scan and adds them to the user inventory.

## Use cases

* List all identities assessed by FSProtect.

```
Adapters = forestall
```

* Find identities FSProtect reports that are not in Active Directory.

```
Adapters = forestall AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                | Port                         | Protocol                           |
| ------------------- | -------------------------- | ---------------------------- | ---------------------------------- |
| OctoXLabs connector | Forestall FSProtect server | 8080 (default, configurable) | HTTPS (HTTP when Is secure is off) |

### Required permissions

| Scope or role     | Permission       | Needed for                  |
| ----------------- | ---------------- | --------------------------- |
| FSProtect account | ReadScan         | Listing scans               |
| FSProtect account | ReadADIdentities | Active Directory identities |
| FSProtect account | ReadAZIdentities | Azure AD identities         |

## Create credentials in Forestall FSProtect

{% stepper %}
{% step %}

### Prepare an account

Use the account (email) that signs in to the FSProtect web interface. Grant it ReadScan, ReadADIdentities and ReadAZIdentities.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type             | Default | Description                                      |
| --------- | -------- | ---------------- | ------- | ------------------------------------------------ |
| Ip        | Yes      | Text             | None    | IP address or host name of the FSProtect server. |
| Port      | No       | Integer          | 8080    | Port number.                                     |
| Is secure | No       | Boolean          | True    | Use HTTPS.                                       |
| Username  | Yes      | Text             | None    | Account name (email).                            |
| Password  | Yes      | Text (sensitive) | None    | Account password.                                |
| Timeout   | No       | Integer          | 30      | Seconds to wait for API responses.               |

## Troubleshooting

| Error message                    | Cause                                      | Fix                                                |
| -------------------------------- | ------------------------------------------ | -------------------------------------------------- |
| `Max retries exceeded for <url>` | The server kept returning HTTP 401 or 429. | Check the credentials and permissions, then retry. |

## Change history

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