> 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-xsiam/cloud-security/overview/secure-your-api-landscape/configure-api-security-from-end-to-end/agent-based-protection/manage-web-and-api-security-prevention-profiles.md).

# Manage Web and API Security prevention profiles

After you create and customize your Web and API Security prevention profiles, you can manage them from the **Prevention Profiles** page as needed.

<details>

<summary>View the prevention policy rules that use a specific prevention profile</summary>

Before you modify or delete a profile, you can check which policy rules, if any, use the profile.

* From **Inventory** → **Endpoints** → **Policy Management** → **Prevention** → **Profiles**, right-click the profile and select **View policy Rules**.

  Cortex XSIAM opens the **Prevention Policy Rules** page on a new tab. This page is filtered, and only displays the rules that use the profile that you selected.

</details>

<details>

<summary>Edit, export, duplicate, or delete a prevention profile</summary>

Edit a profile:

1. From **Inventory** → **Endpoints** → **Policy Management** → **Prevention** → **Profiles**, right-click the profile and select **Edit**.
2. Make your changes, and then click **Save**.

Export a profile:

1. From **Inventory** → **Endpoints** → **Policy Management** → **Prevention** → **Profiles**, right-click the profile and select **Export Profile**.
2. Click **Export**. The profile is downloaded to your computer.

Duplicate a profile:

1. From **Inventory** → **Endpoints** → **Policy Management** → **Prevention** → **Profiles**, right-click the prevention profile and select **Save as New**. A new profile is displayed, containing the values from the profile that you selected.
2. Edit the profile name and description, edit any values that you want to change, and then click **Create**.
3. Populate a new prevention policy rule with your new profile.

Delete a profile:

1. If necessary, delete or detach any policy rules that use the profile before attempting to delete it.
2. From **Inventory** → **Endpoints** → **Policy Management** → **Prevention** → **Profiles**, locate the profile that you want to remove. The profile's **Usage Count** cell must have a 0 (zero) value.
3. Right-click the prevention profile and select **Delete**.
4. To confirm the deletion, click **Yes**.

</details>

<details>

<summary>Populate a new prevention policy rule with a prevention profile</summary>

1. From **Inventory** → **Endpoints** → **Policy Management** → **Prevention** → **Profiles**, right-click the profile and select **Create a new policy rule using this profile**.

   Cortex XSIAM automatically populates the **Platform** selection based on your profile configuration, and assigns the profile based on the profile type.
2. For **Policy Name**, enter a meaningful name, and optionally, add a description for the policy rule.
3. Assign any additional profiles that you want to apply to your policy rule, and click **Next**.
4. Select the target workloads for the policy rule, or use the filters to define criteria for the policy rule to apply, and then click **Next**.
5. Review the policy rule summary, and then click **Done**.

</details>

#### **View information about your Web and API Security prevention profiles**

The following table displays the fields that are available on the **Prevention Profiles** page, in alphabetical order. The table includes both default fields and additional fields that are available in the column manager. To view this page, go to **Inventory** → **Endpoints** → **Policy Management** → **Prevention** → **Profiles**.

| Field              | Description                                                                                                           |
| ------------------ | --------------------------------------------------------------------------------------------------------------------- |
| Associated Targets | The endpoints or endpoint groups to which the profile is assigned                                                     |
| Created By         | The administrator who created the prevention profile                                                                  |
| Created Time       | The date and time at which the prevention profile was created                                                         |
| Description        | An optional description entered by an administrator to describe the prevention profile                                |
| Modification Time  | The date and time at which the prevention profile was modified                                                        |
| Modified By        | The administrator who modified the prevention profile                                                                 |
| Name               | The prevention profile name                                                                                           |
| Profile ID         | The ID assigned to to the profile by Cortex XSIAM                                                                     |
| Summary            | Summary of prevention profile configuration                                                                           |
| Type               | The prevention profile type                                                                                           |
| Usage Count        | The number of policy rules that use the profile. If you want to delete a profile, ensure that this cell displays "0". |


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsiam/cloud-security/overview/secure-your-api-landscape/configure-api-security-from-end-to-end/agent-based-protection/manage-web-and-api-security-prevention-profiles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
