Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_web_application_firewall_policy - support managed_rules #6126

Merged
merged 16 commits into from Apr 26, 2020

Commits on Apr 25, 2020

  1. Add "managed_rules" to azurerm_web_application_firewall_policy

    Also streamline singular plurality for optional blocks allowing
    multiple repetitions.
    
    Fixes hashicorp#5727.
    
    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    2e37a00 View commit details
    Browse the repository at this point in the history
  2. Add website docs for "managed_rules" in azurerm_web_application_firew…

    …all_policy
    
    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    e34b12c View commit details
    Browse the repository at this point in the history
  3. Add nil check for "rule_group_overrides"

    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    f662913 View commit details
    Browse the repository at this point in the history
  4. Fix lint errors

    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    9abcde0 View commit details
    Browse the repository at this point in the history
  5. Shorten "rule_set_*" properties and list some possible values in docs

    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    85c6f0e View commit details
    Browse the repository at this point in the history
  6. Revert plurality normalization

    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    882ffd7 View commit details
    Browse the repository at this point in the history
  7. Fix reading "rule_group_override" property

    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    992e989 View commit details
    Browse the repository at this point in the history
  8. Set new properties in test

    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    733ea5e View commit details
    Browse the repository at this point in the history
  9. Align test with required properties

    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    ec8202a View commit details
    Browse the repository at this point in the history
  10. Ensure managed_rules is considered a list, and add to update test

    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    bdc3eea View commit details
    Browse the repository at this point in the history
  11. Streamline validation of rule type, rule version and disabled rule gr…

    …oup names
    
    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    1c3f166 View commit details
    Browse the repository at this point in the history
  12. Added version 1.0 to rule set versions

    It is the single valid version for the Microsoft_BotManagerRuleSet rule set.
    
    Signed-off-by: Sune Keller <sune.keller@gmail.com>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    14177bd View commit details
    Browse the repository at this point in the history
  13. Add "managed_rules" to azurerm_web_application_firewall_policy

    Also streamline singular plurality for optional blocks allowing
    multiple repetitions.
    
    Fixes hashicorp#5727.
    
    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    c98ebdd View commit details
    Browse the repository at this point in the history
  14. Add website docs for "managed_rules" in azurerm_web_application_firew…

    …all_policy
    
    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    a2bb6c2 View commit details
    Browse the repository at this point in the history
  15. Revert plurality normalization

    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    e838ca2 View commit details
    Browse the repository at this point in the history
  16. Fix indentation

    Signed-off-by: Sune Keller <absukl@almbrand.dk>
    sirlatrom committed Apr 25, 2020
    Copy the full SHA
    94b5e9d View commit details
    Browse the repository at this point in the history