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 applicationsBy associating a trail with an SNS topic, you can be notified when CloudTrail publishes new log files to your Amazon S3 bucket. The AWS API call history produced by CloudTrail enables security analysis, resource change tracking, and compliance auditing.
Ensure that if an aws_cloudtrail
has an sns_topic_name
set, the associated aws_sns_topic
is not missing.
resource "aws_cloudtrail" "valid_trail_by_topic_name" {
name = "valid_trail_by_topic_name"
s3_bucket_name = "${aws_s3_bucket.ct_bucket.id}"
sns_topic_name = "${aws_sns_topic.ct_topic.name}"
}
resource "aws_sns_topic" "ct_topic" {
name = "ct-topic"
policy = <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AWSCloudTrailSNSPolicy20131101",
"Effect": "Allow",
"Principal": {
"Service": "cloudtrail.amazonaws.com"
},
"Action": "SNS:Publish",
"Resource": "arn:aws:sns:us-east-2:123456789012:ct-topic"
}
]
}
EOF
}