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 enabling object versioning, data is protected from overwrites and deletions.
Set the aws_s3_bucket
versioning
block enabled
field to true
.
versioning
block sets the field enabled
to true
.versioning_configuration
block sets the field status
to Enabled
.# Example < v4.0.0
resource "aws_s3_bucket" "example" {
bucket = "example"
versioning {
enabled = true
}
}
# Example >= v4.0.0
resource "aws_s3_bucket" "example2" {
bucket = "example2"
}
resource "aws_s3_bucket_versioning" "example" {
bucket = aws_s3_bucket.example2.id
versioning_configuration {
status = "Enabled"
}
}
Set Properties.VersioningConfiguration.Status
attribute to Enabled
.