Remediation
From Azure Portalβ
- Go to
Application gateways. - Select the name of an application gateway.
- Under
Settings, clickWeb application firewall. - Under
Associated web application firewall policy, click the policy name. - Under
Settings, clickManaged rules. - Click
Assign. - Under
Bot Management ruleset, click to display the drop-down menu. - Select a
Microsoft_BotManagerRuleSet. - Click
Save. - Click
Xto close the panel. - Repeat steps 1-10 for each application gateway and firewall policy requiring remediation.
From Azure CLIβ
For each firewall policy requiring remediation, run the following command to enable bot protection:
az network application-gateway waf-policy managed-rule rule-set add \
--resource-group {{resource-group-name}} \
--policy-name {{waf-policy-name}} \
--type Microsoft_BotManagerRuleSet \
--version {{0.1|1.0|1.1}}