> 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/vunerability-management/vulnerability-policies/configure-a-block-grace-period.md).

# Configure a block grace period

When you create a Vulnerability Management Prevention policy, you also have the option to establish a remediation grace period. Configuring a block grace period gives you additional time to resolve a vulnerability before the blocking action resumes.The grace period is based on the fix date of the vulnerability and allows you to override the blocking action of a policy when new vulnerabilities are detected. Follow the steps below to set up a block grace period:

1. Navigate to **Posture Management** → **Rules & Policies** → **Vulnerability Management** → **Vulnerability Policies - Prevention**.
2. Select an existing policy or create a new policy with the **Add Policy** button.
3. Add a Policy Name, Optional Description, and click **Next**.
4. Set the **Policy Conditions** and **Policy Scope**, as described under [Create a vulnerabilty policy](/cortex-cloud-runtime-security/vunerability-management/vulnerability-policies/create-a-vulnerability-policy.md).
5. Select an **Action** that will be triggered when a finding matches the policy.
6. For **Kubernetes Runtime protection**, if you opt to **Prevent new deployment requests**, you can also select a block grace period, during which the preventive action will be suppressed. Enter a value in the **Grace Period Days before Blocking Deployment field**. The grace period begins on the fix publish date, or the date the vulnerability was published if a fix is not available. Blocking enforcement begins once the grace period has passed. Enter 0, to immediately start blocking action.
7. For **Prevention Actions**, if you opt to**Fail the build**, you can also select a block grace period, during which the preventive action will be suppressed. Enter a value in the **Grace Period Days before Failing the Build**. Select **Done** to save your changes.


---

# 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/vunerability-management/vulnerability-policies/configure-a-block-grace-period.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.
