Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self):
name = "Ensure Stackdriver Logging is set to Enabled on Kubernetes Engine Clusters"
id = "CKV_GCP_1"
supported_resources = ['google_container_cluster']
categories = [CheckCategories.LOGGING]
super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
def __init__(self):
name = "Ensure all data stored in the Elasticsearch is securely encrypted at rest"
id = "CKV_AWS_5"
supported_resources = ['aws_elasticsearch_domain']
categories = [CheckCategories.ENCRYPTION]
super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
def __init__(self):
name = "Ensure the S3 bucket has access logging enabled"
id = "CKV_AWS_18"
supported_resources = ['aws_s3_bucket']
categories = [CheckCategories.LOGGING]
super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
def __init__(self):
name = "S3 Bucket has an ACL defined which allows public access."
id = "CKV_AWS_20"
supported_resources = ['aws_s3_bucket']
categories = [CheckCategories.GENERAL_SECURITY]
super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
def __init__(self):
name = "Ensure all data stored in the SNS topic is encrypted"
id = "CKV_AWS_26"
supported_resources = ['aws_sns_topic']
categories = [CheckCategories.ENCRYPTION]
super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)