Skill 3.3.8

Implement and configure Azure Web Application Firewall

Key Concepts

A WAF policy has a mode, Detection or Prevention, plus managed rule sets and custom rules. Custom rules are evaluated before managed rules. Application Gateway uses anomaly scoring, in which a score of 5 or more blocks in Prevention mode.

Front Door Standard supports custom rules only, and Premium adds managed rules and Bot Manager. Start in Detection, tune exclusions, then move to Prevention.