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

Ruleset version support #14

Open
tsunamaru opened this issue Apr 28, 2022 · 0 comments
Open

Ruleset version support #14

tsunamaru opened this issue Apr 28, 2022 · 0 comments

Comments

@tsunamaru
Copy link

tsunamaru commented Apr 28, 2022

Describe the Feature

Add version support for AWS Managed Rules.

Use Case

Sometimes it's important to apply or keep specific version because of breaking changes from Amazon.

Describe Ideal Solution

Something like this, maybe?

managed_rule_group_statement_rules = [
    {
      name = "10-common"
      override_action = "count"
      priority = 10
      statement = {
        name          = "AWSManagedRulesCommonRuleSet"
        vendor_name   = "AWS"
        version = "Version_1.2"
        excluded_rule = []
      }
      visibility_config = {
        cloudwatch_metrics_enabled = false
        sampled_requests_enabled   = false
        metric_name                = "10-common-metric"
      }
    }
]

Alternatives Considered

None.

Additional Context

In AWS console, version can be changed in rule edit:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant