Skip to content

add evaluation window to rate based statement #412

@dremesa

Description

@dremesa

When creating waf rules with a rate-based-statement, I'd like for the ability to control the evaluation window, right now it defaults to the aws value of 300 seconds, and I'd like to be able to set the other values if needed. Right now I have to do so manually in the aws console.

    rule
        name: "RateLimit"
        priority: 7
        action: "BLOCK"

        visibility-config
            metric-name: "ratelimit"
            cloud-watch-metrics-enabled: true
            sampled-requests-enabled: true
        end

        statement
            rate-based-statement
                limit: 750
            end
        end
    end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions