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 applicationsA retention policy for a Cloud Storage bucket governs how long objects in the bucket must be retained. Bucket Lock is a feature to permanently restrict edits to the data retention policy. Bucket Lock should be enabled because it preserves activity logs for forensics and security investigations if the system is compromised by an attacker or malicious insider who wants to cover their tracks.
Set the retention_policy.is_locked
attribute to true
.
resource "google_storage_bucket" "logs_bucket" {
name = "valid-bucket-lock"
force_destroy = true
uniform_bucket_level_access = true
retention_policy {
retention_period = 86400
is_locked = true
}
}