Skip to content

Commit 7f2a579

Browse files
pedrosousaharshil1712
authored andcommitted
[WAF] Clarify execution and interaction with SBFM (#17624)
1 parent 39377eb commit 7f2a579

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/content/docs/bots/troubleshooting.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ This does not mean that your traffic was blocked. It is the challenge sent to yo
6565

6666
To understand if the result of the challenge was a success or a failure, you can verify using [Logpush](/logs/about/).
6767

68+
## Does the WAF run before Super Bot Fight Mode?
69+
70+
Yes. WAF rules are executed before Super Bot Fight Mode. If a WAF custom rule performs a [terminating action](/ruleset-engine/rules-language/actions/) such as _Block_, your Super Bot Fight Mode configuration will not be evaluated.
71+
6872
---
6973

7074
## What is the difference between the threat score and bot management score?

src/content/docs/waf/concepts.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,6 @@ Cloudflare evaluates different types of rules when processing incoming requests.
6868
5. [WAF Managed Rules](/waf/managed-rules/)
6969
6. [Cloudflare Rate Limiting](/waf/reference/legacy/old-rate-limiting/) (previous version, deprecated)
7070

71-
For more information on the Ruleset Engine phases where each WAF feature will execute, refer to [WAF phases](/waf/reference/phases/).
71+
Rules are evaluated in order. If there is a match for a rule with a [terminating action](/ruleset-engine/rules-language/actions/), the rule evaluation will stop and the action will be executed immediately. Rules with a non-terminating action (such as _Log_) will not prevent subsequent rules from being evaluated and executed. For more information on how rules are evaluated, refer to [Rule evaluation](/ruleset-engine/about/rules/#rule-evaluation) in the Ruleset Engine documentation.
72+
73+
For more information on the phases where each WAF feature will execute, refer to [WAF phases](/waf/reference/phases/).

0 commit comments

Comments
 (0)