Policy: ServiceNow > Cost Center > CMDB > Query
Query string to filter ServiceNow Cost Center records to be included in the CMDB.
See ServiceNow encoded query strings for more information on how to form query strings.
Examples: - Include cost centers which have an account number associated with them: account_numberISNOTEMPTY - Include cost centers which are valid from 2022-01-01: valid_from>=javascript:gs.dateGenerate('2022-01-01','00:00:00')
Targets
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Setting this policy configures these controls:
Policy Specification
Schema Type | |
|---|---|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/cmdb
- tmod:@turbot/servicenow#/policy/types/costCenterCmdbQuery
- turbot graphql policy-type --id "tmod:@turbot/servicenow#/policy/types/costCenterCmdbQuery"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/servicenow#/policy/types/costCenterCmdbQuery"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI