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

Get notified when AWS WAF rate limit is triggered #4629

Open
1 task
FuhuXia opened this issue Feb 23, 2024 · 2 comments
Open
1 task

Get notified when AWS WAF rate limit is triggered #4629

FuhuXia opened this issue Feb 23, 2024 · 2 comments

Comments

@FuhuXia
Copy link
Member

FuhuXia commented Feb 23, 2024

User Story

In order to be aware of catalog web traffic status, data.gov teams wants to be notified when AWS WAF rate limiting rule is triggerd and blocks ip addresses.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • GIVEN an AWS WAF Web ACLs rate limit rule is set
    WHEN an ip is blocked by the rule
    THEN a notification goes out to datagov-alerts channel
    AND includes IP address

Background

[Any helpful contextual notes or links to artifacts/evidence, if needed]

Security Considerations (required)

None

Sketch

[Notes or a checklist reflecting our understanding of the selected approach]

@rshewitt
Copy link
Contributor

rshewitt commented Feb 26, 2024

aws documentation on listing ip addresses that are being rate-limited

@FuhuXia
Copy link
Member Author

FuhuXia commented Feb 26, 2024

Good finding. I was also thinking to pipe the rate limit log to new relic where we can set an alert. Piping log to newrelic give us more info, allowing us to exam user's request info such as uri and browser agent, so we can tell the blocking is good or a mistake.

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

No branches or pull requests

2 participants