Note

Only available to customers on a Business or Enterprise plan.

Once you have activated Page Shield, you can set up multiple alerts for your domain.

Cloudflare sends alerts at regular intervals, so you might experience a delay between adding a new script and receiving an alert.

To set up alerts:

1. Go to **Security** > **Page Shield**.
2. In the **Settings** tab, select **Manage alerts**.
3. []()Select an [alert type](https://developers.cloudflare.com/page-shield/reference/alerts/).
4. Enter the notification name and description.
5. (Optional) If you are an Enterprise customer with a paid add-on, you can [define the zones for which you want to filter alerts](https://developers.cloudflare.com/page-shield/detection/configure-alerts/#alerts-on-policies) based on the configured policies in **Policies of these zones**.
6. Select one or more notification destinations (notification email, webhooks, and connected notification services).
7. Select **Create**.

To edit, delete, or disable an alert, go to your [account notifications](https://dash.cloudflare.com/?to=/:account/notifications).

## Alerts on policies

Note

Applies to Enterprise customers with a paid add-on.

If you have configured [allow policies](https://developers.cloudflare.com/page-shield/policies/#policy-actions) in a zone (policies which allow specific scripts and connections and block everything else), you can filter alert notifications according to those policies.

When you set the **Policies of these zones** filter in a Page Shield alert, you will only receive the most relevant notifications based on the values of the allow policies you configured.

For each alert configured with a filter, Page Shield will do the following:

1. Check which allow policies in a zone are enabled.
2. For every enabled policy, compare the URL of the new or changed resource against the allowed sources in the policy.
3. If the resource is allowed by the policy, check if the new or modified resource should trigger the current Page Shield alert.
4. If the alert should trigger, send an alert notification to the configured destinations.

When you set the **Policies of these zones** filter in an alert you will not receive notifications for resources blocked by an allow policy. These are [policy violations](https://developers.cloudflare.com/page-shield/policies/violations/) that you can review in the dashboard, through GraphQL, or via Logpush.

Note

You will not receive notifications for alerts configured with a **Policies of these zones** filter in the following cases:

* No configured policies in the zone
* Policy configured in log mode
* Policy is not enabled

For alerts without a **Policies of these zones** filter, you will receive alerts for resources detected in all your zones, and you may receive alerts about resources that are blocked by one of your configured allow policies.
