Added the rest of rules to Service Security finding

This commit is contained in:
VakarisZ 2020-09-25 12:48:53 +03:00
parent 5fefe654f3
commit 059d86b0c2
4 changed files with 16 additions and 1 deletions

View File

@ -161,9 +161,14 @@ class LOGGING:
test = zero_trust_consts.TEST_SCOUTSUITE_LOGGING
class SERVICE_SECURITY:
rules = [
CloudformationRules.CLOUDFORMATION_STACK_WITH_ROLE
CloudformationRules.CLOUDFORMATION_STACK_WITH_ROLE,
ELBv2Rules.ELBV2_HTTP_REQUEST_SMUGGLING,
RDSRules.RDS_INSTANCE_CA_CERTIFICATE_DEPRECATED,
RDSRules.RDS_INSTANCE_NO_MINOR_UPGRADE,
RedshiftRules.REDSHIFT_CLUSTER_NO_VERSION_UPGRADE
]
test = zero_trust_consts.TEST_SCOUTSUITE_SERVICE_SECURITY

View File

@ -11,3 +11,6 @@ class ELBv2Rules(Enum):
# Data loss prevention
ELBV2_NO_DELETION_PROTECTION = 'elbv2-no-deletion-protection'
# Service security
ELBV2_HTTP_REQUEST_SMUGGLING = 'elbv2-http-request-smuggling'

View File

@ -13,3 +13,7 @@ class RDSRules(Enum):
# Firewalls
RDS_SECURITY_GROUP_ALLOWS_ALL = 'rds-security-group-allows-all'
RDS_SNAPSHOT_PUBLIC = 'rds-snapshot-public'
# Service security
RDS_INSTANCE_CA_CERTIFICATE_DEPRECATED = 'rds-instance-ca-certificate-deprecated'
RDS_INSTANCE_NO_MINOR_UPGRADE = 'rds-instance-no-minor-upgrade'

View File

@ -14,3 +14,6 @@ class RedshiftRules(Enum):
# Logging
REDSHIFT_PARAMETER_GROUP_LOGGING_DISABLED = 'redshift-parameter-group-logging-disabled'
# Service security
REDSHIFT_CLUSTER_NO_VERSION_UPGRADE = 'redshift-cluster-no-version-upgrade'