File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/content/docs/waf/troubleshooting Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,12 +137,12 @@ Block Amazon Web Services (AWS) and Google Cloud Platform (GCP) because of large
137137
138138- Basic rule, no exclusion:
139139
140- - ** Expression** : ` (ip.src.asnum in {16509 15169}) `
140+ - ** Expression** : ` (ip.src.asnum in {16509 15169} and not cf.client.bot ) `
141141 - ** Action** : Block (or a challenge action)
142142
143143- Rule that excludes IP addresses from being blocked/challenged:
144144
145- - ** Expression** : ` (http.host eq "example.com" and cf.threat_score > 5 ) and not (ip.src in {192.0.2.1 198.51.100.42 203.0.113.0/24}) `
145+ - ** Expression** : ` (ip.src.asnum in {16509 15169} and not cf.client.bot ) and not (ip.src in {192.0.2.1 198.51.100.42 203.0.113.0/24}) `
146146 - ** Action** : Block (or a challenge action)
147147
148148- Two rules to skip remaining custom rules for specific IPs and block the rest.
@@ -154,7 +154,7 @@ Block Amazon Web Services (AWS) and Google Cloud Platform (GCP) because of large
154154
155155 2 . Rule 2:
156156
157- - Expression: ` (http.host eq "example.com" and cf.threat_score > 5 ) `
157+ - Expression: ` (ip.src.asnum in {16509 15169} and not cf.client.bot ) `
158158 - Action: Block (or a challenge action)
159159
160160### Do the Challenge actions support content types other than HTML (for example, AJAX or XHR requests)?
You can’t perform that action at this time.
0 commit comments