CCSS (Common Configuration Scoring System) is a set of measures used to determine the severity of the rule.
Each rule is associated with a high-level category. For example IAM, Container, Monitoring, Logging, Network, etc.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsECR repository is not encrypted with customer managed key.
Set encryption_configuration.kms_key
attribute to customer managed KMS key.
resource "aws_ecr_repository" "secure" {
name = "secure-example"
encryption_configuration {
encryption_type = "KMS"
kms_key = "arnsomekey"
}
}
Set Properties.EncryptionConfiguration.KmsKey
attribute to customer managed KMS key.
JSON example configuration:
{
"Type": "AWS::ECR::Repository",
"Properties": {
"RepositoryName" : "test-repository",
"EncryptionConfiguration": {
"KmsKey": "arnsomekey"
}
}
# other re quired fields here
}
YAML example configuration:
Type: AWS::ECR::Repository
Properties:
EncryptionConfiguration:
EncryptionType: KMS
KmsKey: arnsomekey
# other required fields here