An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
Hi Faisal Riaz,
Thanks for reaching out in Microsoft Q&A forum,
It looks like Azure Advisor is nudging you to move off OWASP CRS 3.2 onto the newer Default Rule Set (DRS 2.x) in your App Gateway WAF. Here’s a breakdown for Application Gateway specifically:
- Is OWASP_3.2 still supported and recommended?
- OWASP CRS 3.2 is fully supported on Application Gateway WAF_v2 today, but it’s considered the legacy rule set. You can keep running it, but it won’t get any of the Microsoft Threat Intelligence or false-positive reductions that DRS provides.
- Is migration to DRS 2.1/2.2 mandatory or just recommended?
- It’s strongly recommended but not yet enforced. You won’t be blocked if you stay on OWASP_3.2, but you’ll miss out on new protections, CVE-specific rules, and ongoing rule updates.
- Can you update your existing WAF policy in-place, or do you need a new one?
- In-place is fine if you use PowerShell/CLI/ARM/Terraform to update the managed ruleset version. That approach preserves your rule overrides, exclusions, and custom rules. If you switch via the Azure portal UI, your managed‐rule overrides will reset to defaults (you’ll have to reapply them), though global exclusions and custom rules stay intact. Many teams clone the policy into a test slot, upgrade there first, then swap.
- Will exclusions, disabled rules, and custom rules survive the upgrade?
- Yes as long as you do the update via script or ARM. All your existing rule-action overrides, rule statuses, and exclusion lists carry over. If you do it manually in the portal, only the portal’s managed-rule overrides reset; your custom rules and global exclusions remain.
- Any breaking changes or compatibility concerns?
- DRS 2.x brings new Microsoft ThreatIntel rule groups, replaces some OWASP rules, and defaults PL2 rules to disabled (so you start at PL1). You may see new rule IDs or changed logic. Best practice is to switch DRS to Detection (Log) mode first, monitor Azure Monitor or Log Analytics, tune overrides, then flip to Prevention.
- Is there a deprecation timeline for OWASP_3.2 on App Gateway WAF?
- No public retirement date has been announced for OWASP 3.2 on Application Gateway. That said, DRS is the only rule set getting ongoing updates, so planning your move now will save you work later.
Best practice rollout steps:
- Clone your WAF policy to a staging environment.
- Update to DRS 2.x via PowerShell/CLI/ARM in Log mode.
- Review WAF logs in Log Analytics, tweak exclusions and overrides.
- Once happy, apply the change to production in Prevention mode.
Reference docs:
- Upgrade CRS or DRS ruleset version: https://learn.microsoft.com/azure/web-application-firewall/ag/upgrade-ruleset-version
- Managed rules in App Gateway WAF: https://learn.microsoft.com/azure/web-application-firewall/ag/application-gateway-crs-rulegroups-rules#upgrading-or-changing-ruleset-version
- Create/manage WAF policies for App Gateway: https://learn.microsoft.com/azure/web-application-firewall/ag/create-waf-policy-ag
- Paranoia Level & tuning guidance: https://learn.microsoft.com/azure/web-application-firewall/ag/application-gateway-crs-rulegroups-rules#paranoia-level
Kindly let us know if the above helps or you need further assistance on this issue.
Please
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.