Reduce alert noise: Security Hub HIGH/CRITICAL only#41
Merged
Conversation
MEDIUM findings (SSL, logging, required-tags) are too noisy and duplicate what the compliance reporter already covers. A single S3 bucket create/delete generated 4 MEDIUM Security Hub alerts on top of the resource creation and compliance alerts.
Terraform PlanChanges detected — review required. Plan output |
LLM Plan ReviewRisk: 🟢 LOW Updating Security Hub findings filter to route only HIGH and above severity alerts instead of MEDIUM and above to SNS.
|
Alexanderamiri
added a commit
that referenced
this pull request
May 9, 2026
## Summary Filter Security Hub EventBridge rule from MEDIUM+ to HIGH/CRITICAL only. A single S3 bucket create/delete was generating 6 Slack alerts: 1. Resource Created (useful) 2. Untagged Resource — Config rule (useful) 3. Resource Deleted (useful) 4. Security Hub: required-tags MEDIUM (duplicate of #2) 5. Security Hub: SSL not required MEDIUM (noise) 6. Security Hub: access logging not enabled MEDIUM (noise) After this change: alerts 4-6 are suppressed. Config + compliance reporter already cover tagging. ## Future work - Batch alerts into 5-minute windows - Deduplicate Config vs Security Hub findings - S3 account-wide defaults for access logging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Filter Security Hub EventBridge rule from MEDIUM+ to HIGH/CRITICAL only.
A single S3 bucket create/delete was generating 6 Slack alerts:
After this change: alerts 4-6 are suppressed. Config + compliance reporter already cover tagging.
Future work