-
Notifications
You must be signed in to change notification settings - Fork 10k
[Page Shield] Update alerts #22679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[Page Shield] Update alerts #22679
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
4378a41
Update requirements
pedrosousa dfa1a70
Update alerts concepts
pedrosousa 1ebde9a
Small update in plans.json
pedrosousa 94ef92a
Update alerts
pedrosousa 3da57c4
Delete partial
pedrosousa 6732ca1
Create alerts section
pedrosousa 6f4643e
Add redirects
pedrosousa 9343179
Change page title
pedrosousa 3c1720c
SME review
pedrosousa f384215
Adjust text
pedrosousa 202b51f
Apply suggestions from PCX review
pedrosousa dc9989f
Update steps to configure alerts
pedrosousa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 23 additions & 7 deletions
30
...ent/docs/page-shield/reference/alerts.mdx → ...t/docs/page-shield/alerts/alert-types.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| title: Configure a Page Shield alert | ||
| pcx_content_type: how-to | ||
| sidebar: | ||
| order: 2 | ||
| label: Configure an alert | ||
| description: Configure scoped or unscoped Page Shield alerts to get notified about relevant client-side changes on your zones. | ||
| --- | ||
|
|
||
| import { Render } from "~/components"; | ||
|
|
||
| <Render file="alerts-configure" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| --- | ||
| title: Page Shield alerts | ||
| pcx_content_type: concept | ||
| sidebar: | ||
| order: 5 | ||
| group: | ||
| label: Alerting | ||
| description: Page Shield alerts notify you when new scripts are detected | ||
| on your domain or when Page Shield detects resources that are likely | ||
| malicious. | ||
| --- | ||
|
|
||
| import { Render } from "~/components"; | ||
|
|
||
| :::note | ||
| New resource/domain alerts require a Business plan or higher. Code change and malicious resource alerts require an Enterprise plan with a paid add-on. For details, refer to [Alert types](/page-shield/alerts/alert-types/). | ||
pedrosousa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ::: | ||
|
|
||
| <Render file="alerts-intro" /> | ||
|
|
||
| You can configure unscoped or scoped alerts: | ||
|
|
||
| - **Unscoped alert**: An alert configured for all zones in your Cloudflare account. Scoped alerts are trigged either daily, hourly, or immediately, depending on the [alert type](/page-shield/alerts/alert-types/). | ||
pedrosousa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - **Scoped alert**: An alert scoped to one or more zones. You must configure [policies](/page-shield/policies/) for the zones you select to receive any notifications. Scoped alerts are triggered immediately. Policy violations will not trigger an alert. For more information, refer to [Scoped alerts](#scoped-alerts). | ||
|
|
||
| :::note | ||
| Cloudflare only takes into account [policies in allow mode](/page-shield/policies/#policy-actions) for scoped alerts. | ||
| ::: | ||
|
|
||
| For alerts sent at regular intervals, you might experience a delay between adding a new script and receiving an alert. | ||
|
|
||
| For instructions on configuring alerts, refer to [Configure a Page Shield alert](/page-shield/alerts/configure/). | ||
|
|
||
| ## Scoped alerts | ||
|
|
||
| :::note | ||
| Applies to Enterprise customers with a paid add-on. | ||
| ::: | ||
|
|
||
| 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. These alerts are called scoped alerts. | ||
|
|
||
| When you create a scoped alert using the **Policies of these zones** alert filter, you will only receive the most relevant notifications based on the values of the allow policies you configured. | ||
|
|
||
| For each scoped alert, Page Shield does 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 create a scoped 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. | ||
|
|
||
| :::note | ||
|
|
||
| You will not receive notifications for a scoped alert in the following cases: | ||
|
|
||
| - No configured policies in the zone | ||
| - Policy configured in log mode | ||
| - Policy is not enabled | ||
|
|
||
| ::: | ||
|
|
||
| For unscoped alerts, 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. | ||
51 changes: 0 additions & 51 deletions
51
src/content/docs/page-shield/detection/configure-alerts.mdx
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.