> 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-cloud-runtime-security/endpoint-security/install-and-manage-endpoints/set-up-endpoint-protection/set-up-endpoint-profiles-and-exception-rules/set-up-exception-profiles-and-rules/add-a-disable-injection-and-prevention-rule.md).

# Add a disable injection and prevention rule

You can generate a temporary exception to bypass a process from prevention modules and injections. You can specify paths, or command line, from both prevention and injection. This may be useful when you have processes that are essential to your organization and must not be terminated. Cortex Cloud still generates issues from data collections.

{% hint style="info" %}

### Important

* Exceptions are limited up to 48 hours.
* Consider the consequences of disabling a prevention rule before you add the exception and monitor it over time.
* You can only apply a Disable Prevention Rule to agents version 7.9 and later.
  {% endhint %}

1. Select **Settings** → **Exception Configuration** → **Disable Injection and Prevention**.
2. Click **+Add Injection Rule**.
3. Specify a rule name and an optional description.
4. Select the platform. To cover all your endpoints, you can prevent different exception rules per platform.
5. Add the **Process Name** , and specify the **Path** to bypass.
6. Select the time limit for the exception rule.
7. Select the **Scope** for the rule. If you want to apply the rule to only specific **Exception Profiles**, select them from the list.
8. Enable the rule.
9. Click **Yes**, to confirm that you acknowledge that the selected rules will be disabled.


---

# 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-cloud-runtime-security/endpoint-security/install-and-manage-endpoints/set-up-endpoint-protection/set-up-endpoint-profiles-and-exception-rules/set-up-exception-profiles-and-rules/add-a-disable-injection-and-prevention-rule.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.
