Configure Page Shield alerts
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:
- Go to Security > Page Shield.
- In the Settings tab, select Manage alerts.
- Select an alert type.
- Enter the notification name and description.
- (Optional) If you are an Enterprise customer with a paid add-on, you can define the zones for which you want to filter alerts based on the configured policies in Policies of these zones.
- Select one or more notification destinations (notification email, webhooks, and connected notification services).
- Select Create.
To edit, delete, or disable an alert, go to your account notifications ↗.
If you have configured allow policies 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:
- Check which allow policies in a zone are enabled.
- For every enabled policy, compare the URL of the new or changed resource against the allowed sources in the policy.
- If the resource is allowed by the policy, check if the new or modified resource should trigger the current Page Shield alert.
- If the alert should trigger, send an alert notification to the configured destinations.
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.