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 applicationsIf log retention is not set to the maximum length, audit records may not be available during investigations.
Set properties.days
attribute to 365
or greater and enabled
to true
.
Set retention_policy.days
attribute to 365
or greater, and set retention_policy.enabled
to true
.
resource "azurerm_monitor_log_profile" "allowed" {
name = "defaulta1"
categories = [
"Action",
"Delete",
"Write",
]
locations = [
"westus",
"global",
]
storage_account_id = azurerm_storage_account.example558.id
retention_policy {
enabled = true
days = 365
}
}