Ensure tags are associated with Azure CosmosDB Account

LOW

Description

Lack of tags in Azure CosmosDB Account may make resource organization challenging.

Remediation

In Azure Console -

  1. Open the Azure Portal and go to Cosmos DB.
  2. Choose the Database you wish to edit.
  3. Select Tags in the navigation bar.
  4. Configure accordingly.

In Terraform -

  1. In the azurerm_cosmosdb_account resource, configure the tags accordingly.

References:
https://learn.microsoft.com/en-us/azure/cosmos-db/
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/cosmosdb_account#tags

Policy Details

Rule Reference ID: AC_AZURE_0277
CSP: Azure
Remediation Available: Yes
Resource Category: Database
Resource Type: Cosmos DB Account

Frameworks