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 applicationsEnabling server access logging provides detailed records for the requests that are made to a S3 bucket. This information is useful for security and compliance auditing purposes.
For AWS provider < v4.0.0, add logging
block attribute. For AWS provider >= v4.0.0, add aws_s3_bucket_logging
resource.
# < v4.0.0
resource "aws_s3_bucket" "validbucket1" {
bucket = "valid-bucket1"
acl = "private"
logging {
target_bucket = "${aws_s3_bucket.logbucket.id}"
target_prefix = "log/"
}
}
# >= v4.0.0
resource "aws_s3_bucket" "bucket1" {
force_destroy = true
}
resource "aws_s3_bucket_acl" "acl1" {
bucket = aws_s3_bucket.bucket1.id
acl = "log-delivery-write"
}
resource "aws_s3_bucket_logging" "logging1" {
bucket = aws_s3_bucket.bucket1.id
target_bucket = aws_s3_bucket.bucket1.id
target_prefix = "log/"
}
Set the Properties.LoggingConfiguration
attribute.