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 applicationsDatabases under the account may be accessible by anyone on the internet.
properties.publicNetworkAccess
to Disabled
.
Set public_network_access_enabled
attribute to false
or set is_virtual_network_filter_enabled
to true
.
resource "azurerm_cosmosdb_account" "allowed" {
name = "examplecosmodb522v"
location = azurerm_resource_group.example522.location
resource_group_name = azurerm_resource_group.example522.name
offer_type = "Standard"
kind = "GlobalDocumentDB"
public_network_access_enabled = false
is_virtual_network_filter_enabled = true
capabilities {
name = "EnableAggregationPipeline"
}
capabilities {
name = "mongoEnableDocLevelTTL"
}
capabilities {
name = "MongoDBv3.4"
}
consistency_policy {
consistency_level = "BoundedStaleness"
max_interval_in_seconds = 10
max_staleness_prefix = 200
}
geo_location {
location = "eastus"
failover_priority = 1
}
geo_location {
location = "westus"
failover_priority = 0
}
}