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 applicationsAzure services will be able to connect to the database without an explicit allow ACL.
Set properties.networkAclBypass
to None
.
Set network_acl_bypass_for_azure_services
attribute to false
.
resource "azurerm_cosmosdb_account" "allow" {
name = "tfex-cosmos-db-${random_integer.ri.result}"
location = azurerm_resource_group.example523a.location
resource_group_name = azurerm_resource_group.example523a.name
offer_type = "Standard"
kind = "MongoDB"
network_acl_bypass_for_azure_services = false
capabilities {
name = "EnableAggregationPipeline"
}
capabilities {
name = "mongoEnableDocLevelTTL"
}
capabilities {
name = "MongoDBv3.4"
}
capabilities {
name = "EnableMongo"
}
consistency_policy {
consistency_level = "BoundedStaleness"
max_interval_in_seconds = 300
max_staleness_prefix = 100000
}
geo_location {
location = "eastus"
failover_priority = 1
}
geo_location {
location = "westus"
failover_priority = 0
}
}