Policy types for @turbot/servicenow-azure-network

Azure > Network > Application Security Group > ServiceNow

URI
tmod:@turbot/servicenow-azure-network#/policy/types/applicationSecurityGroupServiceNow
Targets

Azure > Network > Application Security Group > ServiceNow > Configuration Item

Synchronize the data for the Azure > Network > Application Security Group based on the policies Azure > Network > Application Security Group > ServiceNow > Configuration Item > *

The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Network > Application Security Group information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/applicationSecurityGroupServiceNowConfigurationItem
Valid Value
[
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
],
"example": [
"Skip"
],
"default": "Skip"
}

Azure > Network > Application Security Group > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Network > Application Security Group is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/applicationSecurityGroupServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: applicationSecurityGroup{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"application_security_group_name: {{ $.resource.data.name | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\n"
Schema
{
"type": "object"
}

Azure > Network > Application Security Group > ServiceNow > Configuration Item > Table Definition

This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Network > Application Security Group data will be stored, and the details of the columns used for archiving purposes.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/applicationSecurityGroupServiceNowConfigurationItemTableDefinition
Default Template Input
[
"{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n",
"{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-azure-network#/policy/types/applicationSecurityGroupServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"
]
Default Template
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"tableName"
],
"properties": {
"tableName": {
"type": "string"
},
"archiveColumns": {
"type": "object"
}
}
}

Azure > Network > Application Security Group > ServiceNow > Table

Configure a Table for Azure > Network > Application Security Group resource type in ServiceNow via the Azure > Network > Application Security Group > ServiceNow > Table > * policies.

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

Azure > Network > Application Security Group > ServiceNow > Table > Definition

The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Network > Application Security Group data.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/applicationSecurityGroupServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_azure_network_applicationsecuritygroup",
"label": "Azure > Network > Application Security Group",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "application_security_group_name",
"label": "Application Security Group Name"
},
{
"name": "id",
"label": "ID"
},
{
"name": "provisioning_state",
"label": "Provisioning State"
},
{
"name": "region",
"label": "Region"
},
{
"name": "resource_group",
"label": "Resource Group",
"type": "string",
"size": 200
},
{
"name": "subscription_id",
"label": "Subscription ID"
},
{
"name": "tags",
"label": "Tags",
"type": "string",
"size": 1000
},
{
"name": "type",
"label": "Type"
}
]
}
}

Azure > Network > Express Route Circuits > ServiceNow

URI
tmod:@turbot/servicenow-azure-network#/policy/types/expressRouteCircuitsServiceNow
Targets

Azure > Network > Express Route Circuits > ServiceNow > Configuration Item

Synchronize the data for the Azure > Network > Express Route Circuits based on the policies Azure > Network > Express Route Circuits > ServiceNow > Configuration Item > *

The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Network > Express Route Circuits information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/expressRouteCircuitsServiceNowConfigurationItem
Valid Value
[
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
],
"example": [
"Skip"
],
"default": "Skip"
}

Azure > Network > Express Route Circuits > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Network > Express Route Circuits is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/expressRouteCircuitsServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: expressRouteCircuits{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"allow_classic_operations: {{ $.resource.data.allowClassicOperations | dump | safe }}\ncircuit_provisioning_state: {{ $.resource.data.circuitProvisioningState | dump | safe }}\nexpress_route_circuits_name: {{ $.resource.data.name | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\npeerings: {{ $.resource.data.peerings | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nservice_provider_properties: {{ $.resource.data.serviceProviderProperties | dump | safe }}\nservice_provider_provisioning_state: {{ $.resource.data.serviceProviderProvisioningState | dump | safe }}\nsku_family: {{ $.resource.data.sku.family | dump | safe }}\nsku_name: {{ $.resource.data.sku.name | dump | safe }}\nsku_tier: {{ $.resource.data.sku.tier | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\n"
Schema
{
"type": "object"
}

Azure > Network > Express Route Circuits > ServiceNow > Configuration Item > Table Definition

This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Network > Express Route Circuits data will be stored, and the details of the columns used for archiving purposes.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/expressRouteCircuitsServiceNowConfigurationItemTableDefinition
Default Template Input
[
"{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n",
"{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-azure-network#/policy/types/expressRouteCircuitsServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"
]
Default Template
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"tableName"
],
"properties": {
"tableName": {
"type": "string"
},
"archiveColumns": {
"type": "object"
}
}
}

Azure > Network > Express Route Circuits > ServiceNow > Table

Configure a Table for Azure > Network > Express Route Circuits resource type in ServiceNow via the Azure > Network > Express Route Circuits > ServiceNow > Table > * policies.

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

Azure > Network > Express Route Circuits > ServiceNow > Table > Definition

The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Network > Express Route Circuits data.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/expressRouteCircuitsServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_azure_network_expressroutecircuits",
"label": "Azure > Network > Express Route Circuits",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "allow_classic_operations",
"label": "Allow Classic Operations",
"type": "boolean"
},
{
"name": "circuit_provisioning_state",
"label": "Circuit Provisioning State"
},
{
"name": "express_route_circuits_name",
"label": "Express Route Circuits Name"
},
{
"name": "id",
"label": "ID"
},
{
"name": "peerings",
"label": "Peerings",
"type": "string",
"size": 1000
},
{
"name": "provisioning_state",
"label": "Provisioning State"
},
{
"name": "region",
"label": "Region"
},
{
"name": "resource_group",
"label": "Resource Group",
"type": "string",
"size": 200
},
{
"name": "service_provider_properties",
"label": "Service Provider Properties",
"type": "string",
"size": 1000
},
{
"name": "service_provider_provisioning_state",
"label": "Service Provider Provisioning State"
},
{
"name": "sku_family",
"label": "SKU Family"
},
{
"name": "sku_name",
"label": "SKU Name"
},
{
"name": "sku_tier",
"label": "SKU Tier"
},
{
"name": "subscription_id",
"label": "Subscription ID"
},
{
"name": "tags",
"label": "Tags",
"type": "string",
"size": 1000
}
]
}
}

Azure > Network > Network Interface > ServiceNow

URI
tmod:@turbot/servicenow-azure-network#/policy/types/networkInterfaceServiceNow
Targets

Azure > Network > Network Interface > ServiceNow > Configuration Item

Synchronize the data for the Azure > Network > Network Interface based on the policies Azure > Network > Network Interface > ServiceNow > Configuration Item > *

The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Network > Network Interface information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/networkInterfaceServiceNowConfigurationItem
Valid Value
[
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
],
"example": [
"Skip"
],
"default": "Skip"
}

Azure > Network > Network Interface > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Network > Network Interface is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/networkInterfaceServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: networkInterface{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"dns_servers: {{ $.resource.data.dnsSettings.dnsServers | dump | safe }}\nenable_accelerated_networking: {{ $.resource.data.enableAcceleratedNetworking | dump | safe }}\nenable_ip_forwarding: {{ $.resource.data.enableIPForwarding | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nip_configurations: {{ $.resource.data.ipConfigurations | dump | safe }}\nnetwork_interface_mac_address: {{ $.resource.data.networkInterfaceMacAddress | dump | safe }}\nnetwork_interface_name: {{ $.resource.data.name | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntap_configurations: {{ $.resource.data.tapConfigurations | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\nvirtual_machine_id: {{ $.resource.data.virtualMachine.id | dump | safe }}\n"
Schema
{
"type": "object"
}

Azure > Network > Network Interface > ServiceNow > Configuration Item > Table Definition

This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Network > Network Interface data will be stored, and the details of the columns used for archiving purposes.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/networkInterfaceServiceNowConfigurationItemTableDefinition
Default Template Input
[
"{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n",
"{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-azure-network#/policy/types/networkInterfaceServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"
]
Default Template
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"tableName"
],
"properties": {
"tableName": {
"type": "string"
},
"archiveColumns": {
"type": "object"
}
}
}

Azure > Network > Network Interface > ServiceNow > Table

Configure a Table for Azure > Network > Network Interface resource type in ServiceNow via the Azure > Network > Network Interface > ServiceNow > Table > * policies.

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

Azure > Network > Network Interface > ServiceNow > Table > Definition

The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Network > Network Interface data.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/networkInterfaceServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_azure_network_networkinterface",
"label": "Azure > Network > Network Interface",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "dns_servers",
"label": "DNS Servers",
"type": "string",
"size": 1000
},
{
"name": "enable_accelerated_networking",
"label": "Enable Accelerated Networking",
"type": "boolean"
},
{
"name": "enable_ip_forwarding",
"label": "Enable IP Forwarding",
"type": "boolean"
},
{
"name": "id",
"label": "ID"
},
{
"name": "ip_configurations",
"label": "IP Configurations",
"type": "string",
"size": 1000
},
{
"name": "network_interface_mac_address",
"label": "Network Interface MAC Address"
},
{
"name": "network_interface_name",
"label": "Network Interface Name"
},
{
"name": "provisioning_state",
"label": "Provisioning State"
},
{
"name": "region",
"label": "Region"
},
{
"name": "resource_group",
"label": "Resource Group",
"type": "string",
"size": 200
},
{
"name": "subscription_id",
"label": "Subscription ID"
},
{
"name": "tags",
"label": "Tags",
"type": "string",
"size": 1000
},
{
"name": "tap_configurations",
"label": "Tap Configurations",
"type": "string",
"size": 1000
},
{
"name": "type",
"label": "Type"
},
{
"name": "virtual_machine_id",
"label": "Virtual Machine ID"
}
]
}
}

Azure > Network > Network Security Group > ServiceNow

URI
tmod:@turbot/servicenow-azure-network#/policy/types/networkSecurityGroupServiceNow
Targets

Azure > Network > Network Security Group > ServiceNow > Configuration Item

Synchronize the data for the Azure > Network > Network Security Group based on the policies Azure > Network > Network Security Group > ServiceNow > Configuration Item > *

The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Network > Network Security Group information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/networkSecurityGroupServiceNowConfigurationItem
Valid Value
[
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
],
"example": [
"Skip"
],
"default": "Skip"
}

Azure > Network > Network Security Group > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Network > Network Security Group is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/networkSecurityGroupServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: networkSecurityGroup{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"default_security_rules: {{ $.resource.data.defaultSecurityRules | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nnetwork_interfaces: {{ $.resource.data.networkInterfaces | dump | safe }}\nnetwork_security_group_name: {{ $.resource.data.name | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nresource_guid: {{ $.resource.data.resourceGuid | dump | safe }}\nsecurity_rules: {{ $.resource.data.securityRules | dump | safe }}\nsubnets: {{ $.resource.data.subnets | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\n"
Schema
{
"type": "object"
}

Azure > Network > Network Security Group > ServiceNow > Configuration Item > Table Definition

This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Network > Network Security Group data will be stored, and the details of the columns used for archiving purposes.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/networkSecurityGroupServiceNowConfigurationItemTableDefinition
Default Template Input
[
"{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n",
"{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-azure-network#/policy/types/networkSecurityGroupServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"
]
Default Template
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"tableName"
],
"properties": {
"tableName": {
"type": "string"
},
"archiveColumns": {
"type": "object"
}
}
}

Azure > Network > Network Security Group > ServiceNow > Table

Configure a Table for Azure > Network > Network Security Group resource type in ServiceNow via the Azure > Network > Network Security Group > ServiceNow > Table > * policies.

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

Azure > Network > Network Security Group > ServiceNow > Table > Definition

The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Network > Network Security Group data.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/networkSecurityGroupServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_azure_network_networksecuritygroup",
"label": "Azure > Network > Network Security Group",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "default_security_rules",
"label": "Default Security Rules",
"type": "string",
"size": 1000
},
{
"name": "id",
"label": "ID"
},
{
"name": "network_interfaces",
"label": "Network Interfaces",
"type": "string",
"size": 1000
},
{
"name": "network_security_group_name",
"label": "Network Security Group Name"
},
{
"name": "provisioning_state",
"label": "Provisioning State"
},
{
"name": "region",
"label": "Region"
},
{
"name": "resource_group",
"label": "Resource Group",
"type": "string",
"size": 200
},
{
"name": "resource_guid",
"label": "Resource GUID"
},
{
"name": "security_rules",
"label": "Security Rules",
"type": "string",
"size": 1000
},
{
"name": "subnets",
"label": "Subnets",
"type": "string",
"size": 1000
},
{
"name": "subscription_id",
"label": "Subscription ID"
},
{
"name": "tags",
"label": "Tags",
"type": "string",
"size": 1000
},
{
"name": "type",
"label": "Type"
}
]
}
}

Azure > Network > Private DNS Zones > ServiceNow

URI
tmod:@turbot/servicenow-azure-network#/policy/types/privateDnsZonesServiceNow
Targets

Azure > Network > Private DNS Zones > ServiceNow > Configuration Item

Synchronize the data for the Azure > Network > Private DNS Zones based on the policies Azure > Network > Private DNS Zones > ServiceNow > Configuration Item > *

The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Network > Private DNS Zones information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/privateDnsZonesServiceNowConfigurationItem
Valid Value
[
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
],
"example": [
"Skip"
],
"default": "Skip"
}

Azure > Network > Private DNS Zones > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Network > Private DNS Zones is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/privateDnsZonesServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: privateDnsZones{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"id: {{ $.resource.data.id | dump | safe }}\nmax_number_of_record_sets: {{ $.resource.data.maxNumberOfRecordSets | dump | safe }}\nmax_number_of_virtual_network_links: {{ $.resource.data.maxNumberOfVirtualNetworkLinks | dump | safe }}\nnumber_of_record_sets: {{ $.resource.data.numberOfRecordSets | dump | safe }}\nnumber_of_virtual_network_links: {{ $.resource.data.numberOfVirtualNetworkLinks | dump | safe }}\nprivate_dns_zones_name: {{ $.resource.data.name | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\n"
Schema
{
"type": "object"
}

Azure > Network > Private DNS Zones > ServiceNow > Configuration Item > Table Definition

This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Network > Private DNS Zones data will be stored, and the details of the columns used for archiving purposes.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/privateDnsZonesServiceNowConfigurationItemTableDefinition
Default Template Input
[
"{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n",
"{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-azure-network#/policy/types/privateDnsZonesServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"
]
Default Template
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"tableName"
],
"properties": {
"tableName": {
"type": "string"
},
"archiveColumns": {
"type": "object"
}
}
}

Azure > Network > Private DNS Zones > ServiceNow > Table

Configure a Table for Azure > Network > Private DNS Zones resource type in ServiceNow via the Azure > Network > Private DNS Zones > ServiceNow > Table > * policies.

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

Azure > Network > Private DNS Zones > ServiceNow > Table > Definition

The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Network > Private DNS Zones data.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/privateDnsZonesServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_azure_network_privatednszones",
"label": "Azure > Network > Private DNS Zones",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "id",
"label": "ID"
},
{
"name": "max_number_of_record_sets",
"label": "Max Number Of Record Sets"
},
{
"name": "max_number_of_virtual_network_links",
"label": "Max Number Of Virtual Network Links"
},
{
"name": "number_of_record_sets",
"label": "Number Of Record Sets"
},
{
"name": "number_of_virtual_network_links",
"label": "Number Of Virtual Network Links"
},
{
"name": "private_dns_zones_name",
"label": "Private Dns Zones Name"
},
{
"name": "provisioning_state",
"label": "Provisioning State"
},
{
"name": "region",
"label": "Region"
},
{
"name": "resource_group",
"label": "Resource Group",
"type": "string",
"size": 200
},
{
"name": "subscription_id",
"label": "Subscription ID"
},
{
"name": "tags",
"label": "Tags",
"type": "string",
"size": 1000
},
{
"name": "type",
"label": "Type"
}
]
}
}

Azure > Network > Private Endpoints > ServiceNow

URI
tmod:@turbot/servicenow-azure-network#/policy/types/privateEndpointsServiceNow
Targets

Azure > Network > Private Endpoints > ServiceNow > Configuration Item

Synchronize the data for the Azure > Network > Private Endpoints based on the policies Azure > Network > Private Endpoints > ServiceNow > Configuration Item > *

The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Network > Private Endpoints information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/privateEndpointsServiceNowConfigurationItem
Valid Value
[
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
],
"example": [
"Skip"
],
"default": "Skip"
}

Azure > Network > Private Endpoints > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Network > Private Endpoints is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/privateEndpointsServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: privateEndpoints{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"custom_dns_configs: {{ $.resource.data.customDnsConfigs | dump | safe }}\ncustom_network_interface_name: {{ $.resource.data.customNetworkInterfaceName | dump | safe }}\netag: {{ $.resource.data.etag | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nmanual_private_link_service_connections: {{ $.resource.data.manualPrivateLinkServiceConnections | dump | safe }}\nnetwork_interfaces: {{ $.resource.data.networkInterfaces | dump | safe }}\nprivate_endpoint_name: {{ $.resource.data.name | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\nregion: {{ $.resource.metadata.azure.regionName | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nsubnets: {{ $.resource.data.subnets | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\n"
Schema
{
"type": "object"
}

Azure > Network > Private Endpoints > ServiceNow > Configuration Item > Table Definition

This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Network > Private Endpoints data will be stored, and the details of the columns used for archiving purposes.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/privateEndpointsServiceNowConfigurationItemTableDefinition
Default Template Input
[
"{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n",
"{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-azure-network#/policy/types/privateEndpointsServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"
]
Default Template
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"tableName"
],
"properties": {
"tableName": {
"type": "string"
},
"archiveColumns": {
"type": "object"
}
}
}

Azure > Network > Private Endpoints > ServiceNow > Table

Configure a Table for Azure > Network > Private Endpoints resource type in ServiceNow via the Azure > Network > Private Endpoints > ServiceNow > Table > * policies.

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

Azure > Network > Private Endpoints > ServiceNow > Table > Definition

The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Network > Private Endpoints data.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/privateEndpointsServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_azure_network_privateendpoints",
"label": "Azure > Network > Private Endpoints",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "custom_dns_configs",
"label": "Custom DNS Configs",
"type": "string",
"size": 1000
},
{
"name": "custom_network_interface_name",
"label": "Custom Network Interface Name",
"type": "string",
"size": 200
},
{
"name": "etag",
"label": "ETag"
},
{
"name": "id",
"label": "ID"
},
{
"name": "manual_private_link_service_connections",
"label": "Manual Private Link Service Connections",
"type": "string",
"size": 1000
},
{
"name": "network_interfaces",
"label": "Network Interfaces",
"type": "string",
"size": 1000
},
{
"name": "private_endpoint_name",
"label": "Private Endpoint Name"
},
{
"name": "provisioning_state",
"label": "Provisioning State"
},
{
"name": "region",
"label": "Region"
},
{
"name": "resource_group",
"label": "Resource Group",
"type": "string",
"size": 200
},
{
"name": "subnets",
"label": "Subnets",
"type": "string",
"size": 1000
},
{
"name": "subscription_id",
"label": "Subscription ID"
},
{
"name": "tags",
"label": "Tags",
"type": "string",
"size": 1000
},
{
"name": "type",
"label": "Type"
}
]
}
}

Azure > Network > Public IP Address > ServiceNow

URI
tmod:@turbot/servicenow-azure-network#/policy/types/publicIpAddressServiceNow
Targets

Azure > Network > Public IP Address > ServiceNow > Configuration Item

Synchronize the data for the Azure > Network > Public IP Address based on the policies Azure > Network > Public IP Address > ServiceNow > Configuration Item > *

The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Network > Public IP Address information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/publicIpAddressServiceNowConfigurationItem
Valid Value
[
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
],
"example": [
"Skip"
],
"default": "Skip"
}

Azure > Network > Public IP Address > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Network > Public IP Address is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/publicIpAddressServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: publicIpAddress{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"id: {{ $.resource.data.id | dump | safe }}\nidle_timeout_in_minutes: {{ $.resource.data.idleTimeoutInMinutes | dump | safe }}\nip_configuration_id: {{ $.resource.data.ipConfiguration.id | dump | safe }}\nip_tags: {{ $.resource.data.ipTags | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\npublic_ip_address: {{ $.resource.data.publicIpAddress | dump | safe }}\npublic_ip_address_name: {{ $.resource.data.name | dump | safe }}\npublic_ip_address_version: {{ $.resource.data.publicIPAddressVersion | dump | safe }}\npublic_ip_allocation_method: {{ $.resource.data.publicIPAllocationMethod | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nsku_name: {{ $.resource.data.sku.name | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\nzones: {{ $.resource.data.zones | dump | safe }}\n"
Schema
{
"type": "object"
}

Azure > Network > Public IP Address > ServiceNow > Configuration Item > Table Definition

This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Network > Public IP Address data will be stored, and the details of the columns used for archiving purposes.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/publicIpAddressServiceNowConfigurationItemTableDefinition
Default Template Input
[
"{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n",
"{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-azure-network#/policy/types/publicIpAddressServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"
]
Default Template
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"tableName"
],
"properties": {
"tableName": {
"type": "string"
},
"archiveColumns": {
"type": "object"
}
}
}

Azure > Network > Public IP Address > ServiceNow > Table

Configure a Table for Azure > Network > Public IP Address resource type in ServiceNow via the Azure > Network > Public IP Address > ServiceNow > Table > * policies.

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

Azure > Network > Public IP Address > ServiceNow > Table > Definition

The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Network > Public IP Address data.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/publicIpAddressServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_azure_network_publicipaddress",
"label": "Azure > Network > Public IP Address",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "id",
"label": "ID"
},
{
"name": "idle_timeout_in_minutes",
"label": "Idle Timeout In Minutes"
},
{
"name": "ip_configuration_id",
"label": "IP Configuration ID"
},
{
"name": "ip_tags",
"label": "IP Tags",
"type": "string",
"size": 1000
},
{
"name": "provisioning_state",
"label": "Provisioning State"
},
{
"name": "public_ip_address",
"label": "IP Address"
},
{
"name": "public_ip_address_name",
"label": "Public IP Address Name"
},
{
"name": "public_ip_address_version",
"label": "Public IP Address Version"
},
{
"name": "public_ip_allocation_method",
"label": "Public IP Allocation Method"
},
{
"name": "region",
"label": "Region"
},
{
"name": "resource_group",
"label": "Resource Group",
"type": "string",
"size": 200
},
{
"name": "sku_name",
"label": "SKU Name"
},
{
"name": "subscription_id",
"label": "Subscription ID"
},
{
"name": "tags",
"label": "Tags",
"type": "string",
"size": 1000
},
{
"name": "type",
"label": "Type"
},
{
"name": "zones",
"label": "Zones",
"type": "string",
"size": 1000
}
]
}
}

Azure > Network > Route Table > ServiceNow

URI
tmod:@turbot/servicenow-azure-network#/policy/types/routeTableServiceNow
Targets

Azure > Network > Route Table > ServiceNow > Configuration Item

Synchronize the data for the Azure > Network > Route Table based on the policies Azure > Network > Route Table > ServiceNow > Configuration Item > *

The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Network > Route Table information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/routeTableServiceNowConfigurationItem
Valid Value
[
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
],
"example": [
"Skip"
],
"default": "Skip"
}

Azure > Network > Route Table > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Network > Route Table is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/routeTableServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: routeTable{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"disable_bgp_route_propagation: {{ $.resource.data.disableBgpRoutePropagation | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nroute_table_name: {{ $.resource.data.name | dump | safe }}\nroutes: {{ $.resource.data.routes | dump | safe }}\nsubnets: {{ $.resource.data.subnets | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\n"
Schema
{
"type": "object"
}

Azure > Network > Route Table > ServiceNow > Configuration Item > Table Definition

This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Network > Route Table data will be stored, and the details of the columns used for archiving purposes.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/routeTableServiceNowConfigurationItemTableDefinition
Default Template Input
[
"{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n",
"{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-azure-network#/policy/types/routeTableServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"
]
Default Template
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"tableName"
],
"properties": {
"tableName": {
"type": "string"
},
"archiveColumns": {
"type": "object"
}
}
}

Azure > Network > Route Table > ServiceNow > Table

Configure a Table for Azure > Network > Route Table resource type in ServiceNow via the Azure > Network > Route Table > ServiceNow > Table > * policies.

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

Azure > Network > Route Table > ServiceNow > Table > Definition

The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Network > Route Table data.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/routeTableServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_azure_network_routetable",
"label": "Azure > Network > Route Table",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "disable_bgp_route_propagation",
"label": "Disable BGP Route Propagation",
"type": "boolean"
},
{
"name": "id",
"label": "ID"
},
{
"name": "provisioning_state",
"label": "Provisioning State"
},
{
"name": "region",
"label": "Region"
},
{
"name": "resource_group",
"label": "Resource Group",
"type": "string",
"size": 200
},
{
"name": "route_table_name",
"label": "Route Table Name"
},
{
"name": "routes",
"label": "Routes",
"type": "string",
"size": 1000
},
{
"name": "subnets",
"label": "Subnets",
"type": "string",
"size": 1000
},
{
"name": "subscription_id",
"label": "Subscription ID"
},
{
"name": "tags",
"label": "Tags",
"type": "string",
"size": 1000
},
{
"name": "type",
"label": "Type"
}
]
}
}

Azure > Network > Subnet > ServiceNow

URI
tmod:@turbot/servicenow-azure-network#/policy/types/subnetServiceNow
Targets

Azure > Network > Subnet > ServiceNow > Configuration Item

Synchronize the data for the Azure > Network > Subnet based on the policies Azure > Network > Subnet > ServiceNow > Configuration Item > *

The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Network > Subnet information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/subnetServiceNowConfigurationItem
Valid Value
[
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
],
"example": [
"Skip"
],
"default": "Skip"
}

Azure > Network > Subnet > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Network > Subnet is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/subnetServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: subnet{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"address_prefix: {{ $.resource.data.addressPrefix | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nip_configurations: {{ $.resource.data.ipConfigurations | dump | safe }}\nnetwork_security_group_id: {{ $.resource.data.networkSecurityGroup.id | dump | safe }}\nprivate_endpoint_network_policies: {{ $.resource.data.privateEndpointNetworkPolicies | dump | safe }}\nprivate_link_service_network_policies: {{ $.resource.data.privateLinkServiceNetworkPolicies | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nsubnet_name: {{ $.resource.data.name | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\n"
Schema
{
"type": "object"
}

Azure > Network > Subnet > ServiceNow > Configuration Item > Table Definition

This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Network > Subnet data will be stored, and the details of the columns used for archiving purposes.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/subnetServiceNowConfigurationItemTableDefinition
Default Template Input
[
"{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n",
"{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-azure-network#/policy/types/subnetServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"
]
Default Template
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"tableName"
],
"properties": {
"tableName": {
"type": "string"
},
"archiveColumns": {
"type": "object"
}
}
}

Azure > Network > Subnet > ServiceNow > Table

Configure a Table for Azure > Network > Subnet resource type in ServiceNow via the Azure > Network > Subnet > ServiceNow > Table > * policies.

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

Azure > Network > Subnet > ServiceNow > Table > Definition

The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Network > Subnet data.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/subnetServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_azure_network_subnet",
"label": "Azure > Network > Subnet",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "address_prefix",
"label": "Address Prefix"
},
{
"name": "id",
"label": "ID"
},
{
"name": "ip_configurations",
"label": "IP Configurations",
"type": "string",
"size": 1000
},
{
"name": "network_security_group_id",
"label": "Network Security Group ID"
},
{
"name": "private_endpoint_network_policies",
"label": "Private Endpoint Network Policies"
},
{
"name": "private_link_service_network_policies",
"label": "Private Link Service Network Policies"
},
{
"name": "provisioning_state",
"label": "Provisioning State"
},
{
"name": "resource_group",
"label": "Resource Group",
"type": "string",
"size": 200
},
{
"name": "subnet_name",
"label": "Subnet Name"
},
{
"name": "subscription_id",
"label": "Subscription ID"
},
{
"name": "type",
"label": "Type"
}
]
}
}

Azure > Network > Virtual Network > ServiceNow

URI
tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkServiceNow
Targets

Azure > Network > Virtual Network > ServiceNow > Configuration Item

Synchronize the data for the Azure > Network > Virtual Network based on the policies Azure > Network > Virtual Network > ServiceNow > Configuration Item > *

The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Network > Virtual Network information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkServiceNowConfigurationItem
Valid Value
[
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
],
"example": [
"Skip"
],
"default": "Skip"
}

Azure > Network > Virtual Network > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Network > Virtual Network is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: virtualNetwork{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"address_prefixes: {{ $.resource.data.addressSpace.addressPrefixes | dump | safe }}\nenable_ddos_protection: {{ $.resource.data.enableDdosProtection | dump | safe }}\nenable_vm_protection: {{ $.resource.data.enableVmProtection | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nnetwork_peerings: {{ $.resource.data.virtualNetworkPeerings | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nsubnets: {{ $.resource.data.subnets | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\nvirtual_network_name: {{ $.resource.data.name | dump | safe }}\n"
Schema
{
"type": "object"
}

Azure > Network > Virtual Network > ServiceNow > Configuration Item > Table Definition

This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Network > Virtual Network data will be stored, and the details of the columns used for archiving purposes.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkServiceNowConfigurationItemTableDefinition
Default Template Input
[
"{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n",
"{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"
]
Default Template
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"tableName"
],
"properties": {
"tableName": {
"type": "string"
},
"archiveColumns": {
"type": "object"
}
}
}

Azure > Network > Virtual Network > ServiceNow > Table

Configure a Table for Azure > Network > Virtual Network resource type in ServiceNow via the Azure > Network > Virtual Network > ServiceNow > Table > * policies.

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

Azure > Network > Virtual Network > ServiceNow > Table > Definition

The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Network > Virtual Network data.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_azure_network_virtualnetwork",
"label": "Azure > Network > Virtual Network",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "address_prefixes",
"label": "Address Prefixes",
"type": "string",
"size": 1000
},
{
"name": "enable_ddos_protection",
"label": "Enable DDOS Protection",
"type": "boolean"
},
{
"name": "enable_vm_protection",
"label": "Enable VM Protection",
"type": "boolean"
},
{
"name": "id",
"label": "ID"
},
{
"name": "network_peerings",
"label": "Network Peerings",
"type": "string",
"size": 1000
},
{
"name": "provisioning_state",
"label": "Provisioning State"
},
{
"name": "region",
"label": "Region"
},
{
"name": "resource_group",
"label": "Resource Group",
"type": "string",
"size": 200
},
{
"name": "subnets",
"label": "Subnets",
"type": "string",
"size": 1000
},
{
"name": "subscription_id",
"label": "Subscription ID"
},
{
"name": "tags",
"label": "Tags",
"type": "string",
"size": 1000
},
{
"name": "type",
"label": "Type"
},
{
"name": "virtual_network_name",
"label": "Virtual Network Name"
}
]
}
}

Azure > Network > Virtual Network Gateway > ServiceNow

URI
tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkGatewayServiceNow
Targets

Azure > Network > Virtual Network Gateway > ServiceNow > Configuration Item

Synchronize the data for the Azure > Network > Virtual Network Gateway based on the policies Azure > Network > Virtual Network Gateway > ServiceNow > Configuration Item > *

The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Network > Virtual Network Gateway information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkGatewayServiceNowConfigurationItem
Valid Value
[
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
]
Schema
{
"type": "string",
"enum": [
"Skip",
"Check: Archived",
"Check: Deleted",
"Check: Sync",
"Enforce: Archived",
"Enforce: Deleted",
"Enforce: Sync",
"Enforce: Sync, archive on delete"
],
"example": [
"Skip"
],
"default": "Skip"
}

Azure > Network > Virtual Network Gateway > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Network > Virtual Network Gateway is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkGatewayServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: virtualNetworkGateway{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"enable_bgp: {{ $.resource.data.enableBgp | dump | safe }}\nenable_private_ip_address: {{ $.resource.data.enablePrivateIpAddress | dump | safe }}\ngateway_type: {{ $.resource.data.gatewayType | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nip_configurations: {{ $.resource.data.ipConfigurations | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nsku_capacity: {{ $.resource.data.sku.capacity | dump | safe }}\nsku_name: {{ $.resource.data.sku.name | dump | safe }}\nsku_tier: {{ $.resource.data.sku.tier | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\nvirtual_network_gateway_name: {{ $.resource.data.name | dump | safe }}\nvpn_client_configuration: {{ $.resource.data.vpnClientConfiguration | dump | safe }}\nvpn_type: {{ $.resource.data.vpnType | dump | safe }}\n"
Schema
{
"type": "object"
}

Azure > Network > Virtual Network Gateway > ServiceNow > Configuration Item > Table Definition

This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Network > Virtual Network Gateway data will be stored, and the details of the columns used for archiving purposes.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkGatewayServiceNowConfigurationItemTableDefinition
Default Template Input
[
"{\n serviceNowInstance: resources(filter: \"resourceTypeId:tmod:@turbot/servicenow#/resource/types/instance level:self limit:1\") {\n items {\n turbot {\n id\n }\n }\n }\n}\n",
"{\n tableDefinition: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkGatewayServiceNowTableDefinition resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n applicationScope: policyValues(filter: \"policyTypeId:tmod:@turbot/servicenow#/policy/types/serviceNowApplicationScope resourceId:{{$.serviceNowInstance.items[0].turbot.id}} level:self\") {\n items {\n value\n }\n }\n}\n"
]
Default Template
"tableName: "{%- if $.applicationScope.items | length == 0 or $.tableDefinition.items | length == 0 %} {%- else %}{{$.applicationScope.items[0].value}}_{{$.tableDefinition.items[0].value.table.name | lower}}{% endif %}"\n"
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"tableName"
],
"properties": {
"tableName": {
"type": "string"
},
"archiveColumns": {
"type": "object"
}
}
}

Azure > Network > Virtual Network Gateway > ServiceNow > Table

Configure a Table for Azure > Network > Virtual Network Gateway resource type in ServiceNow via the Azure > Network > Virtual Network Gateway > ServiceNow > Table > * policies.

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

Azure > Network > Virtual Network Gateway > ServiceNow > Table > Definition

The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Network > Virtual Network Gateway data.

URI
tmod:@turbot/servicenow-azure-network#/policy/types/virtualNetworkGatewayServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_azure_network_virtualnetworkgateway",
"label": "Azure > Network > Virtual Network Gateway",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "enable_bgp",
"label": "Enable BGP",
"type": "boolean"
},
{
"name": "enable_private_ip_address",
"label": "Enable Private IP Address",
"type": "boolean"
},
{
"name": "gateway_type",
"label": "Gateway Type"
},
{
"name": "id",
"label": "ID"
},
{
"name": "ip_configurations",
"label": "IP Configurations",
"type": "string",
"size": 1000
},
{
"name": "provisioning_state",
"label": "Provisioning State"
},
{
"name": "region",
"label": "Region"
},
{
"name": "resource_group",
"label": "Resource Group",
"type": "string",
"size": 200
},
{
"name": "sku_capacity",
"label": "SKU Capacity"
},
{
"name": "sku_name",
"label": "SKU Name"
},
{
"name": "sku_tier",
"label": "SKU Tier"
},
{
"name": "subscription_id",
"label": "Subscription ID"
},
{
"name": "tags",
"label": "Tags",
"type": "string",
"size": 1000
},
{
"name": "type",
"label": "Type"
},
{
"name": "virtual_network_gateway_name",
"label": "Virtual Network Gateway Name"
},
{
"name": "vpn_client_configuration",
"label": "VPN Client Configuration",
"type": "string",
"size": 1000
},
{
"name": "vpn_type",
"label": "VPN Type"
}
]
}
}