-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[WAF] Update threat score #18537
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
pedrosousa
merged 5 commits into
production
from
pedro/PCX-14783-waf-update-threat-score
Dec 4, 2024
Merged
[WAF] Update threat score #18537
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
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
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 |
|---|---|---|
| @@ -1,40 +1,29 @@ | ||
| --- | ||
| {} | ||
|
|
||
| --- | ||
|
|
||
| ## Threat score | ||
|
|
||
| The threat score measures IP reputation across Cloudflare services. This score is calculated based on [Project Honeypot](https://www.projecthoneypot.org/), external public IP information, as well as internal threat intelligence from our [WAF managed rules](/waf/reference/legacy/old-waf-managed-rules/) and [DDoS](/ddos-protection/about/). | ||
|
|
||
| The threat score of a request has a value from 0 to 100, where 0 indicates low risk. Values above 10 may represent spammers or bots, and values above 40 identify bad actors on the Internet. | ||
|
|
||
| ## Security levels | ||
|
|
||
| Security levels are based on the threat score (except *Off* and *I’m Under Attack!*). You can adjust the security level to challenge incoming requests based on the threat they pose. | ||
| Security levels are based on the threat score (except _Off_ and _I’m Under Attack!_). You can adjust the security level to challenge incoming requests based on the threat they pose. | ||
|
|
||
| The available security levels are the following: | ||
|
|
||
|
|
||
|
|
||
| | Security Level | Threat score range | Description | | ||
| | ----------------------------------- | ------------------ | ------------------------------------------------------------------------------------ | | ||
| | Off (Enterprise<br/>customers only) | *N/A* | Does not challenge IP addresses. | | ||
| | Off (Enterprise<br/>customers only) | _N/A_ | Does not challenge IP addresses. | | ||
| | Essentially off | 50–100 | Only challenges IP addresses with the worst reputation. | | ||
| | Low | 25–100 | Challenges only threatening visitors. | | ||
| | Medium | 15–100 | Challenges both threatening and moderately threatening visitors. | | ||
| | High | 0–100 | Challenges all visitors that exhibited threatening behavior within the last 14 days. | | ||
| | I’m Under Attack! | *N/A* | Only for use if your website is currently under a DDoS attack. | | ||
|
|
||
|
|
||
| | I’m Under Attack! | _N/A_ | Only for use if your website is currently under a DDoS attack. | | ||
pedrosousa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Selecting a higher **Security Level** value means that even requests with a lower risk (that is, with a low [threat score](#threat-score)) will be challenged. Selecting a lower **Security Level** value means that only requests posing a higher risk (that is, with a high threat score) will be challenged. | ||
|
|
||
| Security levels from *Essentially off* to *High* will challenge the visitor using a Managed Challenge. When you select *I'm Under Attack!*, which enables [I'm Under Attack mode](/fundamentals/reference/under-attack-mode/), Cloudflare will present a JS challenge page. | ||
| Security levels from _Essentially off_ to _High_ will challenge the visitor using a Managed Challenge. When you select _I'm Under Attack!_, which enables [I'm Under Attack mode](/fundamentals/reference/under-attack-mode/), Cloudflare will present a JS challenge page. | ||
|
|
||
| :::caution | ||
|
|
||
| Only use [I'm Under Attack mode](/fundamentals/reference/under-attack-mode/) when a website is under a DDoS attack. I'm Under Attack mode may affect some actions on your domain, such as your API traffic. | ||
| Only use [I'm Under Attack mode](/fundamentals/reference/under-attack-mode/) when a website is under a DDoS attack. I'm Under Attack mode may affect some actions on your domain, such as your API traffic. | ||
|
|
||
| To set a custom security level for your API or any other part of your domain, create a [configuration rule](/rules/configuration-rules/). | ||
| To set a custom security level for your API or any other part of your domain, create a [configuration rule](/rules/configuration-rules/). | ||
| ::: | ||
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,13 @@ | ||
| --- | ||
| {} | ||
| --- | ||
|
|
||
| ## Threat score | ||
|
|
||
| The threat score measures IP reputation across Cloudflare services. This score is calculated based on [Project Honeypot](https://www.projecthoneypot.org/), external public IP information, as well as internal threat intelligence from our [WAF managed rules](/waf/reference/legacy/old-waf-managed-rules/) and [DDoS](/ddos-protection/about/). | ||
|
|
||
| The threat score of a request has a value from 0 to 100, where 0 indicates low risk. Values above 10 may represent spammers or bots, and values above 40 identify bad actors on the Internet. | ||
|
|
||
| :::note[Recommendation] | ||
| Currently the threat score is not being populated and always has the value `0`. It is not recommended that you create rules based on this score. | ||
| ::: |
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.