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

chore: updates default SecurityHub filter #26

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

fernandogoncalves-me
Copy link
Contributor

@fernandogoncalves-me fernandogoncalves-me commented Nov 25, 2024

This PR changes the default SecurityHub filter so it uses WorkflowStatus instead of ComplianceStatus as initial filtering criteria.

The reason behind this proposal is twofold:

  • ComplianceStatus is not available in findings coming from integrated services such as GuardDuty and Inspector. This means that these findings are never returned by the current query and can't be suppressed.
  • the final indicator that a finding that matches a suppression rule is still not suppressed is having WorkflowStatus equals NEW or NOTIFIED.

With the current filter structure, the support for SecurityHub integrations is not working.

@fernandogoncalves-me fernandogoncalves-me merged commit 422d3fb into main Dec 6, 2024
2 checks passed
@fernandogoncalves-me fernandogoncalves-me deleted the update_default_filter branch December 6, 2024 10:08
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

Successfully merging this pull request may close these issues.

2 participants