You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update alerts
* Update alerts that may become immediate
* Update alerts on policies (received feedback)
* Update heading
* Add changelog entry
* Add link
* Apply suggestions from code review
---------
Co-authored-by: Patricia Santa Ana <[email protected]>
You can now scope all of Page Shield's alert types to selected zones and their associated policies, alerting only on the resources that have been explicitly allowed.
12
+
8
13
- publish_date: "2024-09-30"
9
14
title: New machine learning (ML) scores for detected scripts
Copy file name to clipboardExpand all lines: src/content/docs/page-shield/detection/configure-alerts.mdx
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,3 +18,32 @@ Only available to customers on a Business or Enterprise plan.
18
18
<Renderfile="alerts-intro" />
19
19
20
20
<Renderfile="alerts-configure" />
21
+
22
+
## Alerts on policies
23
+
24
+
:::note
25
+
Applies to Enterprise customers with a paid add-on.
26
+
:::
27
+
28
+
If you have configured [allow policies](/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.
29
+
30
+
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.
31
+
32
+
For each alert configured with a filter, Page Shield will do the following:
33
+
34
+
1. Check which allow policies in a zone are enabled.
35
+
2. For every enabled policy, compare the URL of the new or changed resource against the allowed sources in the policy.
36
+
3. If the resource is allowed by the policy, check if the new or modified resource should trigger the current Page Shield alert.
37
+
4. If the alert should trigger, send an alert notification to the configured destinations.
38
+
39
+
:::note
40
+
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](/page-shield/policies/violations/) that you can review in the dashboard, through GraphQL, or via Logpush.
41
+
:::
42
+
43
+
You will not receive notifications for alerts configured with a **Policies of these zones** filter in the following cases:
44
+
45
+
- No configured policies in the zone
46
+
- Policy configured in log mode
47
+
- Policy is not enabled
48
+
49
+
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.
If you [configured the CSP reporting endpoint](/page-shield/reference/settings/#csp-reporting-endpoint) to use the same hostname, the HTTP header will have the following format:
17
+
If you [configured the reporting endpoint](/page-shield/reference/settings/#reporting-endpoint) to use the same hostname, the HTTP header will have the following format:
Copy file name to clipboardExpand all lines: src/content/docs/page-shield/reference/settings.mdx
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,11 @@ title: Configuration settings
3
3
pcx_content_type: reference
4
4
sidebar:
5
5
order: 1
6
-
7
6
---
8
7
9
-
import { GlossaryTooltip } from"~/components"
8
+
import { GlossaryTooltip } from"~/components";
10
9
11
-
## CSP reporting endpoint
10
+
## Reporting endpoint
12
11
13
12
When enabled, Page Shield uses a <GlossaryTooltipterm="content security policy (CSP)">Content Security Policy (CSP)</GlossaryTooltip> [report-only HTTP header](/page-shield/reference/csp-header/) to gather information about all the scripts running on your application.
14
13
@@ -28,8 +27,8 @@ Enterprise customers with a paid add-on can change the reporting endpoint so tha
28
27
29
28
Using the same hostname for CSP reporting may interfere with other Cloudflare products. Before selecting this option, ensure that your Cloudflare configuration complies with the following:
30
29
31
-
* No rate limiting rules match the `cdn-cgi/*` URL path
32
-
* No WAF custom rules match the `cdn-cgi/*` URL path
30
+
- No rate limiting rules match the `cdn-cgi/*` URL path
31
+
- No WAF custom rules match the `cdn-cgi/*` URL path
33
32
34
33
### Configure the reporting endpoint
35
34
@@ -64,6 +63,5 @@ To turn off Page Shield:
64
63
3. In **Disable Page Shield**, select **Disable**.
65
64
66
65
:::note
67
-
68
-
Turning off Page Shield will not turn off [policies](/page-shield/policies/). To turn off policies, go to **Page Shield** > **Policies**.
66
+
Turning off Page Shield will not turn off [policies](/page-shield/policies/). To turn off policies, go to **Page Shield** > **Policies**.
Copy file name to clipboardExpand all lines: src/content/notifications/index.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -243,15 +243,15 @@ entries:
243
243
associatedProducts: Page Shield
244
244
nextSteps: Investigate to confirm that it is an expected change.
245
245
otherFilters: None.
246
-
additional_information: Triggered daily.
246
+
additional_information: Triggered daily. If configured with a zone filter, the alert is triggered immediately.
247
247
248
248
- name: Page Shield New Domain Alert
249
249
audience: "[Page Shield](/page-shield/) customers who want to receive a notification when resources from new host domains appear in their domain."
250
250
availability: Business plans or higher.
251
251
associatedProducts: Page Shield
252
252
nextSteps: Investigate to confirm that it is an expected change.
253
253
otherFilters: None.
254
-
additional_information: Triggered hourly.
254
+
additional_information: Triggered hourly. If configured with a zone filter, the alert is triggered immediately.
255
255
256
256
- name: Page Shield New Malicious Domain Alert
257
257
audience: "[Page Shield](/page-shield/) customers who want to receive a notification when resources from a known malicious domain appear in their domain. For more information, refer to [Malicious script and connection detection](/page-shield/how-it-works/malicious-script-detection/)."
@@ -289,7 +289,7 @@ entries:
289
289
associatedProducts: Page Shield
290
290
nextSteps: Investigate to confirm that it is an expected change.
291
291
otherFilters: None.
292
-
additional_information: Triggered daily.
292
+
additional_information: Triggered daily. If configured with a zone filter, the alert is triggered immediately.
293
293
294
294
- name: Page Shield New Resource Exceeds Max URL Length Alert
295
295
audience: "[Page Shield](/page-shield/) customers who want to receive a notification when a resource's URL exceeds the maximum allowed length."
2. In the **Settings** tab, select **Configure an alert**.
8
+
2. In the **Settings** tab, select **Manage alerts**.
10
9
3. Select an [alert type](/page-shield/reference/alerts/).
11
-
4. Fill in the required information and select **Create**.
10
+
4. Enter the notification name and description.
11
+
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](/page-shield/detection/configure-alerts/#alerts-on-policies) based on the configured policies in **Policies of these zones**.
12
+
6. Select one or more notification destinations (notification email, webhooks, and connected notification services).
13
+
7. Select **Create**.
12
14
13
15
To edit, delete, or disable an alert, go to your [account notifications](https://dash.cloudflare.com/?to=/:account/notifications).
0 commit comments