Policy types for @turbot/servicenow-gcp-network

GCP > Network > Address > ServiceNow

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/addressServiceNow
Targets

GCP > Network > Address > ServiceNow > Configuration Item

Synchronize the data for the GCP > Network > Address based on the policies GCP > Network > 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 GCP > Network > Address information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/addressServiceNowConfigurationItem
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"
}

GCP > Network > 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 GCP > Network > 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-gcp-network#/policy/types/addressServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: address{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"address: {{ $.resource.data.address | dump | safe }}\naddress_name: {{ $.resource.data.name | dump | safe }}\naddress_type: {{ $.resource.data.addressType | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nip_version: {{ $.resource.data.ipVersion | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nnetwork: {{ $.resource.data.network | dump | safe }}\nnetwork_tier: {{ $.resource.data.networkTier | dump | safe }}\nprefix_length: {{ $.resource.data.prefixLength | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\npurpose: {{ $.resource.data.purpose | dump | safe }}\nregion: {{ $.resource.metadata.gcp.regionName | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nstatus: {{ $.resource.data.status | dump | safe }}\nsubnetwork: {{ $.resource.data.subnetwork | dump | safe }}\nusers: {{ $.resource.data.users | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Network > Address > ServiceNow > Configuration Item > Table Definition

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

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/addressServiceNowConfigurationItemTableDefinition
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-gcp-network#/policy/types/addressServiceNowTableDefinition 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"
}
}
}

GCP > Network > Address > ServiceNow > Table

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

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

GCP > Network > 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 GCP > Network > Address data.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/addressServiceNowTableDefinition
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_gcp_network_address",
"label": "GCP > Network > Address",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "address",
"label": "Address"
},
{
"name": "address_name",
"label": "Name"
},
{
"name": "address_type",
"label": "Address Type"
},
{
"name": "creation_timestamp",
"label": "Creation Timestamp"
},
{
"name": "description",
"label": "Description"
},
{
"name": "id",
"label": "ID"
},
{
"name": "ip_version",
"label": "IP Version"
},
{
"name": "kind",
"label": "Kind"
},
{
"name": "network",
"label": "Network"
},
{
"name": "network_tier",
"label": "Network Tier"
},
{
"name": "prefix_length",
"label": "Prefix Length"
},
{
"name": "project",
"label": "Project"
},
{
"name": "purpose",
"label": "Purpose"
},
{
"name": "region",
"label": "Region"
},
{
"name": "self_link",
"label": "Self Link"
},
{
"name": "status",
"label": "Status"
},
{
"name": "subnetwork",
"label": "Subnetwork"
},
{
"name": "users",
"label": "Users",
"type": "string",
"size": 1000
}
]
}
}

GCP > Network > Backend Bucket > ServiceNow

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/backendBucketServiceNow
Targets

GCP > Network > Backend Bucket > ServiceNow > Configuration Item

Synchronize the data for the GCP > Network > Backend Bucket based on the policies GCP > Network > Backend Bucket > 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 GCP > Network > Backend Bucket information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/backendBucketServiceNowConfigurationItem
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"
}

GCP > Network > Backend Bucket > 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 GCP > Network > Backend Bucket 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-gcp-network#/policy/types/backendBucketServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: backendBucket{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"backend_bucket_name: {{ $.resource.data.name | dump | safe }}\nbucket_name: {{ $.resource.data.bucketName | dump | safe }}\ncdn_policy: {{ $.resource.data.cdnPolicy | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nenable_cdn: {{ $.resource.data.enableCdn | dump | safe }}\nhas_data: {{ $.resource.data.hasData | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Network > Backend Bucket > ServiceNow > Configuration Item > Table Definition

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

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/backendBucketServiceNowConfigurationItemTableDefinition
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-gcp-network#/policy/types/backendBucketServiceNowTableDefinition 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"
}
}
}

GCP > Network > Backend Bucket > ServiceNow > Table

Configure a Table for GCP > Network > Backend Bucket resource type in ServiceNow via the GCP > Network > Backend Bucket > ServiceNow > Table > * policies.

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

GCP > Network > Backend Bucket > 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 GCP > Network > Backend Bucket data.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/backendBucketServiceNowTableDefinition
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_gcp_network_backendbucket",
"label": "GCP > Network > Backend Bucket",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "backend_bucket_name",
"label": "Name"
},
{
"name": "bucket_name",
"label": "Bucket Name"
},
{
"name": "cdn_policy",
"label": "CDN Policy",
"type": "string",
"size": 1000
},
{
"name": "creation_timestamp",
"label": "Creation Timestamp"
},
{
"name": "description",
"label": "Description"
},
{
"name": "enable_cdn",
"label": "Enable Cdn",
"type": "boolean"
},
{
"name": "has_data",
"label": "Has Data",
"type": "boolean"
},
{
"name": "id",
"label": "ID"
},
{
"name": "kind",
"label": "Kind"
},
{
"name": "project",
"label": "Project"
},
{
"name": "self_link",
"label": "Self Link"
}
]
}
}

GCP > Network > Backend Service > ServiceNow

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/backendServiceServiceNow
Targets

GCP > Network > Backend Service > ServiceNow > Configuration Item

Synchronize the data for the GCP > Network > Backend Service based on the policies GCP > Network > Backend Service > 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 GCP > Network > Backend Service information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/backendServiceServiceNowConfigurationItem
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"
}

GCP > Network > Backend Service > 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 GCP > Network > Backend Service 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-gcp-network#/policy/types/backendServiceServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: backendService{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"affinity_cookie_ttl_sec: {{ $.resource.data.affinityCookieTtlSec | dump | safe }}\nbackend_service_name: {{ $.resource.data.name | dump | safe }}\nbackends: {{ $.resource.data.backends | dump | safe }}\ncdn_policy: {{ $.resource.data.cdnPolicy | dump | safe }}\ncircuit_breakers: {{ $.resource.data.circuitBreakers | dump | safe }}\ncompression_mode: {{ $.resource.data.compressionMode | dump | safe }}\nconnection_draining_timeout_sec: {{ $.resource.data.connectionDraining | dump | safe }}\nconnection_tracking_policy: {{ $.resource.data.connectionTrackingPolicy | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nedge_security_policy: {{ $.resource.data.edgeSecurityPolicy | dump | safe }}\nenable_cdn: {{ $.resource.data.enableCdn | dump | safe }}\nfailover_policy: {{ $.resource.data.failoverPolicy | dump | safe }}\nfingerprint: {{ $.resource.data.fingerprint | dump | safe }}\nhealth_checks: {{ $.resource.data.healthChecks | dump | safe }}\niap: {{ $.resource.data.iap | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nip_address_selection_policy: {{ $.resource.data.ipAddressSelectionPolicy | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nload_balancing_scheme: {{ $.resource.data.loadBalancingScheme | dump | safe }}\nlocality_lb_policy: {{ $.resource.data.localityLbPolicy | dump | safe }}\nlog_config: {{ $.resource.data.logConfig | dump | safe }}\nlog_config_sample_rate: {{ $.resource.data.logConfigSampleRate | dump | safe }}\nnetwork: {{ $.resource.data.network | dump | safe }}\nport: {{ $.resource.data.port | dump | safe }}\nport_name: {{ $.resource.data.portName | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nprotocol: {{ $.resource.data.protocol | dump | safe }}\nregion: {{ $.resource.data.region | dump | safe }}\nsecurity_policy: {{ $.resource.data.securityPolicy | dump | safe }}\nsecurity_settings: {{ $.resource.data.securitySettings | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nsession_affinity: {{ $.resource.data.sessionAffinity | dump | safe }}\nsigned_url_key_names: {{ $.resource.data.signedUrlKeyNames | dump | safe }}\nsubsetting: {{ $.resource.data.subsetting | dump | safe }}\ntimeout_sec: {{ $.resource.data.timeoutSec | dump | safe }}\nvpc_network_scope: {{ $.resource.data.vpcNetworkScope | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Network > Backend Service > ServiceNow > Configuration Item > Table Definition

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

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/backendServiceServiceNowConfigurationItemTableDefinition
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-gcp-network#/policy/types/backendServiceServiceNowTableDefinition 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"
}
}
}

GCP > Network > Backend Service > ServiceNow > Table

Configure a Table for GCP > Network > Backend Service resource type in ServiceNow via the GCP > Network > Backend Service > ServiceNow > Table > * policies.

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

GCP > Network > Backend Service > 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 GCP > Network > Backend Service data.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/backendServiceServiceNowTableDefinition
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_gcp_network_backendservice",
"label": "GCP > Network > Backend Service",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "affinity_cookie_ttl_sec",
"label": "Affinity Cookie TTL Sec",
"type": "integer"
},
{
"name": "backend_service_name",
"label": "Name"
},
{
"name": "backends",
"label": "Backends",
"type": "string",
"size": 1000
},
{
"name": "cdn_policy",
"label": "CDN Policy",
"type": "string",
"size": 1000
},
{
"name": "circuit_breakers",
"label": "Circuit Breakers",
"type": "string",
"size": 1000
},
{
"name": "compression_mode",
"label": "Compression Mode",
"type": "string"
},
{
"name": "connection_draining_timeout_sec",
"label": "Connection Draining Timeout Sec"
},
{
"name": "connection_tracking_policy",
"label": "Connection Tracking Policy",
"type": "string",
"size": 1000
},
{
"name": "creation_timestamp",
"label": "Creation Timestamp"
},
{
"name": "description",
"label": "Description"
},
{
"name": "edge_security_policy",
"label": "Edge Security Policy",
"type": "string",
"size": 1000
},
{
"name": "enable_cdn",
"label": "Enable CDN",
"type": "boolean"
},
{
"name": "failover_policy",
"label": "Failover Policy",
"type": "string",
"size": 1000
},
{
"name": "fingerprint",
"label": "Fingerprint"
},
{
"name": "health_checks",
"label": "Health Checks",
"type": "string",
"size": 1000
},
{
"name": "iap",
"label": "IAP",
"type": "string",
"size": 1000
},
{
"name": "id",
"label": "ID"
},
{
"name": "ip_address_selection_policy",
"label": "IP Address Selection Policy"
},
{
"name": "kind",
"label": "Kind"
},
{
"name": "load_balancing_scheme",
"label": "Load Balancing Scheme"
},
{
"name": "locality_lb_policy",
"label": "Locality Lb Policy"
},
{
"name": "log_config",
"label": "Log Config",
"type": "string"
},
{
"name": "log_config_sample_rate",
"label": "Log Config Sample Rate"
},
{
"name": "network",
"label": "Network"
},
{
"name": "port",
"label": "Port"
},
{
"name": "port_name",
"label": "Port Name"
},
{
"name": "project",
"label": "Project"
},
{
"name": "protocol",
"label": "Protocol"
},
{
"name": "region",
"label": "Region"
},
{
"name": "security_policy",
"label": "Security Policy"
},
{
"name": "security_settings",
"label": "Security Settings",
"type": "string",
"size": 1000
},
{
"name": "self_link",
"label": "Self Link"
},
{
"name": "session_affinity",
"label": "Session Affinity"
},
{
"name": "signed_url_key_names",
"label": "Signed Url Key Names",
"type": "string",
"size": 1000
},
{
"name": "subsetting",
"label": "subsetting",
"type": "string",
"size": 1000
},
{
"name": "timeout_sec",
"label": "Timeout Sec"
},
{
"name": "vpc_network_scope",
"label": "VPC Network Scope"
}
]
}
}

GCP > Network > Firewall > ServiceNow

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/firewallServiceNow
Targets

GCP > Network > Firewall > ServiceNow > Configuration Item

Synchronize the data for the GCP > Network > Firewall based on the policies GCP > Network > Firewall > 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 GCP > Network > Firewall information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/firewallServiceNowConfigurationItem
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"
}

GCP > Network > Firewall > 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 GCP > Network > Firewall 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-gcp-network#/policy/types/firewallServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: firewall{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"allowed: {{ $.resource.data.allowed | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndenied: {{ $.resource.data.denied | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\ndestination_ranges: {{ $.resource.data.destinationRanges | dump | safe }}\ndirection: {{ $.resource.data.direction | dump | safe }}\ndisabled: {{ $.resource.data.disabled | dump | safe }}\nfirewall_name: {{ $.resource.data.name | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nlog_config: {{ $.resource.data.logConfig | dump | safe }}\nnetwork: {{ $.resource.data.network | dump | safe }}\npriority: {{ $.resource.data.priority | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nsource_ranges: {{ $.resource.data.sourceRanges | dump | safe }}\nsource_service_accounts: {{ $.resource.data.sourceServiceAccounts | dump | safe }}\nsource_tags: {{ $.resource.data.sourceTags | dump | safe }}\ntarget_service_accounts: {{ $.resource.data.targetServiceAccounts | dump | safe }}\ntarget_tags: {{ $.resource.data.targetTags | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Network > Firewall > ServiceNow > Configuration Item > Table Definition

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

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/firewallServiceNowConfigurationItemTableDefinition
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-gcp-network#/policy/types/firewallServiceNowTableDefinition 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"
}
}
}

GCP > Network > Firewall > ServiceNow > Table

Configure a Table for GCP > Network > Firewall resource type in ServiceNow via the GCP > Network > Firewall > ServiceNow > Table > * policies.

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

GCP > Network > Firewall > 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 GCP > Network > Firewall data.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/firewallServiceNowTableDefinition
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_gcp_network_firewall",
"label": "GCP > Network > Firewall",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "allowed",
"label": "Allowed",
"type": "string",
"size": 1000
},
{
"name": "creation_timestamp",
"label": "Creation Timestamp"
},
{
"name": "denied",
"label": "Denied",
"type": "string",
"size": 1000
},
{
"name": "description",
"label": "Description"
},
{
"name": "destination_ranges",
"label": "Destination Ranges",
"type": "string",
"size": 1000
},
{
"name": "direction",
"label": "Direction"
},
{
"name": "disabled",
"label": "Disabled",
"type": "boolean"
},
{
"name": "firewall_name",
"label": "Name"
},
{
"name": "id",
"label": "ID"
},
{
"name": "kind",
"label": "Kind"
},
{
"name": "log_config",
"label": "Log Config",
"type": "string",
"size": 1000
},
{
"name": "network",
"label": "Network"
},
{
"name": "priority",
"label": "Priority"
},
{
"name": "project",
"label": "Project"
},
{
"name": "self_link",
"label": "Self Link"
},
{
"name": "source_ranges",
"label": "Source Ranges",
"type": "string",
"size": 1000
},
{
"name": "source_service_accounts",
"label": "Source Service Accounts",
"type": "string",
"size": 1000
},
{
"name": "source_tags",
"label": "Source Tags",
"type": "string",
"size": 1000
},
{
"name": "target_service_accounts",
"label": "Target Service Accounts",
"type": "string",
"size": 1000
},
{
"name": "target_tags",
"label": "Target Tags",
"type": "string",
"size": 1000
}
]
}
}

GCP > Network > Forwarding Rule > ServiceNow

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/forwardingRuleServiceNow
Targets

GCP > Network > Forwarding Rule > ServiceNow > Configuration Item

Synchronize the data for the GCP > Network > Forwarding Rule based on the policies GCP > Network > Forwarding Rule > 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 GCP > Network > Forwarding Rule information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/forwardingRuleServiceNowConfigurationItem
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"
}

GCP > Network > Forwarding Rule > 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 GCP > Network > Forwarding Rule 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-gcp-network#/policy/types/forwardingRuleServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: forwardingRule{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"all_ports: {{ $.resource.data.allPorts | dump | safe }}\nallow_global_access: {{ $.resource.data.allowGlobalAccess | dump | safe }}\nbackend_service: {{ $.resource.data.backendService | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nfingerprint: {{ $.resource.data.fingerprint | dump | safe }}\nforwarding_rule_ip_address: {{ $.resource.data.IPAddress | dump | safe }}\nglobal_forwarding_rule_name: {{ $.resource.data.name | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nip_protocol: {{ $.resource.data.IPProtocol | dump | safe }}\nip_version: {{ $.resource.data.ipVersion | dump | safe }}\nis_mirroring_collector: {{ $.resource.data.isMirroringCollector | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nlabels: {{ $.resource.data.labels | dump | safe }}\nload_balancing_scheme: {{ $.resource.data.loadBalancingScheme | dump | safe }}\nmetadata_filters: {{ $.resource.data.metadataFilters | dump | safe }}\nnetwork: {{ $.resource.data.network | dump | safe }}\nnetwork_tier: {{ $.resource.data.networkTier | dump | safe }}\nport_range: {{ $.resource.data.portRange | dump | safe }}\nports: {{ $.resource.data.ports | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nregion: {{ $.resource.data.region | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nservice_label: {{ $.resource.data.serviceLabel | dump | safe }}\nservice_name: {{ $.resource.data.serviceName | dump | safe }}\nsubnetwork: {{ $.resource.data.subnetwork | dump | safe }}\ntarget: {{ $.resource.data.target | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Network > Forwarding Rule > ServiceNow > Configuration Item > Table Definition

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

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/forwardingRuleServiceNowConfigurationItemTableDefinition
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-gcp-network#/policy/types/forwardingRuleServiceNowTableDefinition 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"
}
}
}

GCP > Network > Forwarding Rule > ServiceNow > Table

Configure a Table for GCP > Network > Forwarding Rule resource type in ServiceNow via the GCP > Network > Forwarding Rule > ServiceNow > Table > * policies.

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

GCP > Network > Forwarding Rule > 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 GCP > Network > Forwarding Rule data.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/forwardingRuleServiceNowTableDefinition
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_gcp_network_forwardingrule",
"label": "GCP > Network > Forwarding Rule",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "all_ports",
"label": "All Ports",
"type": "boolean"
},
{
"name": "allow_global_access",
"label": "Allow Global Access",
"type": "boolean"
},
{
"name": "backend_service",
"label": "Backend Service"
},
{
"name": "creation_timestamp",
"label": "Creation Timestamp"
},
{
"name": "description",
"label": "Description"
},
{
"name": "fingerprint",
"label": "Fingerprint"
},
{
"name": "forwarding_rule_ip_address",
"label": "IP Address"
},
{
"name": "global_forwarding_rule_name",
"label": "Name"
},
{
"name": "id",
"label": "ID"
},
{
"name": "ip_protocol",
"label": "IP Protocol"
},
{
"name": "ip_version",
"label": "IP Version"
},
{
"name": "is_mirroring_collector",
"label": "Is Mirroring Collector",
"type": "boolean"
},
{
"name": "kind",
"label": "Kind"
},
{
"name": "labels",
"label": "Labels",
"type": "string",
"size": 1000
},
{
"name": "load_balancing_scheme",
"label": "Load Balancing Scheme"
},
{
"name": "metadata_filters",
"label": "Metadata Filters",
"type": "string",
"size": 1000
},
{
"name": "network",
"label": "Network"
},
{
"name": "network_tier",
"label": "Network Tier"
},
{
"name": "port_range",
"label": "Port Range"
},
{
"name": "ports",
"label": "Ports",
"type": "string",
"size": 1000
},
{
"name": "project",
"label": "Project"
},
{
"name": "region",
"label": "Region"
},
{
"name": "self_link",
"label": "Self Link"
},
{
"name": "service_label",
"label": "Service Label"
},
{
"name": "service_name",
"label": "Service Name"
},
{
"name": "subnetwork",
"label": "Subnetwork"
},
{
"name": "target",
"label": "Target"
}
]
}
}

GCP > Network > Global Address > ServiceNow

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/globalAddressServiceNow
Targets

GCP > Network > Global Address > ServiceNow > Configuration Item

Synchronize the data for the GCP > Network > Global Address based on the policies GCP > Network > Global 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 GCP > Network > Global Address information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/globalAddressServiceNowConfigurationItem
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"
}

GCP > Network > Global 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 GCP > Network > Global 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-gcp-network#/policy/types/globalAddressServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: globalAddress{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"address: {{ $.resource.data.address | dump | safe }}\naddress_type: {{ $.resource.data.addressType | dump | safe }}\nakas: {{ $.resource.data.akas | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nglobal_address_name: {{ $.resource.data.name | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nip_version: {{ $.resource.data.ipVersion | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nnetwork: {{ $.resource.data.network | dump | safe }}\nnetwork_tier: {{ $.resource.data.networkTier | dump | safe }}\nprefix_length: {{ $.resource.data.prefixLength | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\npurpose: {{ $.resource.data.purpose | dump | safe }}\nregion: {{ $.resource.data.region | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nstatus: {{ $.resource.data.status | dump | safe }}\nsubnetwork: {{ $.resource.data.subnetwork | dump | safe }}\nusers: {{ $.resource.data.users | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Network > Global Address > ServiceNow > Configuration Item > Table Definition

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

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/globalAddressServiceNowConfigurationItemTableDefinition
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-gcp-network#/policy/types/globalAddressServiceNowTableDefinition 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"
}
}
}

GCP > Network > Global Address > ServiceNow > Table

Configure a Table for GCP > Network > Global Address resource type in ServiceNow via the GCP > Network > Global Address > ServiceNow > Table > * policies.

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

GCP > Network > Global 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 GCP > Network > Global Address data.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/globalAddressServiceNowTableDefinition
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_gcp_network_globaladdress",
"label": "GCP > Network > Global Address",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "address",
"label": "Address"
},
{
"name": "address_type",
"label": "Address Type"
},
{
"name": "akas",
"label": "AKAS",
"type": "string",
"size": 1000
},
{
"name": "creation_timestamp",
"label": "Creation Timestamp"
},
{
"name": "description",
"label": "Description"
},
{
"name": "global_address_name",
"label": "Name"
},
{
"name": "id",
"label": "ID"
},
{
"name": "ip_version",
"label": "IP Version"
},
{
"name": "kind",
"label": "Kind"
},
{
"name": "network",
"label": "Network"
},
{
"name": "network_tier",
"label": "Network Tier"
},
{
"name": "prefix_length",
"label": "Prefix Length"
},
{
"name": "project",
"label": "Project"
},
{
"name": "purpose",
"label": "Purpose"
},
{
"name": "region",
"label": "Region"
},
{
"name": "self_link",
"label": "Self Link"
},
{
"name": "status",
"label": "Status"
},
{
"name": "subnetwork",
"label": "Subnetwork"
},
{
"name": "users",
"label": "Users",
"type": "string",
"size": 1000
}
]
}
}

GCP > Network > Global Forwarding Rule > ServiceNow

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/globalForwardingRuleServiceNow
Targets

GCP > Network > Global Forwarding Rule > ServiceNow > Configuration Item

Synchronize the data for the GCP > Network > Global Forwarding Rule based on the policies GCP > Network > Global Forwarding Rule > 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 GCP > Network > Global Forwarding Rule information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/globalForwardingRuleServiceNowConfigurationItem
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"
}

GCP > Network > Global Forwarding Rule > 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 GCP > Network > Global Forwarding Rule 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-gcp-network#/policy/types/globalForwardingRuleServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: globalForwardingRule{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"all_ports: {{ $.resource.data.allPorts | dump | safe }}\nallow_global_access: {{ $.resource.data.allowGlobalAccess | dump | safe }}\nbackend_service: {{ $.resource.data.backendService | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nfingerprint: {{ $.resource.data.fingerprint | dump | safe }}\nglobal_forwarding_rule_ip_address: {{ $.resource.data.IPAddress | dump | safe }}\nglobal_forwarding_rule_name: {{ $.resource.data.name | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nip_address: {{ $.resource.data.IPAddress | dump | safe }}\nip_protocol: {{ $.resource.data.IPProtocol | dump | safe }}\nip_version: {{ $.resource.data.ipVersion | dump | safe }}\nis_mirroring_collector: {{ $.resource.data.isMirroringCollector | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nload_balancing_scheme: {{ $.resource.data.loadBalancingScheme | dump | safe }}\nmetadata_filters: {{ $.resource.data.metadataFilters | dump | safe }}\nnetwork: {{ $.resource.data.network | dump | safe }}\nnetwork_tier: {{ $.resource.data.networkTier | dump | safe }}\nport_range: {{ $.resource.data.portRange | dump | safe }}\nports: {{ $.resource.data.ports | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nservice_label: {{ $.resource.data.serviceLabel | dump | safe }}\nservice_name: {{ $.resource.data.serviceName | dump | safe }}\nsubnetwork: {{ $.resource.data.subnetwork | dump | safe }}\ntarget: {{ $.resource.data.target | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Network > Global Forwarding Rule > ServiceNow > Configuration Item > Table Definition

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

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/globalForwardingRuleServiceNowConfigurationItemTableDefinition
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-gcp-network#/policy/types/globalForwardingRuleServiceNowTableDefinition 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"
}
}
}

GCP > Network > Global Forwarding Rule > ServiceNow > Table

Configure a Table for GCP > Network > Global Forwarding Rule resource type in ServiceNow via the GCP > Network > Global Forwarding Rule > ServiceNow > Table > * policies.

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

GCP > Network > Global Forwarding Rule > 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 GCP > Network > Global Forwarding Rule data.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/globalForwardingRuleServiceNowTableDefinition
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_gcp_network_globalforwardingrule",
"label": "GCP > Network > Global Forwarding Rule",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "all_ports",
"label": "All Ports",
"type": "boolean"
},
{
"name": "allow_global_access",
"label": "Allow Global Access",
"type": "boolean"
},
{
"name": "backend_service",
"label": "Backend Service"
},
{
"name": "creation_timestamp",
"label": "Creation Timestamp"
},
{
"name": "description",
"label": "Description"
},
{
"name": "fingerprint",
"label": "Fingerprint"
},
{
"name": "global_forwarding_rule_ip_address",
"label": "IP Address",
"size": 2000
},
{
"name": "global_forwarding_rule_name",
"label": "Name"
},
{
"name": "id",
"label": "ID"
},
{
"name": "ip_address",
"label": "IP Address"
},
{
"name": "ip_protocol",
"label": "IP Protocol"
},
{
"name": "ip_version",
"label": "IP Version"
},
{
"name": "is_mirroring_collector",
"label": "Is Mirroring Collector",
"type": "boolean"
},
{
"name": "kind",
"label": "Kind"
},
{
"name": "load_balancing_scheme",
"label": "Load Balancing Scheme"
},
{
"name": "metadata_filters",
"label": "Metadata Filters",
"type": "string",
"size": 1000
},
{
"name": "network",
"label": "Network"
},
{
"name": "network_tier",
"label": "Network Tier"
},
{
"name": "port_range",
"label": "Port Range"
},
{
"name": "ports",
"label": "Ports",
"type": "string",
"size": 1000
},
{
"name": "project",
"label": "Project"
},
{
"name": "self_link",
"label": "Self Link"
},
{
"name": "service_label",
"label": "Service Label"
},
{
"name": "service_name",
"label": "Service Name"
},
{
"name": "subnetwork",
"label": "Subnetwork"
},
{
"name": "target",
"label": "Target"
}
]
}
}

GCP > Network > Interconnect > ServiceNow

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/interconnectServiceNow
Targets

GCP > Network > Interconnect > ServiceNow > Configuration Item

Synchronize the data for the GCP > Network > Interconnect based on the policies GCP > Network > Interconnect > 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 GCP > Network > Interconnect information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/interconnectServiceNowConfigurationItem
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"
}

GCP > Network > Interconnect > 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 GCP > Network > Interconnect 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-gcp-network#/policy/types/interconnectServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: interconnect{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"admin_enabled: {{ $.resource.data.adminEnabled | dump | safe }}\navailable_features: {{ $.resource.data.availableFeatures | dump | safe }}\ncircuit_infos: {{ $.resource.data.circuitInfos | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ncustomer_name: {{ $.resource.data.customerName | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nexpected_outages: {{ $.resource.data.expectedOutages | dump | safe }}\ngoogle_ip_address: {{ $.resource.data.googleIpAddress | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\ninterconnect_attachments: {{ $.resource.data.interconnectAttachments | dump | safe }}\ninterconnect_location: {{ $.resource.data.location | dump | safe }}\ninterconnect_name: {{ $.resource.data.name | dump | safe }}\ninterconnect_operational_status: {{ $.resource.data.operationalStatus | dump | safe }}\ninterconnect_type: {{ $.resource.data.interconnectType | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nlabels: {{ $.resource.data.labels | dump | safe }}\nlinktype: {{ $.resource.data.linkType | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nrequested_features: {{ $.resource.data.requestedFeatures | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nself_link_with_id: {{ $.resource.data.selfLinkWithId | dump | safe }}\nstate: {{ $.resource.data.state | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Network > Interconnect > ServiceNow > Configuration Item > Table Definition

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

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/interconnectServiceNowConfigurationItemTableDefinition
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-gcp-network#/policy/types/interconnectServiceNowTableDefinition 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"
}
}
}

GCP > Network > Interconnect > ServiceNow > Table

Configure a Table for GCP > Network > Interconnect resource type in ServiceNow via the GCP > Network > Interconnect > ServiceNow > Table > * policies.

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

GCP > Network > Interconnect > 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 GCP > Network > Interconnect data.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/interconnectServiceNowTableDefinition
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_gcp_network_interconnect",
"label": "GCP > Network > Interconnect",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "admin_enabled",
"label": "Admin Enabled",
"type": "boolean"
},
{
"name": "available_features",
"label": "Available Features",
"type": "string",
"size": 1000
},
{
"name": "circuit_infos",
"label": "Circuit Infos",
"type": "string"
},
{
"name": "creation_timestamp",
"label": "Creation Timestamp"
},
{
"name": "customer_name",
"label": "Customer Name",
"type": "string"
},
{
"name": "description",
"label": "Description"
},
{
"name": "expected_outages",
"label": "Expected Outages",
"type": "string",
"size": 1000
},
{
"name": "google_ip_address",
"label": "Google IP Address"
},
{
"name": "id",
"label": "ID"
},
{
"name": "interconnect_attachments",
"label": "Interconnect Attachments",
"type": "string",
"size": 1000
},
{
"name": "interconnect_location",
"label": "Location"
},
{
"name": "interconnect_name",
"label": "Name"
},
{
"name": "interconnect_operational_status",
"label": "Operational Status"
},
{
"name": "interconnect_type",
"label": "Interconnect Type",
"type": "string"
},
{
"name": "kind",
"label": "Kind"
},
{
"name": "labels",
"label": "Labels",
"type": "string",
"size": 1000
},
{
"name": "linktype",
"label": "Link Type"
},
{
"name": "project",
"label": "Project"
},
{
"name": "requested_features",
"label": "Requested Features",
"type": "string",
"size": 1000
},
{
"name": "self_link",
"label": "Self Link"
},
{
"name": "self_link_with_id",
"label": "Self Link With ID",
"type": "string",
"size": 1000
},
{
"name": "state",
"label": "State",
"type": "string"
}
]
}
}

GCP > Network > Network > ServiceNow

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/networkServiceNow
Targets

GCP > Network > Network > ServiceNow > Configuration Item

Synchronize the data for the GCP > Network > Network based on the policies GCP > Network > 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 GCP > Network > Network information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/networkServiceNowConfigurationItem
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"
}

GCP > Network > 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 GCP > Network > 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-gcp-network#/policy/types/networkServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: network{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"auto_create_subnetworks: {{ $.resource.data.autoCreateSubnetworks | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\ngateway_ipv4: {{ $.resource.data.gatewayIPv4 | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nipv4_range: {{ $.resource.data.IPv4Range | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nmtu: {{ $.resource.data.mtu | dump | safe }}\nnetwork_name: {{ $.resource.data.name | dump | safe }}\npeerings: {{ $.resource.data.peerings | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nrouting_mode: {{ $.resource.data.routingConfig.routingMode | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nsubnetworks: {{ $.resource.data.subnetworks | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Network > Network > ServiceNow > Configuration Item > Table Definition

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

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/networkServiceNowConfigurationItemTableDefinition
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-gcp-network#/policy/types/networkServiceNowTableDefinition 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"
}
}
}

GCP > Network > Network > ServiceNow > Table

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

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

GCP > Network > 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 GCP > Network > Network data.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/networkServiceNowTableDefinition
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_gcp_network_network",
"label": "GCP > Network > Network",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "auto_create_subnetworks",
"label": "Auto Create Subnetworks",
"type": "boolean"
},
{
"name": "creation_timestamp",
"label": "Creation Timestamp"
},
{
"name": "description",
"label": "Description"
},
{
"name": "gateway_ipv4",
"label": "Gateway IPv4"
},
{
"name": "id",
"label": "ID"
},
{
"name": "ipv4_range",
"label": "IPv4 Range"
},
{
"name": "kind",
"label": "Kind"
},
{
"name": "mtu",
"label": "MTU"
},
{
"name": "network_name",
"label": "Network Name"
},
{
"name": "peerings",
"label": "Peerings",
"type": "string",
"size": 1000
},
{
"name": "project",
"label": "Project",
"type": "string"
},
{
"name": "routing_mode",
"label": "Routing Mode"
},
{
"name": "self_link",
"label": "Self Link"
},
{
"name": "subnetworks",
"label": "Subnetworks",
"type": "string",
"size": 1000
}
]
}
}

GCP > Network > Packet Mirroring > ServiceNow

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/packetMirroringServiceNow
Targets

GCP > Network > Packet Mirroring > ServiceNow > Configuration Item

Synchronize the data for the GCP > Network > Packet Mirroring based on the policies GCP > Network > Packet Mirroring > 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 GCP > Network > Packet Mirroring information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/packetMirroringServiceNowConfigurationItem
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"
}

GCP > Network > Packet Mirroring > 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 GCP > Network > Packet Mirroring 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-gcp-network#/policy/types/packetMirroringServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: packetMirroring{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"collector_ilb: {{ $.resource.data.collectorIlb | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nmirrored_resources: {{ $.resource.data.mirroredResources | dump | safe }}\nnetwork: {{ $.resource.data.network | dump | safe }}\npacket_mirroring_name: {{ $.resource.data.name | dump | safe }}\npriority: {{ $.resource.data.priority | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nregion: {{ $.resource.data.region | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Network > Packet Mirroring > ServiceNow > Configuration Item > Table Definition

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

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/packetMirroringServiceNowConfigurationItemTableDefinition
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-gcp-network#/policy/types/packetMirroringServiceNowTableDefinition 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"
}
}
}

GCP > Network > Packet Mirroring > ServiceNow > Table

Configure a Table for GCP > Network > Packet Mirroring resource type in ServiceNow via the GCP > Network > Packet Mirroring > ServiceNow > Table > * policies.

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

GCP > Network > Packet Mirroring > 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 GCP > Network > Packet Mirroring data.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/packetMirroringServiceNowTableDefinition
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_gcp_network_packetmirroring",
"label": "GCP > Network > Packet Mirroring",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "collector_ilb",
"label": "Collector ILB",
"type": "string",
"size": 1000
},
{
"name": "creation_timestamp",
"label": "Creation Timestamp"
},
{
"name": "description",
"label": "Description"
},
{
"name": "id",
"label": "ID"
},
{
"name": "kind",
"label": "Kind"
},
{
"name": "mirrored_resources",
"label": "Mirrored Resources",
"type": "string",
"size": 1000
},
{
"name": "network",
"label": "Network",
"type": "string",
"size": 1000
},
{
"name": "packet_mirroring_name",
"label": "Name"
},
{
"name": "priority",
"label": "Priority"
},
{
"name": "project",
"label": "Project"
},
{
"name": "region",
"label": "Region"
},
{
"name": "self_link",
"label": "Self Link"
}
]
}
}

GCP > Network > Region Backend Service > ServiceNow

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/regionBackendServiceServiceNow
Targets

GCP > Network > Region Backend Service > ServiceNow > Configuration Item

Synchronize the data for the GCP > Network > Region Backend Service based on the policies GCP > Network > Region Backend Service > 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 GCP > Network > Region Backend Service information within the ServiceNow CMDB.

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/regionBackendServiceServiceNowConfigurationItem
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"
}

GCP > Network > Region Backend Service > 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 GCP > Network > Region Backend Service 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-gcp-network#/policy/types/regionBackendServiceServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: regionBackendService{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"affinity_cookie_ttl_sec: {{ $.resource.data.affinityCookieTtlSec | dump | safe }}\nbackends: {{ $.resource.data.backends | dump | safe }}\ncdn_policy: {{ $.resource.data.cdnPolicy | dump | safe }}\ncircuit_breakers: {{ $.resource.data.circuitBreakers | dump | safe }}\ncompression_mode: {{ $.resource.data.compressionMode | dump | safe }}\nconnection_draining_timeout_sec: {{ $.resource.data.connectionDraining | dump | safe }}\nconnection_tracking_policy: {{ $.resource.data.connectionTrackingPolicy | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nedge_security_policy: {{ $.resource.data.edgeSecurityPolicy | dump | safe }}\nenable_cdn: {{ $.resource.data.enableCdn | dump | safe }}\nfailover_policy: {{ $.resource.data.failoverPolicy | dump | safe }}\nfingerprint: {{ $.resource.data.fingerprint | dump | safe }}\nhealth_checks: {{ $.resource.data.healthChecks | dump | safe }}\niap: {{ $.resource.data.iap | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nip_address_selection_policy: {{ $.resource.data.ipAddressSelectionPolicy | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nload_balancing_scheme: {{ $.resource.data.loadBalancingScheme | dump | safe }}\nlocality_lb_policy: {{ $.resource.data.localityLbPolicy | dump | safe }}\nlog_config: {{ $.resource.data.logConfig | dump | safe }}\nlog_config_sample_rate: {{ $.resource.data.logConfigSampleRate | dump | safe }}\nnetwork: {{ $.resource.data.network | dump | safe }}\nport: {{ $.resource.data.port | dump | safe }}\nport_name: {{ $.resource.data.portName | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nprotocol: {{ $.resource.data.protocol | dump | safe }}\nregion: {{ $.resource.data.region | dump | safe }}\nregion_backend_service_name: {{ $.resource.data.name | dump | safe }}\nsecurity_policy: {{ $.resource.data.securityPolicy | dump | safe }}\nsecurity_settings: {{ $.resource.data.securitySettings | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nsession_affinity: {{ $.resource.data.sessionAffinity | dump | safe }}\nsigned_url_key_names: {{ $.resource.data.signedUrlKeyNames | dump | safe }}\nsubsetting: {{ $.resource.data.subsetting | dump | safe }}\ntimeout_sec: {{ $.resource.data.timeoutSec | dump | safe }}\nvpc_network_scope: {{ $.resource.data.vpcNetworkScope | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Network > Region Backend Service > ServiceNow > Configuration Item > Table Definition

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

URI
tmod:@turbot/servicenow-gcp-network#/policy/types/regionBackendServiceServiceNowConfigurationItemTableDefinition
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-gcp-network#/policy/types/regionBackendServiceServiceNowTableDefinition 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"
}
}
}