Skip to content

Commit

Permalink
chore: updates default SecurityHub filter
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandogoncalves-me committed Nov 25, 2024
1 parent 7a1d8c4 commit e9a94a1
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': 'SUPPRESSED',
'Comparison': 'NOT_EQUALS'
},
{
'Value': 'RESOLVED',
'Comparison': 'NOT_EQUALS'
}
]
}


def get_available_security_hub_regions():
Expand Down

0 comments on commit e9a94a1

Please sign in to comment.