> 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-prisma-access.md).

# Palo Alto Prisma Access

Prisma Access is Palo Alto Networks' cloud-delivered secure access service. OctoXLabs reads the local users configured in Prisma Access folders and adds them to the inventory.

## Use cases

* List Prisma Access local users that OctoXLabs has collected.

```
Adapters = paloalto-prisma-access
```

## Before you begin

### Network

| Source              | Destination                                | Port               | Protocol                         |
| ------------------- | ------------------------------------------ | ------------------ | -------------------------------- |
| OctoXLabs connector | Prisma Access host you enter in IP Address | 443 (configurable) | HTTPS (HTTP if Is Secure is off) |

### Required permissions

The service account must be allowed to read local users in the configuration folders. The sources name no role. Not verified.

## Create credentials in Palo Alto Prisma Access

{% stepper %}
{% step %}

### Create a tenant service group

Create a TSG in the Prisma SASE Platform user interface. The first TSG must be created in the interface, because there is no other way to get an access token. Later TSGs can be created with the [create a tenant service group](https://pan.dev/sase/api/tenancy/post-tenancy-v-1-tenant-service-groups/) API.
{% endstep %}

{% step %}

### Create a service account

In the SASE service, create or reset a service account. The SASE service generates the Client ID and Client Secret.
{% endstep %}

{% step %}

### Note the TSG ID

The TSG ID sets the scope of the access token.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type    | Default | Description                                                                |
| ------------ | -------- | ------- | ------- | -------------------------------------------------------------------------- |
| IP Address   | Yes      | String  |         | Host of Prisma Access. Used for both the token call and the user calls.    |
| Port         | No       | Integer | 443     | Port number.                                                               |
| Username     | Yes      | String  |         | Client ID of the service account.                                          |
| Password     | Yes      | String  |         | Client Secret of the service account.                                      |
| TSG ID       | Yes      | String  |         | Tenant service group ID. Sets the scope of the access token.               |
| Proxy        | No       | String  |         | Proxy address. The connector sends traffic through it as `http://<proxy>`. |
| Is Secure    | No       | Boolean | True    | Use HTTPS.                                                                 |
| Timeout      | No       | Integer | 30      | Seconds to wait for API responses.                                         |
| Thread Count | No       | Integer | 32      | Parallel threads. Min 1, max 32.                                           |
| Sleep Time   | No       | Integer | 0       | Seconds between thread batches. Raise it on rate limit errors.             |

## Troubleshooting

| Error message | Cause | Fix |
| ------------- | ----- | --- |

## Change history

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