How does the Application Gateway WAF work?

IntermediateConceptNetworking
Answer

WAF on Application Gateway v2 inspects HTTP requests against managed rule sets (OWASP CRS 3.2 or the Microsoft Default Rule Set 2.x) plus your custom rules (IP allow/deny, geo-match, rate limiting). Modes: Detection logs only, Prevention blocks with 403.

Rollout pattern: start in Detection, query AzureDiagnostics | where Category == "ApplicationGatewayFirewallLog" (or the resource-specific AGWFirewallLogs table) for false positives, add exclusions for specific rules/fields, then switch to Prevention. WAF policies are separate resources attachable at gateway, listener or path level.

Azure All Azure questions Roadmap: Azure core services

More on Networking