π‘οΈ Azure Application Gateway WAF policy bot protection is not enabledπ’
- Contextual name: π‘οΈ Application Gateway WAF policy bot protection is not enabledπ’
- ID:
/ce/ca/azure/application-gateway/gateway-waf-bot-protection - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicβ
- π§ prod.logic.yamlπ’
Descriptionβ
Descriptionβ
This policy identifies Azure Application Gateways whose Web Application Firewall is not configured with a Bot Manager Rule Set. Enable bot protection on the Web Application Firewall to block or log requests from known malicious IP addresses identified through the Microsoft Threat Intelligence feed.
Rationaleβ
Internet traffic from bots can scrape, scan, and search for application vulnerabilities. Enabling bot protection stops requests from known malicious IP addresses and enhances the overall security of your application by reducing exposure to automated attacks.
Impactβ
May require monitoring to identify false positives.
Auditβ
This policy flags an Azure Application Gateway as
INCOMPLIANTif:
- it has no WAF Policy configured, or
- the WAF Policy has no managed rule set with the ruleSetType of Microsoft_BotManagerRuleSet, or
- the Microsoft_BotManagerRuleSet has ruleGroupOverrides for the KnownBadBots ruleGroupName in Disabled state.
Default Valueβ
Bot protection is disabled by default on Azure Application Gateways with Web Application Firewall.
... see more
Remediationβ
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}}
policy.yamlβ
Linked Framework Sectionsβ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| πΌ CIS Azure v5.0.0 β πΌ 7.15 Ensure bot protection is enabled in Azure Web Application Firewall policy on Azure Application Gateway (Automated) | 1 | no data | |||
| πΌ Cloudaware Framework β πΌ Threat Protection | 48 | no data |