Mods

Policy: ServiceNow > Application > CMDB > Query

Query string to filter ServiceNow Application records to be included in the CMDB.

See ServiceNow encoded query strings for more information on how to form query strings.

Examples: - Exclude retired applications from ServiceNow: operational_status!=6 - Include only operational applications from ServiceNow: operational_status=1 - Include operational applications which are installed in the last 2 years: operational_status=1^install_date>javascript:gs.beginningOfLast2Years() - Include operational applications with class "Web Server": operational_status=1^sys_class_name=cmdb_ci_web_server

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
string
Examples [YAML]
  • operational_status!=6
    
  • operational_status=1
    
  • operational_status=1^install_date>javascript:gs.beginningOfLast2Years()
    
  • >-
      operational_status=1^install_date>javascript:gs.dateGenerate(2023-01-01,00:00:00)
    
  • operational_status=1^sys_class_name=cmdb_ci_web_server
    

Category

In Your Workspace

Developers