Policy: GCP > Composer > Environment > CMDB
Configure whether to record and synchronize details for the GCP Composer environment 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 GCP > Composer > Environment > 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/gcp-composer#/policy/types/environmentCmdb
- turbot graphql policy-type --id "tmod:@turbot/gcp-composer#/policy/types/environmentCmdb"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-composer#/policy/types/environmentCmdb"
Get Policy TypeGet Policy Settings