Control: Azure > Cosmos DB > MongoDB Database > Active
Take an action when an Azure Cosmos DB mongodb database is not active based on the Azure > Cosmos DB > MongoDB Database > Active > * policies
.
The Active control determines whether the resource is in active use, and if not, has the ability to delete / cleanup the resource. When running an automated compliance environment, it's common to end up with a wide range of alarms that are difficult and time consuming to clear. The Active control brings automated, well-defined control to this process.
The Active control checks the status of all defined Active policies for the resource (Azure > Cosmos DB > MongoDB Database > Active > *
), raises an alarm, and takes the defined enforcement action. Each Active sub-policy can calculate a status of active, inactive or skipped. Generally, if the resource appears to be Active for any reason it will be considered Active.
Note: In contrast with Approved, where if the resource appears to be Unapproved for any reason it will be considered Unapproved.
See Active for more information.
Resource Types
This control targets the following resource types:
Primary Policies
The following policies can be used to configure this control:
Category
In Your Workspace
Developers
- tmod:@turbot/azure-cosmosdb#/control/types/mongoDbDatabaseActive
- tmod:@turbot/turbot#/control/categories/resourceActive
- turbot graphql controls --filter "controlTypeId:tmod:@turbot/azure-cosmosdb#/control/types/mongoDbDatabaseActive"
Get Controls