Cloudflare worker

Hello ,

I have cloudflare worker , and I want to use WAF custom rule , in the worker
so for example

if (( waf custom rule = example)
do something

how I can do that with cloudflare workers

thanks

I believe this was answered in the Discord server. You will need to wait for snippets to be able to have a trigger based on WAF rule.

The solution was to use the request.cf.verifiedBot option in a worker.

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