Task

Deploy Cloudflare Bot Management WAF Rule templates.

Why

Steps

1. Deploy template rule for definite bots

In the Cloudflare Dashboard go to Security ‣ Security rules ‣ Templates.

Bot Management Nav

Under Rules template search for templates with "bots" and select Mitigate definite bot traffic template by clicking Preview template.

Bot Management Use Template

This will bring you into the familiar Custom rules dialog with a ready made rule!

Leave the rule as default, however so as not to impact other exercises, limit it to a non-existing path:

You configuration should look something like this:

Deploy Bot Rule