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 applicationsAudit logs can be used to check for anomalies and give insight into suspected breaches or misuse of information and access.
Set properties.retentionDays
attribute to 90
or greater. Alternatively set the value to 0
to retain records indefinitely in extendedAuditingSettings resource.
Set extended_auditing_policy.retention_in_days
attribute to 90
or greater. Alternatively, set the value to 0
to retain records indefinitely.
resource "azurerm_sql_server" "auditing_90days" {
name = "srv1${random_string.seed.result}"
resource_group_name = "${azurerm_resource_group.main.name}"
location = "${azurerm_resource_group.main.location}"
version = "12.0"
administrator_login = "admin"
administrator_login_password = "SecretPassw0rd"
extended_auditing_policy {
storage_endpoint = "${azurerm_storage_account.main.primary_blob_endpoint}"
storage_account_access_key = "${azurerm_storage_account.main.primary_access_key}"
storage_account_access_key_is_secondary = true
retention_in_days = 90
}
}