Cortex CloudApplication Security
Azure Cosmos DB enables public network access misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC_AZURE_101
Category - Subcategory
Public Exposure - Database Endpoints
Provider
AZURE
Severity
LOW
Framework
ARM, Bicep, Terraform, Terraform Plan
Impact
By ensuring that your Azure Cosmos DB is not public, you can help protect your data from unauthorized access or tampering. Public Azure Cosmos DBs are accessible over the internet, which can make them vulnerable to external threats such as hackers or malware. By making it private, you can help ensure that only authorized users can access the data.
How to Fix
Resource: azurerm_cosmosdb_account
Arguments: public_network_access_enabled [source,go]
resource "azurerm_cosmosdb_account" "db" { ...
public_network_access_enabled = false
}
PreviousCosmos DB accounts do not have restricted access misconfiguration detected in code
NextAzure Data Factory (V2) configured with overly permissive network access misconfiguration detected i
Last updated
Was this helpful?
