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

# Forcepoint Proxy

Forcepoint Proxy is Forcepoint Data Security Cloud | SSE, formerly Bitglass, a secure web gateway and CASB platform. OctoXLabs reads the members of the default "All Users" group through the Config API and adds them to the user inventory.

## Use cases

* List all Forcepoint SSE users, including deactivated ones.

```
Adapters = forcepoint-proxy
```

* Find SSE users that have no Active Directory account.

```
Adapters = forcepoint-proxy AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                                                 | Port | Protocol |
| ------------------- | ----------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Regional SSE portal host, for example `portal.bitglass.com` | 443  | HTTPS    |

The portal host depends on the tenant region. Examples from the instructions: `portal.bitglass.com`, `portal.us.bitglass.net`, `portal.eu.bitglass.net`, `portal.bitglass.ca`, or a custom `portal.YOURDOMAIN.com`. All API calls must use HTTPS.

### Required permissions

| Scope or role                  | Permission                               | Needed for                  |
| ------------------------------ | ---------------------------------------- | --------------------------- |
| Admin role with API components | View on Logs                             | Config API access           |
| Admin role with API components | View on Policies                         | Config API access           |
| Admin role with API components | View on Users and Groups                 | Reading group members       |
| OAuth application              | Config API (User and Group Provisioning) | Bearer token authentication |

## Create credentials in Forcepoint Proxy

{% stepper %}
{% step %}

### Option A: username and password

1. In the Admin Portal, go to **IAM** > **Admin Roles**.
2. Create a role with the API components set to **view**. Grant at least **view** access to **Logs**, **Policies** and **Users and Groups**.
3. Assign the role to a dedicated admin account.
4. Use that account's username and password in OctoXLabs.
   {% endstep %}

{% step %}

### Option B: OAuth bearer token

1. In the Admin Portal, go to **Settings** > **API Interface** > **OAuth**.
2. Add an application and select the Config API (User and Group Provisioning) permission.
3. Open the generated Token Authorization URL and approve the access request.
4. Copy the access token and paste it into OctoXLabs. The token is long lived and is sent with every request.
   {% endstep %}
   {% endstepper %}

## Connection parameters

| Parameter      | Required               | Type             | Default               | Description                                                 |
| -------------- | ---------------------- | ---------------- | --------------------- | ----------------------------------------------------------- |
| Domain         | No                     | Text             | `portal.bitglass.com` | Regional portal host, without scheme.                       |
| Use basic auth | No                     | Boolean          | True                  | On: send username and password. Off: send the bearer token. |
| Username       | When basic auth is on  | Text             | None                  | Config API admin username.                                  |
| Password       | When basic auth is on  | Text (sensitive) | None                  | Config API admin password.                                  |
| Token          | When basic auth is off | Text (sensitive) | None                  | OAuth 2.0 bearer token.                                     |
| Is secure      | No                     | Boolean          | True                  | Use HTTPS.                                                  |
| Proxy          | No                     | Text             | Empty                 | Proxy in `host:port` format.                                |
| Timeout        | No                     | Integer          | 30                    | Seconds to wait for API responses.                          |

## Troubleshooting

| Error message                                                        | Cause                                       | Fix                                              |
| -------------------------------------------------------------------- | ------------------------------------------- | ------------------------------------------------ |
| `username and password are required when use_basic_auth is enabled.` | Basic auth is on but a credential is empty. | Fill in both fields, or turn off Use basic auth. |
| `token is required when use_basic_auth is disabled.`                 | Basic auth is off and no token was given.   | Paste the OAuth access token.                    |

## Change history

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