Skip to content

Commit a3b7f6f

Browse files
pedrosousaRebeccaTamachiro
authored andcommitted
[Page Shield] Clarify where sampling occurs (#21363)
1 parent fff7db2 commit a3b7f6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/docs/page-shield/how-it-works/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Enabling Page Shield adds a <GlossaryTooltip term="content security policy (CSP)
1818

1919
The **Monitors** dashboard shows the list of active scripts, connections, and cookies. The **All Reported Scripts** and **All Reported Connections** dashboards show the full list of detected scripts and connections in your domain, respectively, including infrequent and inactive ones.
2020

21-
Since Page Shield monitoring is based on sampling, there may be a small delay between deploying a script or cookie and having its data displayed in Page Shield's dashboards.
21+
Page Shield adds a CSP report-only HTTP header used to monitor webpage resources to a sample of sent responses. This means that there may be a [small delay](/page-shield/troubleshooting/#why-do-i-not-see-scripts-after-i-activated-page-shield) between deploying a script or cookie and having its data displayed in Page Shield's dashboards.
2222

2323
Enterprise customers with a paid add-on have access to additional classification mechanisms based on threat feeds to determine if a script, or a connection made by a script, is malicious. For more information, refer to [Malicious script and connection detection](/page-shield/how-it-works/malicious-script-detection/).
2424

src/content/docs/page-shield/reference/csp-header.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ content-security-policy-report-only: script-src 'none'; connect-src 'none'; repo
2222

2323
:::note[Notes]
2424

25-
Cloudflare adds the CSP report-only HTTP header used to monitor webpages resources to a sample of sent responses.
25+
Cloudflare adds the CSP report-only HTTP header used to monitor webpage resources to a sample of sent responses.
2626

2727
Configuring [log policies](/page-shield/policies/) will add other CSP report-only headers to responses. Cloudflare will not perform any sampling for these report-only headers related to customer-defined policies.
2828

0 commit comments

Comments
 (0)