Policy: Azure > SQL > Managed Instance > CMDB
Configure whether to record and synchronize details for the Azure SQL managed instance into the CMDB.
The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB. All policies and controls in Guardrails are based around the resource, so usually the CMDB policy is set to "Enforce: Enabled".
If set to Skip then all changes to the CMDB are paused - no new resources will be discovered, no updates will be made and deleted resources will not be removed.
To cleanup resources and stop tracking changes, set this policy to "Enforce: Disabled".
CMDB controls also use the Regions policy associated with the resource. If region is not in Azure > SQL > Managed Instance > Regions
policy, the CMDB control will delete the resource from the CMDB.
(Note: Setting CMDB to "Skip" will also pause these changes.)
Resource Types
This policy targets the following resource types:
Controls
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/cmdb
- tmod:@turbot/azure-sql#/policy/types/managedInstanceCmdb
- turbot graphql policy-type --id "tmod:@turbot/azure-sql#/policy/types/managedInstanceCmdb"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-sql#/policy/types/managedInstanceCmdb"
Get Policy TypeGet Policy Settings