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 applicationsAccount key-based write access to account data exposes sensitive configuration options to non-administrative accounts.
Set Properties.disableKeyBasedMetadataWriteAccess
to true
.
Set access_key_metadata_writes_enabled
to false
.
resource "azurerm_cosmosdb_account" "allowed" {
name = "example-cosmodb-524v"
location = azurerm_resource_group.example524v.location
resource_group_name = azurerm_resource_group.example524v.name
offer_type = "Standard"
kind = "GlobalDocumentDB"
enable_automatic_failover = true
access_key_metadata_writes_enabled = false
consistency_policy {
consistency_level = "BoundedStaleness"
max_interval_in_seconds = 10
max_staleness_prefix = 200
}
geo_location {
location = "eastus"
failover_priority = 0
}
}