Policy types for @turbot/servicenow

ServiceNow > Application > Business Rule

Configure the Business Rule for ServiceNow > Application. This Business Rule would enable Guardrails to process real-time events for Applications and keep the CMDB data in Guardrails in sync with ServiceNow.

URI
tmod:@turbot/servicenow#/policy/types/applicationBusinessRule
Valid Value
[
"Skip",
"Check: Configured",
"Check: Not Configured",
"Enforce: Configured",
"Enforce: Not Configured"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Configured",
"Check: Not Configured",
"Enforce: Configured",
"Enforce: Not Configured"
],
"example": [
"Skip"
],
"default": "Skip"
}

ServiceNow > Application > Business Rule > Name

Business rule name for ServiceNow > Application.

URI
tmod:@turbot/servicenow#/policy/types/applicationBusinessRuleName
Schema
{
"type": "string",
"default": "Guardrails Application Business Rule"
}

ServiceNow > Application > CMDB

Configure whether to record and synchronize details for the ServiceNow Application 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".

URI
tmod:@turbot/servicenow#/policy/types/applicationCmdb
Category
Valid Value
[
"Skip",
"Enforce: Enabled",
"Enforce: Disabled"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Enforce: Enabled",
"Enforce: Disabled"
],
"example": [
"Skip"
],
"default": "Enforce: Enabled"
}

ServiceNow > Config

URI
tmod:@turbot/servicenow#/policy/types/serviceNowConfig
Targets

ServiceNow > Config > Application Scope

Guardrails' application scope for ServiceNow. E.g. x_10274_guardrails.

URI
tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope
Schema
{
"type": "string",
"default": null
}

ServiceNow > Config > Client ID

Client ID to be used by Guardrails to authenticate and synchronize data with ServiceNow.

URI
tmod:@turbot/servicenow#/policy/types/serviceNowClientId
Schema
{
"type": "string",
"default": null
}

ServiceNow > Config > Client Secret

Client Secret to be used by Guardrails to authenticate and synchronize data with ServiceNow.

URI
tmod:@turbot/servicenow#/policy/types/serviceNowClientSecret
Schema
{
"type": "string",
"default": null
}

ServiceNow > Config > Instance URL

The Instance URL for the ServiceNow Instance to be imported to Guardrails.

URI
tmod:@turbot/servicenow#/policy/types/serviceNowInstanceUrl
Schema
{
"type": "string",
"default": null
}

ServiceNow > Config > Password

Password to be used by Guardrails to authenticate and synchronize data with ServiceNow.

URI
tmod:@turbot/servicenow#/policy/types/serviceNowPassword
Schema
{
"type": "string",
"default": null
}

ServiceNow > Config > System Properties

Configure System Properties in ServiceNow.

URI
tmod:@turbot/servicenow#/policy/types/serviceNowConfigSystemProperties
Valid Value
[
"Skip",
"Check: Configured",
"Check: Not Configured",
"Enforce: Configured",
"Enforce: Not Configured"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Configured",
"Check: Not Configured",
"Enforce: Configured",
"Enforce: Not Configured"
],
"example": [
"Skip"
],
"default": "Skip"
}

ServiceNow > Config > System Properties > Template

A list of System Properties to be configured in ServiceNow. This policy will always include guardrails_webhook_url System Property by default, even when the property is not specified in the policy value.

URI
tmod:@turbot/servicenow#/policy/types/serviceNowConfigSystemPropertiesTemplate
Default Template Input
[
"{\n instance {\n turbot {\n id\n }\n }\n}\n",
"{\n webhook(action: \"tmod:@turbot/servicenow#/action/types/instanceEventHandler\" resource: {{ $.instance.turbot.id }}) {\n url\n }\n}\n"
]
Default Template
"- name: "guardrails_webhook_url"\n suffix: "guardrails_webhook_url"\n description: "Webhook URL to be used for Business Rules set up by Guardrails."\n type: "string"\n value: "{{ $.webhook.url }}"\n ignore_cache: true\n is_private: false\n read_roles: "admin"\n write_roles: "admin"\n"
Schema
{
"type": "array"
}

ServiceNow > Config > Username

Username to be used by Guardrails to authenticate and synchronize data with ServiceNow.

URI
tmod:@turbot/servicenow#/policy/types/serviceNowUsername
Schema
{
"type": "string",
"default": null
}

ServiceNow > Cost Center > Business Rule

Configure the Business Rule for ServiceNow > Cost Center. This Business Rule would enable Guardrails to process real-time events for Cost Centers and keep the CMDB data in Guardrails in sync with ServiceNow.

URI
tmod:@turbot/servicenow#/policy/types/costCenterBusinessRule
Valid Value
[
"Skip",
"Check: Configured",
"Check: Not Configured",
"Enforce: Configured",
"Enforce: Not Configured"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Configured",
"Check: Not Configured",
"Enforce: Configured",
"Enforce: Not Configured"
],
"example": [
"Skip"
],
"default": "Skip"
}

ServiceNow > Cost Center > Business Rule > Name

Business rule name for ServiceNow > Cost Center.

URI
tmod:@turbot/servicenow#/policy/types/costCenterBusinessRuleName
Schema
{
"type": "string",
"default": "Guardrails Cost Center Business Rule"
}

ServiceNow > Cost Center > CMDB

Configure whether to record and synchronize details for the ServiceNow CostCenter 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".

URI
tmod:@turbot/servicenow#/policy/types/costCenterCmdb
Category
Valid Value
[
"Skip",
"Enforce: Enabled",
"Enforce: Disabled"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Enforce: Enabled",
"Enforce: Disabled"
],
"example": [
"Skip"
],
"default": "Enforce: Enabled"
}

ServiceNow > Instance > CMDB

Configure whether to record and synchronize details for the ServiceNow 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".

URI
tmod:@turbot/servicenow#/policy/types/instanceCmdb
Category
Valid Value
[
"Skip",
"Enforce: Enabled",
"Enforce: Disabled"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Enforce: Enabled",
"Enforce: Disabled"
],
"example": [
"Skip"
],
"default": "Enforce: Enabled"
}

ServiceNow > Login Names

ServiceNow login names.

URI
tmod:@turbot/servicenow#/policy/types/loginNames
Default Template Input
"{\n profile{\n email\n }\n}\n"
Default Template
"- '{{ $.profile.email }}'"
Schema
{
"type": "array"
}

ServiceNow > Turbot

URI
tmod:@turbot/servicenow#/policy/types/turbot
Category
Targets

ServiceNow > Turbot > Watches

URI
tmod:@turbot/servicenow#/policy/types/watches
Targets

ServiceNow > User > Business Rule

Configure the Business Rule for ServiceNow > User. This Business Rule would enable Guardrails to process real-time events for Users and keep the CMDB data in Guardrails in sync with ServiceNow.

URI
tmod:@turbot/servicenow#/policy/types/userBusinessRule
Valid Value
[
"Skip",
"Check: Configured",
"Check: Not Configured",
"Enforce: Configured",
"Enforce: Not Configured"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Configured",
"Check: Not Configured",
"Enforce: Configured",
"Enforce: Not Configured"
],
"example": [
"Skip"
],
"default": "Skip"
}

ServiceNow > User > Business Rule > Name

Business rule name for ServiceNow > User.

URI
tmod:@turbot/servicenow#/policy/types/userBusinessRuleName
Schema
{
"type": "string",
"default": "Guardrails User Business Rule"
}

ServiceNow > User > CMDB

Configure whether to record and synchronize details for the ServiceNow User 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".

URI
tmod:@turbot/servicenow#/policy/types/userCmdb
Category
Valid Value
[
"Skip",
"Enforce: Enabled",
"Enforce: Disabled"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Enforce: Enabled",
"Enforce: Disabled"
],
"example": [
"Skip"
],
"default": "Enforce: Enabled"
}