Remediation
From Azure Portalβ
- Go to
Application gateways. - Click 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}}
--policy-name {{firewall-policy}}
--type Microsoft_BotManagerRuleSet
--version {{0.1|1.0|1.1}}