Share via

Do we need to migrate from OWASP 3.2 to DRS 2.x for Azure Application Gateway WAF?

Faisal Riaz 155 Reputation points
2026-05-14T06:38:13.4466667+00:00

Hi ,

We are currently using Azure Application Gateway WAF with the following managed rulesets:

  • OWASP_3.2
  • Microsoft_BotManagerRuleSet_1.1

Recently, Azure Advisor started showing the recommendation:

"Upgrade to the latest DRS rule set in Application Gateway WAF"

I reviewed the remediation documentation, but most examples appear to be related to Azure Front Door WAF, not Application Gateway WAF.

I would like clarification on the following points specifically for Application Gateway WAF:

  1. Is OWASP_3.2 still supported and recommended for Application Gateway WAF?
  2. Is migration to Microsoft Default Rule Set (DRS 2.1 / 2.2) mandatory or only recommended?
  3. Can the existing WAF Policy be updated in-place from OWASP_3.2 to DRS_2.x, or is a new WAF policy recommended?
  4. Will existing exclusions, disabled rules, and custom rules continue to work after upgrading?
  5. Are there known breaking changes or compatibility concerns when moving from OWASP_3.2 to DRS_2.x?
  6. Is Microsoft planning any deprecation timeline for OWASP_3.2 on Application Gateway WAF?

Our concern is avoiding production impact because the current WAF policy is already tuned with exclusions and rule overrides.

Any guidance or best practices from Microsoft engineering would be appreciated.

Thanks.Hi Team,

We are currently using Azure Application Gateway WAF with the following managed rulesets:

  • OWASP_3.2
  • Microsoft_BotManagerRuleSet_1.1

Recently, Azure Advisor started showing the recommendation:

"Upgrade to the latest DRS rule set in Application Gateway WAF"

I reviewed the remediation documentation, but most examples appear to be related to Azure Front Door WAF, not Application Gateway WAF.

I would like clarification on the following points specifically for Application Gateway WAF:

  1. Is OWASP_3.2 still supported and recommended for Application Gateway WAF?
  2. Is migration to Microsoft Default Rule Set (DRS 2.1 / 2.2) mandatory or only recommended?
  3. Can the existing WAF Policy be updated in-place from OWASP_3.2 to DRS_2.x, or is a new WAF policy recommended?
  4. Will existing exclusions, disabled rules, and custom rules continue to work after upgrading?
  5. Are there known breaking changes or compatibility concerns when moving from OWASP_3.2 to DRS_2.x?
  6. Is Microsoft planning any deprecation timeline for OWASP_3.2 on Application Gateway WAF?

Our concern is avoiding production impact because the current WAF policy is already tuned with exclusions and rule overrides.

Any guidance or best practices from Microsoft engineering would be appreciated.

Thanks.

Azure Application Gateway
Azure Application Gateway

An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.


2 answers

Sort by: Most helpful
  1. Venkatesan S 8,485 Reputation points Microsoft External Staff Moderator
    2026-05-14T07:51:04.21+00:00

    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:

    1. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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:

    1. Clone your WAF policy to a staging environment.
    2. Update to DRS 2.x via PowerShell/CLI/ARM in Log mode.
    3. Review WAF logs in Log Analytics, tweak exclusions and overrides.
    4. Once happy, apply the change to production in Prevention mode.

    Reference docs:

    Kindly let us know if the above helps or you need further assistance on this issue.

    Please210246-screenshot-2021-12-10-121802.pngand “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. Sina Salam 29,846 Reputation points Volunteer Moderator
    2026-05-18T12:13:06.2766667+00:00

    Hello Faisal Riaz,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you are evaluating whether to migrate from OWASP/CRS 3.2 to Microsoft Default Rule Set (DRS 2.x) for Azure Application Gateway WAF.

    Regarding your questions: Check the comment.

    Therefore, for Azure Application Gateway WAF, OWASP/CRS 3.2 is still supported, but it is not the latest recommended managed rule set. Microsoft recommends using the latest available Microsoft Default Rule Set, currently DRS 2.2, because it includes newer OWASP CRS baseline coverage, Microsoft Threat Intelligence protections, improved detections, and false-positive reduction improvements. https://learn.microsoft.com/en-us/azure/web-application-firewall/ruleset-support-policy, https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/application-gateway-crs-rulegroups-rules

    The Azure Advisor recommendation does not mean an immediate forced migration is required, but it is a valid recommendation and should be planned. CRS 3.2 remains supported under Microsoft’s managed ruleset support policy, but its support will end one year after Microsoft releases the first DRS version newer than DRS 2.2. https://learn.microsoft.com/en-us/azure/web-application-firewall/ruleset-support-policy

    To resolve the issue, adhere to:

    • Clone or export the existing WAF policy before changing production.
    • Upgrade the cloned policy from OWASP 3.2 to Microsoft_DefaultRuleSet 2.2.
    • Keep Microsoft_BotManagerRuleSet 1.1 if already configured.
    • Preserve and remap existing exclusions, disabled rules, and rule overrides.
    • Do not blindly switch through the Azure portal, because managed-rule customizations can reset when assigning a new managed rule set.
    • Run the upgraded policy in Detection/Log mode first.
    • Review Application Gateway WAF logs in Log Analytics.
    • Tune only confirmed false positives.
    • Move the policy to Prevention mode after validation and then associate it with production.

    After the policy customizations are correctly preserved/remapped and the new DRS rules are validated through WAF logs, the migration to DRS 2.2 can be completed with minimal production risk. -

    “You should migrate — but do it carefully.”

    https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/upgrade-ruleset-version, https://learn.microsoft.com/en-us/troubleshoot/azure/web-application-firewall/web-application-firewall-troubleshoot, https://learn.microsoft.com/en-us/troubleshoot/azure/application-gateway/log-analytics

    I hope this is helpful! Do not hesitate to let me know if you have any other questions, steps or clarifications.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.