> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-agentix/insights-and-tips-cortex-agentix/access-control-and-authentication.md).

# Access control and authentication

Configure Cortex AgentiX role-based access, scope controls, SAML SSO, and tenant security restrictions.

### Roles (RBAC)

Cortex AgentiX includes predefined roles for administration, investigation, and response, and specialized functions (for example, Account Admin, Instance Administrator, and Viewer). Copy a predefined role to create a custom role with least-privilege permissions. Some roles depend on licensed modules. See [Set up users, groups, and roles](https://cortex-docs.paloaltonetworks.com/cortex-agentix/onboard-cortex-agentix/post-deployment-steps/set-up-users-and-roles.md).

### Cortex Agentic Assistant permissions <a href="#cortex-agentic-assistant-permissions" id="cortex-agentic-assistant-permissions"></a>

These permissions govern how you interact with and manage the artificial intelligence (AI) workforce in Cortex XSIAM. **Interact with Agents** lets you use assistants in chat, trigger agents, and access system or public agents. **Manage Actions** lets you view, create, update, delete, and register actions from scripts or commands. **Manage Agents** lets you manage your custom interactive AI assistants. **Agents Admin** provides full administrative control over system actions, system agents, and every agent in the organization.

{% hint style="info" %}
AI agents in the Cortex Agentic Assistant never exceed the invoking user's permissions or scope.
{% endhint %}

### Scope-based access (SBAC)

Limit what each user, group, or API key can see, such as endpoints, assets, cases, and dataset rows, by tags (for example, region or business unit). SBAC is disabled by default. Assign scopes before you enable it. See [Manage user scope](https://cortex-docs.paloaltonetworks.com/cortex-agentix/configure-cortex-agentix/users-and-roles-management/user-management/manage-user-scope.md).

### Authentication

* **SSO with SAML 2.0:** Use your identity provider, such as Microsoft Entra ID or Okta, and map IdP groups to Cortex AgentiX user groups and roles. Enforce MFA and conditional access in the IdP. See [Authenticate users using SSO](https://cortex-docs.paloaltonetworks.com/cortex-agentix/configure-cortex-agentix/users-and-roles-management/set-up-authentication/authenticate-users-using-sso.md).
* **Directory groups:** Synchronize Active Directory groups to assign roles.

### Session and network restrictions

* Restrict console logins and API access to approved IP ranges.
* Set session expiration (1–24 hours) and inactivity logout.

See [Configure security settings](https://cortex-docs.paloaltonetworks.com/cortex-agentix/onboard-cortex-agentix/post-deployment-steps/configure-security-settings.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-agentix/insights-and-tips-cortex-agentix/access-control-and-authentication.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
