Skip to content

Commit

Permalink
chore: updates default SecurityHub filter (#26)
Browse files Browse the repository at this point in the history
* chore: updates default SecurityHub filter

* chore: updates default query to use EQUALS instead
  • Loading branch information
fernandogoncalves-me authored Dec 6, 2024
1 parent 7a1d8c4 commit 422d3fb
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions awsfindingsmanagerlib/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,18 @@
LOGGER = logging.getLogger(LOGGER_BASENAME)
LOGGER.addHandler(logging.NullHandler())

DEFAULT_SECURITY_HUB_FILTER = {'ComplianceStatus': [
{
'Value': 'FAILED',
'Comparison': 'EQUALS'
},
{
'Value': 'WARNING',
'Comparison': 'EQUALS'
}
]}
DEFAULT_SECURITY_HUB_FILTER = {
'WorkflowStatus': [
{
'Value': 'NEW',
'Comparison': 'EQUALS'
},
{
'Value': 'NOTIFIED',
'Comparison': 'EQUALS'
}
]
}


def get_available_security_hub_regions():
Expand Down

0 comments on commit 422d3fb

Please sign in to comment.