Policy: ServiceNow > Custom > Record > CMDB > Query
Query string to filter ServiceNow Custom records to be included in the CMDB.
See ServiceNow encoded query strings for more information on how to form query strings.
Examples: - Exclude retired records from ServiceNow: operational_status!=6
- Include only operational records from ServiceNow: operational_status=1
Targets
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Policy Specification
Schema Type |
|
---|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/cmdb
- tmod:@turbot/servicenow-custom#/policy/types/recordCmdbQuery
- turbot graphql policy-type --id "tmod:@turbot/servicenow-custom#/policy/types/recordCmdbQuery"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/servicenow-custom#/policy/types/recordCmdbQuery"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI