Is there a way to check if http.request.uri.path
ends/doesn’t ends with .js
.css
.html
instead of checking if http.request.uri.path
contains those?
see some examples at Common use cases for WAF custom rules · Cloudflare Web Application Firewall (WAF) docs
matches
comparison operator and a regular expression to block requests that target autodiscover.xml and autodiscover.src.
http.request.uri.path matches "/autodiscover\.(xml|src)$"
1 Like
This topic was automatically closed after 30 days. New replies are no longer allowed.