diff --git a/awsfindingsmanagerlib/configuration.py b/awsfindingsmanagerlib/configuration.py index 0d7e5db..092d96a 100644 --- a/awsfindingsmanagerlib/configuration.py +++ b/awsfindingsmanagerlib/configuration.py @@ -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():