Block verified bots except

What is the name of the domain?

nuwayportablebuildings.com

What is the issue you’re encountering

I created this WAF rule to block verified bot categories except “Search Engine Crawler” and “Monitoring & Analytics” : (cf.verified_bot_category ne “Search Engine Crawler”) or (cf.verified_bot_category ne “Monitoring & Analytics”). But UptimeRobot just got blocked

As each part of the expression is a “not equals” you need to use AND between them instead of OR.

You probably want to use is not in:

(not cf.verified_bot_category in {"Search Engine Crawler" "Monitoring & Analytics"})

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.