Advanced Threat Protection is disabled for Azure Cosmos Db. This increases the likelihood of missing detection of anomalous activities indicating unusual and potentially harmful attempts to access or exploit databases.
In Azure Console -
In Terraform -
References:
https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/defender-for-cosmos-db
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/cosmosdb_account
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/advanced_threat_protection