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

add evaluation window to rate based statement #412

Open
dremesa opened this issue Jul 31, 2024 · 0 comments
Open

add evaluation window to rate based statement #412

dremesa opened this issue Jul 31, 2024 · 0 comments

Comments

@dremesa
Copy link

dremesa commented Jul 31, 2024

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
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

No branches or pull requests

1 participant