def lambda_handler(event, context): my_rule = RDS_LOGGING_ENABLED() evaluator = Evaluator(my_rule) return evaluator.handle(event, context)
def lambda_handler(event, context): my_rule = ALB_HTTP_TO_HTTPS_REDIRECTION_CHECK() evaluator = Evaluator(my_rule) return evaluator.handle(event, context)
def lambda_handler(event, context): my_rule = <%RuleName%>() evaluator = Evaluator(my_rule) return evaluator.handle(event, context)
def lambda_handler(event, context): my_rule = EC2_SECURITY_GROUP_ATTACHED_TO_ENI() evaluator = Evaluator(my_rule, APPLICABLE_RESOURCES) return evaluator.handle(event, context)
def lambda_handler(event, context): my_rule = SECURITYHUB_ENABLED() evaluator = Evaluator(my_rule, APPLICABLE_RESOURCES) return evaluator.handle(event, context)
def lambda_handler(event, context): my_rule = EC2_TAG_VOLUMES() evaluator = Evaluator(my_rule, APPLICABLE_RESOURCES) return evaluator.handle(event, context)
def lambda_handler(event, context): my_rule = IAM_ROLE_NOT_USED() evaluator = Evaluator(my_rule) return evaluator.handle(event, context)
def lambda_handler(event, context): my_rule = SCHEDULE_KEY_DELETION_ACCESS_RULE() evaluator = Evaluator(my_rule, APPLICABLE_RESOURCES) return evaluator.handle(event, context)
def lambda_handler(event, context): my_rule = AMI_DEPRECATED_CHECK() evaluator = Evaluator(my_rule) return evaluator.handle(event, context)
def lambda_handler(event, context): my_rule = EC2_INSTANCE_EBS_VOLUME_TAGS_MATCH() evaluator = Evaluator(my_rule, APPLICABLE_RESOURCES) return evaluator.handle(event, context)
def lambda_handler(event, context): my_rule = SECURITYHUB_ENABLED() evaluator = Evaluator(my_rule) return evaluator.handle(event, context)