> 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/palo-alto-networks-prisma-access-browser.md).

# Palo Alto Networks Prisma Access Browser

Prisma Access Browser is Palo Alto Networks' secure enterprise browser. OctoXLabs reads its device inventory and, optionally, the users signed in to the browser.

## Use cases

* List devices that run Prisma Access Browser.

```
Adapters = palo-alto-prisma-access-browser
```

* Find devices not seen for 30 days.

```
Adapters = palo-alto-prisma-access-browser AND NOT LastSeen last now-30d/d
```

## Before you begin

### Network

| Source              | Destination                               | Port | Protocol |
| ------------------- | ----------------------------------------- | ---- | -------- |
| OctoXLabs connector | `auth.apps.paloaltonetworks.com` (tokens) | 443  | HTTPS    |
| OctoXLabs connector | `api.sase.paloaltonetworks.com` (API)     | 443  | HTTPS    |

### Required permissions

| Scope or role                           | Permission                                                    | Needed for                                          |
| --------------------------------------- | ------------------------------------------------------------- | --------------------------------------------------- |
| Role **PA Browser View Only Analytics** | Read-only access to the browser inventory (users and devices) | Devices and users. Deleted users are not collected. |

## Create credentials in Palo Alto Networks Prisma Access Browser

{% stepper %}
{% step %}

### Open Identity & Access

In the Prisma SASE Platform open **Identity & Access**, in the tenant service group that holds your Prisma Access Browser tenant.
{% endstep %}

{% step %}

### Add a service account

Add a service account. Its client ID has the form `name@<TSG ID>.iam.panserviceaccount.com`.
{% endstep %}

{% step %}

### Assign the role

Assign the **PA Browser View Only Analytics** role.
{% endstep %}

{% step %}

### Copy the credentials

Copy the client ID and client secret. The secret is shown only when the account is created.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default                        | Description                                                                          |
| ------------- | -------- | ------- | ------------------------------ | ------------------------------------------------------------------------------------ |
| Domain        | No       | String  | api.sase.paloaltonetworks.com  | Prisma SASE API host, without `https://`.                                            |
| Auth Domain   | No       | String  | auth.apps.paloaltonetworks.com | Host that issues access tokens. It differs from the API host.                        |
| Client ID     | Yes      | String  |                                | Client ID of the service account.                                                    |
| Client Secret | Yes      | String  |                                | Client secret of the service account.                                                |
| TSG ID        | Yes      | String  |                                | Tenant service group ID. The token covers this group and its child tenants.          |
| Fetch Users   | No       | Boolean | True                           | Also collect users signed in to Prisma Access Browser. Devices are always collected. |
| Page Size     | No       | Integer | 100                            | Devices or users per page. 1 to 1000.                                                |
| Proxy         | No       | String  |                                | Proxy address as `host:port`.                                                        |
| Timeout       | No       | Integer | 30                             | Seconds to wait for API responses.                                                   |

## Troubleshooting

| Error message                             | Cause                             | Fix                                        |
| ----------------------------------------- | --------------------------------- | ------------------------------------------ |
| SASE token response has no access\_token. | The token call returned no token. | Check Client ID, Client Secret and TSG ID. |
| Max retries exceeded for :                | The API kept answering 401.       | Check the service account and its role.    |

## Change history

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