DataBiosphere / azul

Metadata indexer and query service used for AnVIL, HCA, LungMAP, and CGP
Apache License 2.0
7 stars 2 forks source link

Handling WAF rate limit alarms is too much work #5624

Open achave11-ucsc opened 1 year ago

achave11-ucsc commented 1 year ago

The Azul REST API frequently scanned for common web application exploits. These scans often trip the rate limit and cause a notification. Our current policy is to research the IP, post the WHOIS info and block the IP permanently. We get multiple notifications a day in each deployment, resulting in a lot of work.

achave11-ucsc commented 1 year ago

Spike for design.

hannes-ucsc commented 1 year ago

After #5246, we will programmatically (in the Lambda) monitor the set of IPs currently rate limited, and automatically add IPs that remain in that list for longer than an hour into the list of permanently blocked IPs.

Until then, we will, monitor the notifications, triage them after stand-up, but not take any specific actions.