> 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-xdr/protect-your-endpoints/install-and-manage-endpoints/set-up-endpoint-protection/set-up-endpoint-profiles-and-exception-rules.md).

# Set up endpoint profiles and exception rules

Configure endpoint security profiles and exception rules for your environment.

Cortex XDR provides default security profiles that you can use out-of-the-box to immediately begin protecting your endpoints from threats. These profiles are applied to endpoints by mapping them to policies, and then mapping the policies to endpoints.

While security rules enable you to block or allow files to run on your endpoints, security profiles help you customize and reuse settings across different groups of endpoints. When the Cortex XDR agent detects behavior that matches a rule defined in your security policy, the Cortex XDR agent applies the security profile that is attached to the rule for further inspection.

{% hint style="info" %}

### Note

Profiles associated with one or more targets that are beyond the scope of your defined user permissions are locked, and cannot be edited.
{% endhint %}

### Agent types and profile tabs

Some profiles have a separate tab for each agent type: **Standard**, **Cloud Optimized**, and **Targeted**. You apply one profile to all the endpoints in a policy, and the agent on each endpoint uses only the settings on the tab for its agent type. Each tab shows only the settings that the agent type supports.

Standard agents use the settings from all the profiles in their policy. Cloud Optimized and Targeted agents use settings only from the profiles that have a tab for their agent type, as shown in the following table.

| Profile        | Cloud Optimized tab | Targeted tab          |
| -------------- | ------------------- | --------------------- |
| Agent Settings | Linux               | Windows, macOS, Linux |
| Identity       | —                   | Windows               |
| Malware        | Linux               | —                     |
| Exploit        | Linux               | —                     |
| Restrictions   | —                   | —                     |

Exceptions profiles don't have tabs. The exceptions in a profile apply to all agent types.

{% hint style="info" %}

#### Note

On a Cortex AES tenant, you can create only Agent Settings profiles. All endpoints on a Cortex AES tenant run the Targeted agent type, so their agents use the settings on the Targeted tab.
{% endhint %}


---

# 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-xdr/protect-your-endpoints/install-and-manage-endpoints/set-up-endpoint-protection/set-up-endpoint-profiles-and-exception-rules.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.
