Policy types for @turbot/servicenow-gcp-computeengine
- GCP > Compute Engine > Disk > ServiceNow
- GCP > Compute Engine > Disk > ServiceNow > Configuration Item
- GCP > Compute Engine > Disk > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > Disk > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > Disk > ServiceNow > Table
- GCP > Compute Engine > Disk > ServiceNow > Table > Definition
- GCP > Compute Engine > HTTP Health Check > ServiceNow
- GCP > Compute Engine > HTTP Health Check > ServiceNow > Configuration Item
- GCP > Compute Engine > HTTP Health Check > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > HTTP Health Check > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > HTTP Health Check > ServiceNow > Table
- GCP > Compute Engine > HTTP Health Check > ServiceNow > Table > Definition
- GCP > Compute Engine > HTTPS Health Check > ServiceNow
- GCP > Compute Engine > HTTPS Health Check > ServiceNow > Configuration Item
- GCP > Compute Engine > HTTPS Health Check > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > HTTPS Health Check > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > HTTPS Health Check > ServiceNow > Table
- GCP > Compute Engine > HTTPS Health Check > ServiceNow > Table > Definition
- GCP > Compute Engine > Health Check > ServiceNow
- GCP > Compute Engine > Health Check > ServiceNow > Configuration Item
- GCP > Compute Engine > Health Check > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > Health Check > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > Health Check > ServiceNow > Table
- GCP > Compute Engine > Health Check > ServiceNow > Table > Definition
- GCP > Compute Engine > Image > ServiceNow
- GCP > Compute Engine > Image > ServiceNow > Configuration Item
- GCP > Compute Engine > Image > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > Image > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > Image > ServiceNow > Table
- GCP > Compute Engine > Image > ServiceNow > Table > Definition
- GCP > Compute Engine > Instance > ServiceNow
- GCP > Compute Engine > Instance > ServiceNow > Configuration Item
- GCP > Compute Engine > Instance > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > Instance > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > Instance > ServiceNow > Table
- GCP > Compute Engine > Instance > ServiceNow > Table > Definition
- GCP > Compute Engine > Instance Template > ServiceNow
- GCP > Compute Engine > Instance Template > ServiceNow > Configuration Item
- GCP > Compute Engine > Instance Template > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > Instance Template > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > Instance Template > ServiceNow > Table
- GCP > Compute Engine > Instance Template > ServiceNow > Table > Definition
- GCP > Compute Engine > Node Group > ServiceNow
- GCP > Compute Engine > Node Group > ServiceNow > Configuration Item
- GCP > Compute Engine > Node Group > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > Node Group > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > Node Group > ServiceNow > Table
- GCP > Compute Engine > Node Group > ServiceNow > Table > Definition
- GCP > Compute Engine > Node template > ServiceNow
- GCP > Compute Engine > Node template > ServiceNow > Configuration Item
- GCP > Compute Engine > Node template > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > Node template > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > Node template > ServiceNow > Table
- GCP > Compute Engine > Node template > ServiceNow > Table > Definition
- GCP > Compute Engine > Project > ServiceNow
- GCP > Compute Engine > Project > ServiceNow > Configuration Item
- GCP > Compute Engine > Project > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > Project > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > Project > ServiceNow > Table
- GCP > Compute Engine > Project > ServiceNow > Table > Definition
- GCP > Compute Engine > Region Disk > ServiceNow
- GCP > Compute Engine > Region Disk > ServiceNow > Configuration Item
- GCP > Compute Engine > Region Disk > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > Region Disk > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > Region Disk > ServiceNow > Table
- GCP > Compute Engine > Region Disk > ServiceNow > Table > Definition
- GCP > Compute Engine > Region Health Check > ServiceNow
- GCP > Compute Engine > Region Health Check > ServiceNow > Configuration Item
- GCP > Compute Engine > Region Health Check > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > Region Health Check > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > Region Health Check > ServiceNow > Table
- GCP > Compute Engine > Region Health Check > ServiceNow > Table > Definition
- GCP > Compute Engine > Snapshot > ServiceNow
- GCP > Compute Engine > Snapshot > ServiceNow > Configuration Item
- GCP > Compute Engine > Snapshot > ServiceNow > Configuration Item > Record
- GCP > Compute Engine > Snapshot > ServiceNow > Configuration Item > Table Definition
- GCP > Compute Engine > Snapshot > ServiceNow > Table
- GCP > Compute Engine > Snapshot > ServiceNow > Table > Definition
GCP > Compute Engine > Disk > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/diskServiceNow
GCP > Compute Engine > Disk > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > Disk
based on the policies GCP > Compute Engine > Disk > 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 > Compute Engine > Disk
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/diskServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > Disk > 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 > Compute Engine > Disk
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/diskServiceNowConfigurationItemRecord
"{\n resource: disk{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"creation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\ndisk_encryption_key: {{ $.resource.data.diskEncryptionKey | dump | safe }}\ndisk_name: {{ $.resource.data.name | dump | safe }}\niam_policy: {{ $.resource.data.iamPolicy | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nlabels: {{ $.resource.data.labels | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nregion: {{ $.resource.metadata.gcp.regionName | dump | safe }}\nsize_gb: {{ $.resource.data.sizeGb | dump | safe }}\nstatus: {{ $.resource.data.status | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\nusers: {{ $.resource.data.users | dump | safe }}\nzone: {{ $.resource.data.zone | dump | safe }}\nzone_name: {{ $.resource.metadata.gcp.zoneName | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > Disk > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > Disk
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/diskServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/diskServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > Disk > ServiceNow > Table
Configure a Table for GCP > Compute Engine > Disk
resource type in ServiceNow via the GCP > Compute Engine > Disk > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/diskServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > Disk > 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 > Compute Engine > Disk
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/diskServiceNowTableDefinition
{ "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_computeengine_disk", "label": "GCP > Compute Engine > Disk", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "creation_timestamp", "label": "Creation Timestamp" }, { "name": "description", "label": "Description" }, { "name": "disk_encryption_key", "label": "Disk Encryption Key", "type": "string", "size": 1000 }, { "name": "disk_name", "label": "Disk Name" }, { "name": "iam_policy", "label": "IAM Policy", "type": "string", "size": 1000 }, { "name": "id", "label": "ID" }, { "name": "kind", "label": "Kind" }, { "name": "labels", "label": "Labels", "type": "string", "size": 1000 }, { "name": "project", "label": "Project", "type": "string" }, { "name": "region", "label": "Region" }, { "name": "size_gb", "label": "Size GB" }, { "name": "status", "label": "Status" }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 }, { "name": "type", "label": "Type" }, { "name": "users", "label": "Users", "type": "string", "size": 1000 }, { "name": "zone", "label": "Zone" }, { "name": "zone_name", "label": "Zone Name" } ] }}
GCP > Compute Engine > HTTP Health Check > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpHealthCheckServiceNow
GCP > Compute Engine > HTTP Health Check > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > HTTP Health Check
based on the policies GCP > Compute Engine > HTTP Health Check > 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 > Compute Engine > HTTP Health Check
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpHealthCheckServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > HTTP Health Check > 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 > Compute Engine > HTTP Health Check
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpHealthCheckServiceNowConfigurationItemRecord
"{\n resource: httpHealthCheck{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"check_interval_sec: {{ $.resource.data.checkIntervalSec | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nhealthy_threshold: {{ $.resource.data.healthyThreshold | dump | safe }}\nhttp_health_check_name: {{ $.resource.data.name | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nport: {{ $.resource.data.port | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nrequest_path: {{ $.resource.data.requestPath | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\ntimeout_sec: {{ $.resource.data.timeoutSec | dump | safe }}\nunhealthy_threshold: {{ $.resource.data.unhealthyThreshold | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > HTTP Health Check > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > HTTP Health Check
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpHealthCheckServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/httpHealthCheckServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > HTTP Health Check > ServiceNow > Table
Configure a Table for GCP > Compute Engine > HTTP Health Check
resource type in ServiceNow via the GCP > Compute Engine > HTTP Health Check > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpHealthCheckServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > HTTP Health Check > 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 > Compute Engine > HTTP Health Check
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpHealthCheckServiceNowTableDefinition
{ "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_computeengine_httphealthcheck", "label": "GCP > Compute Engine > HTTP Health Check", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "check_interval_sec", "label": "Check Interval Sec", "type": "integer" }, { "name": "description", "label": "Description" }, { "name": "healthy_threshold", "label": "Healthy Threshold" }, { "name": "http_health_check_name", "label": "Name" }, { "name": "id", "label": "ID" }, { "name": "kind", "label": "Kind" }, { "name": "port", "label": "Port", "type": "integer" }, { "name": "project", "label": "Project", "type": "string" }, { "name": "request_path", "label": "Request Path" }, { "name": "self_link", "label": "Self Link" }, { "name": "timeout_sec", "label": "Timeout Sec", "type": "integer" }, { "name": "unhealthy_threshold", "label": "Unhealthy Threshold" } ] }}
GCP > Compute Engine > HTTPS Health Check > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpsHealthCheckServiceNow
GCP > Compute Engine > HTTPS Health Check > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > HTTPS Health Check
based on the policies GCP > Compute Engine > HTTPS Health Check > 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 > Compute Engine > HTTPS Health Check
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpsHealthCheckServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > HTTPS Health Check > 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 > Compute Engine > HTTPS Health Check
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpsHealthCheckServiceNowConfigurationItemRecord
"{\n resource: httpsHealthCheck{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"check_interval_sec: {{ $.resource.data.checkIntervalSec | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nhealthy_threshold: {{ $.resource.data.healthyThreshold | dump | safe }}\nhttps_health_check_name: {{ $.resource.data.name | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nport: {{ $.resource.data.port | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nrequest_path: {{ $.resource.data.requestPath | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\ntimeout_sec: {{ $.resource.data.timeoutSec | dump | safe }}\nunhealthy_threshold: {{ $.resource.data.unhealthyThreshold | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > HTTPS Health Check > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > HTTPS Health Check
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpsHealthCheckServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/httpsHealthCheckServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > HTTPS Health Check > ServiceNow > Table
Configure a Table for GCP > Compute Engine > HTTPS Health Check
resource type in ServiceNow via the GCP > Compute Engine > HTTPS Health Check > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpsHealthCheckServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > HTTPS Health Check > 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 > Compute Engine > HTTPS Health Check
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/httpsHealthCheckServiceNowTableDefinition
{ "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_computeengine_httpshealthcheck", "label": "GCP > Compute Engine > HTTPS Health Check", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "check_interval_sec", "label": "Check Interval Sec", "type": "integer" }, { "name": "description", "label": "Description" }, { "name": "healthy_threshold", "label": "Healthy Threshold" }, { "name": "https_health_check_name", "label": "Name" }, { "name": "id", "label": "ID" }, { "name": "kind", "label": "Kind" }, { "name": "port", "label": "Port", "type": "integer" }, { "name": "project", "label": "Project", "type": "string" }, { "name": "request_path", "label": "Request Path" }, { "name": "self_link", "label": "Self Link" }, { "name": "timeout_sec", "label": "Timeout Sec", "type": "integer" }, { "name": "unhealthy_threshold", "label": "Unhealthy Threshold" } ] }}
GCP > Compute Engine > Health Check > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/healthCheckServiceNow
GCP > Compute Engine > Health Check > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > Health Check
based on the policies GCP > Compute Engine > Health Check > 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 > Compute Engine > Health Check
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/healthCheckServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > Health Check > 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 > Compute Engine > Health Check
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/healthCheckServiceNowConfigurationItemRecord
"{\n resource: healthCheck{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"check_interval_sec: {{ $.resource.data.checkIntervalSec | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nhealth_check_name: {{ $.resource.data.name | dump | safe }}\nhealthy_threshold: {{ $.resource.data.healthyThreshold | dump | safe }}\nhttp_health_check: {{ $.resource.data.httpHealthCheck | dump | safe }}\nhttps_health_check: {{ $.resource.data.httpsHealthCheck | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nlog_config: {{ $.resource.data.logConfig | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nssl_health_check: {{ $.resource.data.sslHealthCheck | dump | safe }}\ntcp_health_check: {{ $.resource.data.tcpHealthCheck | dump | safe }}\ntimeout_sec: {{ $.resource.data.timeoutSec | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\nunhealthy_threshold: {{ $.resource.data.unhealthyThreshold | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > Health Check > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > Health Check
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/healthCheckServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/healthCheckServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > Health Check > ServiceNow > Table
Configure a Table for GCP > Compute Engine > Health Check
resource type in ServiceNow via the GCP > Compute Engine > Health Check > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/healthCheckServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > Health Check > 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 > Compute Engine > Health Check
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/healthCheckServiceNowTableDefinition
{ "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_computeengine_healthcheck", "label": "GCP > Compute Engine > Health Check", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "check_interval_sec", "label": "Check Interval Sec", "type": "integer" }, { "name": "description", "label": "Description" }, { "name": "health_check_name", "label": "Name" }, { "name": "healthy_threshold", "label": "Healthy Threshold" }, { "name": "http_health_check", "label": "HTTP Health Check", "type": "string", "size": 1000 }, { "name": "https_health_check", "label": "HTTPS Health Check", "type": "string", "size": 1000 }, { "name": "id", "label": "ID" }, { "name": "log_config", "label": "Log Config" }, { "name": "project", "label": "Project", "type": "string" }, { "name": "self_link", "label": "Self Link", "type": "string" }, { "name": "ssl_health_check", "label": "SSL Health Check", "type": "string", "size": 1000 }, { "name": "tcp_health_check", "label": "TCP Health Check", "type": "string", "size": 1000 }, { "name": "timeout_sec", "label": "Timeout Sec", "type": "integer" }, { "name": "type", "label": "Type" }, { "name": "unhealthy_threshold", "label": "Unhealthy Threshold" } ] }}
GCP > Compute Engine > Image > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/imageServiceNow
GCP > Compute Engine > Image > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > Image
based on the policies GCP > Compute Engine > Image > 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 > Compute Engine > Image
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/imageServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > Image > 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 > Compute Engine > Image
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/imageServiceNowConfigurationItemRecord
"{\n resource: image{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"archive_size_bytes: {{ $.resource.data.archiveSizeBytes | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndeprecation_state: {{ $.resource.data.deprecated.state | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\ndisk_size_gb: {{ $.resource.data.diskSizeGb | dump | safe }}\nfamily: {{ $.resource.data.family | dump | safe }}\niam_policy: {{ $.resource.data.iamPolicy | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nimage_encryption_key: {{ $.resource.data.imageEncryptionKey | dump | safe }}\nimage_name: {{ $.resource.data.name | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nlabels: {{ $.resource.data.labels | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nraw_disk: {{ $.resource.data.rawDisk | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nsource_disk: {{ $.resource.data.sourceDisk | dump | safe }}\nsource_disk_encryption_key: {{ $.resource.data.sourceDiskEncryptionKey | dump | safe }}\nsource_disk_id: {{ $.resource.data.sourceDiskId | dump | safe }}\nsource_image: {{ $.resource.data.sourceImage | dump | safe }}\nsource_image_encryption_key: {{ $.resource.data.sourceImageEncryptionKey | dump | safe }}\nsource_image_id: {{ $.resource.data.sourceImageId | dump | safe }}\nsource_snapshot: {{ $.resource.data.sourceSnapshot | dump | safe }}\nsource_snapshot_encryption_key: {{ $.resource.data.sourceSnapshotEncryptionKey | dump | safe }}\nsource_snapshot_id: {{ $.resource.data.sourceSnapshotId | dump | safe }}\nsource_type: {{ $.resource.data.sourceType | dump | safe }}\nstatus: {{ $.resource.data.status | dump | safe }}\nstorage_locations: {{ $.resource.data.storageLocations | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > Image > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > Image
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/imageServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/imageServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > Image > ServiceNow > Table
Configure a Table for GCP > Compute Engine > Image
resource type in ServiceNow via the GCP > Compute Engine > Image > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/imageServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > Image > 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 > Compute Engine > Image
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/imageServiceNowTableDefinition
{ "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_computeengine_image", "label": "GCP > Compute Engine > Image", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "archive_size_bytes", "label": "Archive Size Bytes" }, { "name": "creation_timestamp", "label": "Creation Timestamp" }, { "name": "deprecation_state", "label": "Deprecation State" }, { "name": "description", "label": "Description" }, { "name": "disk_size_gb", "label": "Disk Size GB" }, { "name": "family", "label": "Family" }, { "name": "iam_policy", "label": "IAM Policy", "type": "string", "size": 1000 }, { "name": "id", "label": "ID" }, { "name": "image_encryption_key", "label": "Image Encryption Key", "type": "string", "size": 1000 }, { "name": "image_name", "label": "Image Name" }, { "name": "kind", "label": "Kind" }, { "name": "labels", "label": "Labels", "type": "string", "size": 1000 }, { "name": "project", "label": "Project", "type": "string" }, { "name": "raw_disk", "label": "Raw Disk", "type": "string", "size": 1000 }, { "name": "self_link", "label": "Self Link" }, { "name": "source_disk", "label": "Source Disk" }, { "name": "source_disk_encryption_key", "label": "Source Disk Encryption Key", "type": "string", "size": 1000 }, { "name": "source_disk_id", "label": "Source Disk ID" }, { "name": "source_image", "label": "Source Image" }, { "name": "source_image_encryption_key", "label": "Source Image Encryption Key", "type": "string", "size": 1000 }, { "name": "source_image_id", "label": "Source Image Id" }, { "name": "source_snapshot", "label": "Source Snapshot" }, { "name": "source_snapshot_encryption_key", "label": "Source Snapshot Encryption Key", "type": "string", "size": 1000 }, { "name": "source_snapshot_id", "label": "Source Snapshot ID" }, { "name": "source_type", "label": "Source Type" }, { "name": "status", "label": "Status" }, { "name": "storage_locations", "label": "Storage Locations", "type": "string", "size": 1000 }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 } ] }}
GCP > Compute Engine > Instance > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceServiceNow
GCP > Compute Engine > Instance > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > Instance
based on the policies GCP > Compute Engine > Instance > 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 > Compute Engine > Instance
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > Instance > 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 > Compute Engine > Instance
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceServiceNowConfigurationItemRecord
"{\n resource: instance{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"can_ip_forward: {{ $.resource.data.canIpForward | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndeletion_protection: {{ $.resource.data.deletionProtection | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\ndisks: {{ $.resource.data.disks | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\ninstance_name: {{ $.resource.data.name | dump | safe }}\nkind: {{ $.resource.data.kind | dump | safe }}\nlabels: {{ $.resource.data.labels | dump | safe }}\nmachine_type: {{ $.resource.data.machineType | dump | safe }}\nnetwork_interfaces: {{ $.resource.data.networkInterfaces | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nregion: {{ $.resource.metadata.gcp.regionName | dump | safe }}\nservice_accounts: {{ $.resource.data.serviceAccounts | dump | safe }}\nstatus: {{ $.resource.data.status | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\nzone: {{ $.resource.data.zone | dump | safe }}\nzone_name: {{ $.resource.metadata.gcp.zoneName | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > Instance > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > Instance
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/instanceServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > Instance > ServiceNow > Table
Configure a Table for GCP > Compute Engine > Instance
resource type in ServiceNow via the GCP > Compute Engine > Instance > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > Instance > 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 > Compute Engine > Instance
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceServiceNowTableDefinition
{ "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_computeengine_instance", "label": "GCP > Compute Engine > Instance", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "can_ip_forward", "label": "Can IP Forward", "type": "boolean" }, { "name": "creation_timestamp", "label": "Creation Timestamp" }, { "name": "deletion_protection", "label": "Deletion Protection", "type": "boolean" }, { "name": "description", "label": "Description" }, { "name": "disks", "label": "Disks", "type": "string", "size": 1000 }, { "name": "id", "label": "ID" }, { "name": "instance_name", "label": "Instance Name" }, { "name": "kind", "label": "Kind" }, { "name": "labels", "label": "Labels", "type": "string", "size": 1000 }, { "name": "machine_type", "label": "Machine Type" }, { "name": "network_interfaces", "label": "Network Interfaces", "type": "string", "size": 1000 }, { "name": "project", "label": "Project", "type": "string" }, { "name": "region", "label": "Region" }, { "name": "service_accounts", "label": "Service Accounts", "type": "string", "size": 1000 }, { "name": "status", "label": "Status" }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 }, { "name": "zone", "label": "Zone" }, { "name": "zone_name", "label": "Zone Name" } ] }}
GCP > Compute Engine > Instance Template > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceTemplateServiceNow
GCP > Compute Engine > Instance Template > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > Instance Template
based on the policies GCP > Compute Engine > Instance Template > 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 > Compute Engine > Instance Template
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceTemplateServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > Instance Template > 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 > Compute Engine > Instance Template
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceTemplateServiceNowConfigurationItemRecord
"{\n resource: instanceTemplate{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"description: {{ $.resource.data.description | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\ninstance_can_ip_forward: {{ $.resource.data.properties.canIpForward | dump | safe }}\ninstance_disks: {{ $.resource.data.properties.disks | dump | safe }}\ninstance_machine_type: {{ $.resource.data.properties.machineType | dump | safe }}\ninstance_network_interfaces: {{ $.resource.data.properties.networkInterfaces | dump | safe }}\ninstance_reservation_affinity: {{ $.resource.data.properties.reservationAffinity | dump | safe }}\ninstance_scheduling: {{ $.resource.data.properties.scheduling | dump | safe }}\ninstance_service_accounts: {{ $.resource.data.properties.serviceAccounts | dump | safe }}\ninstance_shielded_instance_config: {{ $.resource.data.properties.shieldedInstanceConfig | dump | safe }}\ninstance_template_name: {{ $.resource.data.name | dump | safe }}\nlabels: {{ $.resource.data.labels | dump | safe }}\nmetadata: {{ $.resource.data.properties.metadata | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nreservation_affinity: {{ $.resource.data.properties.reservationAffinity | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nsource_instance: {{ $.resource.data.sourceInstance | dump | safe }}\nsource_instance_params: {{ $.resource.data.sourceInstanceParams | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > Instance Template > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > Instance Template
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceTemplateServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/instanceTemplateServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > Instance Template > ServiceNow > Table
Configure a Table for GCP > Compute Engine > Instance Template
resource type in ServiceNow via the GCP > Compute Engine > Instance Template > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceTemplateServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > Instance Template > 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 > Compute Engine > Instance Template
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/instanceTemplateServiceNowTableDefinition
{ "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_computeengine_instancetemplate", "label": "GCP > Compute Engine > Instance Template", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "description", "label": "Description" }, { "name": "id", "label": "ID" }, { "name": "instance_can_ip_forward", "label": "Instance Can IP Forward", "type": "boolean" }, { "name": "instance_disks", "label": "Instance Disks", "type": "string", "size": 1000 }, { "name": "instance_machine_type", "label": "Instance Machine Type" }, { "name": "instance_network_interfaces", "label": "Instance Network Interfaces", "type": "string", "size": 1000 }, { "name": "instance_reservation_affinity", "label": "Instance Reservation Affinity", "type": "string", "size": 1000 }, { "name": "instance_scheduling", "label": "Instance Scheduling", "type": "string", "size": 1000 }, { "name": "instance_service_accounts", "label": "Instance Service Accounts", "type": "string", "size": 1000 }, { "name": "instance_shielded_instance_config", "label": "Instance Shielded Instance Config", "type": "string", "size": 1000 }, { "name": "instance_template_name", "label": "Name" }, { "name": "labels", "label": "Labels", "type": "string", "size": 1000 }, { "name": "metadata", "label": "Metadata", "type": "string", "size": 1000 }, { "name": "project", "label": "Project", "type": "string" }, { "name": "reservation_affinity", "label": "Reservation Affinity" }, { "name": "self_link", "label": "Self Link" }, { "name": "source_instance", "label": "Source Instance" }, { "name": "source_instance_params", "label": "Source Instance Params", "type": "string", "size": 1000 }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 } ] }}
GCP > Compute Engine > Node Group > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeGroupServiceNow
GCP > Compute Engine > Node Group > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > Node Group
based on the policies GCP > Compute Engine > Node 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 GCP > Compute Engine > Node Group
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeGroupServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > Node 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 GCP > Compute Engine > Node 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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeGroupServiceNowConfigurationItemRecord
"{\n resource: nodeGroup{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"autoscaling_policy_max_nodes: {{ $.resource.data.autoscalingPolicy.maxNodes | dump | safe }}\nautoscaling_policy_min_nodes: {{ $.resource.data.autoscalingPolicy.minNodes | dump | safe }}\nautoscaling_policy_mode: {{ $.resource.data.autoscalingPolicy | dump | safe }}\niam_policy: {{ $.resource.data.iamPolicy | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nmaintenance_policy: {{ $.resource.data.maintenancePolicy | dump | safe }}\nmaintenance_window: {{ $.resource.data.maintenanceWindow | dump | safe }}\nnode_group_name: {{ $.resource.data.name | dump | safe }}\nnode_template: {{ $.resource.data.nodeTemplate | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nregion: {{ $.resource.metadata.gcp.regionName | dump | safe }}\nshare_settings: {{ $.resource.data.shareSettings | dump | safe }}\nsize: {{ $.resource.data.size | dump | safe }}\nstatus: {{ $.resource.data.status | dump | safe }}\ntarget_id: {{ $.resource.data.targetId | dump | safe }}\ntarget_link: {{ $.resource.data.targetLink | dump | safe }}\nzone: {{ $.resource.data.zone | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > Node Group > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > Node Group
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeGroupServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/nodeGroupServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > Node Group > ServiceNow > Table
Configure a Table for GCP > Compute Engine > Node Group
resource type in ServiceNow via the GCP > Compute Engine > Node Group > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeGroupServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > Node 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 GCP > Compute Engine > Node Group
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeGroupServiceNowTableDefinition
{ "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_computeengine_nodegroup", "label": "GCP > Compute Engine > Node Group", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "autoscaling_policy_max_nodes", "label": "Autoscaling Policy Max Nodes" }, { "name": "autoscaling_policy_min_nodes", "label": "Autoscaling Policy Min Nodes" }, { "name": "autoscaling_policy_mode", "label": "Autoscaling Policy Mode" }, { "name": "iam_policy", "label": "IAM Policy", "type": "string", "size": 1000 }, { "name": "id", "label": "ID" }, { "name": "maintenance_policy", "label": "Maintenance Policy" }, { "name": "maintenance_window", "label": "Maintenance Window" }, { "name": "node_group_name", "label": "Name" }, { "name": "node_template", "label": "Node Template" }, { "name": "project", "label": "Project", "type": "string" }, { "name": "region", "label": "Region" }, { "name": "share_settings", "label": "Share Settings", "size": 1000 }, { "name": "size", "label": "Size", "type": "integer" }, { "name": "status", "label": "Status" }, { "name": "target_id", "label": "Target ID" }, { "name": "target_link", "label": "Target Link" }, { "name": "zone", "label": "Zone" } ] }}
GCP > Compute Engine > Node template > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeTemplateServiceNow
GCP > Compute Engine > Node template > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > Node Template
based on the policies GCP > Compute Engine > Node Template > 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 > Compute Engine > Node Template
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeTemplateServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > Node template > 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 > Compute Engine > Node Template
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeTemplateServiceNowConfigurationItemRecord
"{\n resource: nodeTemplate{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"cpu_overcommit_type: {{ $.resource.data.cpuOvercommitType | dump | safe }}\ndisks: {{ $.resource.data.disks | dump | safe }}\niam_policy: {{ $.resource.data.iamPolicy | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\ninstance_template_name: {{ $.resource.data.name | dump | safe }}\nnode_type: {{ $.resource.data.nodeType | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nregion: {{ $.resource.metadata.gcp.regionName | dump | safe }}\nserver_binding_type: {{ $.resource.data.serverBinding | dump | safe }}\nstatus: {{ $.resource.data.status | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > Node template > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > Node Template
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeTemplateServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/nodeTemplateServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > Node template > ServiceNow > Table
Configure a Table for GCP > Compute Engine > Node Template
resource type in ServiceNow via the GCP > Compute Engine > Node Template > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeTemplateServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > Node template > 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 > Compute Engine > Node Template
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/nodeTemplateServiceNowTableDefinition
{ "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_computeengine_nodetemplate", "label": "GCP > Compute Engine > Node Template", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "cpu_overcommit_type", "label": "CPU Overcommit Type" }, { "name": "disks", "label": "Disks", "type": "string", "size": 1000 }, { "name": "iam_policy", "label": "IAM Policy", "type": "string", "size": 1000 }, { "name": "id", "label": "ID" }, { "name": "instance_template_name", "label": "Name" }, { "name": "node_type", "label": "Node Type" }, { "name": "project", "label": "Project", "type": "string" }, { "name": "region", "label": "Region" }, { "name": "server_binding_type", "label": "Server Binding", "type": "string" }, { "name": "status", "label": "Status" } ] }}
GCP > Compute Engine > Project > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/computeProjectServiceNow
GCP > Compute Engine > Project > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > Project
based on the policies GCP > Compute Engine > Project > 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 > Compute Engine > Project
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/computeProjectServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > Project > 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 > Compute Engine > Project
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/computeProjectServiceNowConfigurationItemRecord
"{\n resource: computeProject{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"common_instance_metadata: {{ $.resource.data.commonInstanceMetadata | dump | safe }}\ncompute_project_name: {{ $.resource.data.name | dump | safe }}\ndefault_network_tier: {{ $.resource.data.defaultNetworkTier | dump | safe }}\ndefault_service_account: {{ $.resource.data.defaultServiceAccount | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nquotas: {{ $.resource.data.quotas | dump | safe }}\nvm_dns_setting: {{ $.resource.data.vmDnsSetting | dump | safe }}\nxpn_project_status: {{ $.resource.data.xpnProjectStatus | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > Project > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > Project
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/computeProjectServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/computeProjectServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > Project > ServiceNow > Table
Configure a Table for GCP > Compute Engine > Project
resource type in ServiceNow via the GCP > Compute Engine > Project > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/computeProjectServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > Project > 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 > Compute Engine > Project
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/computeProjectServiceNowTableDefinition
{ "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_computeengine_computeproject", "label": "GCP > Compute Engine > Project", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "common_instance_metadata", "label": "Common Instance Metadata", "type": "string", "size": 1000 }, { "name": "compute_project_name", "label": "Name" }, { "name": "default_network_tier", "label": "Default Network Tier" }, { "name": "default_service_account", "label": "Default Service Account" }, { "name": "id", "label": "ID" }, { "name": "project", "label": "Project", "type": "string" }, { "name": "quotas", "label": "Quotas", "type": "string", "size": 1000 }, { "name": "vm_dns_setting", "label": "VM DNS Setting" }, { "name": "xpn_project_status", "label": "XPN Project Status" } ] }}
GCP > Compute Engine > Region Disk > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionDiskServiceNow
GCP > Compute Engine > Region Disk > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > Region Disk
based on the policies GCP > Compute Engine > Region Disk > 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 > Compute Engine > Region Disk
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionDiskServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > Region Disk > 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 > Compute Engine > Region Disk
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionDiskServiceNowConfigurationItemRecord
"{\n resource: regionDisk{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"disk_encryption_key: {{ $.resource.data.diskEncryptionKey | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nlabels: {{ $.resource.data.labels | dump | safe }}\nlicenses: {{ $.resource.data.licenses | dump | safe }}\nphysical_block_size_bytes: {{ $.resource.data.physicalBlockSizeBytes | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nregion: {{ $.resource.metadata.gcp.regionName | dump | safe }}\nregion_disk_name: {{ $.resource.data.name | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nsize_gb: {{ $.resource.data.sizeGb | dump | safe }}\nsnapshot_encryption_key: {{ $.resource.data.snapshotEncryptionKey | dump | safe }}\nsource_image: {{ $.resource.data.sourceImage | dump | safe }}\nsource_image_encryption_key: {{ $.resource.data.sourceImageEncryptionKey | dump | safe }}\nsource_image_id: {{ $.resource.data.sourceImageId | dump | safe }}\nsource_snapshot: {{ $.resource.data.sourceSnapshot | dump | safe }}\nsource_snapshot_id: {{ $.resource.data.sourceSnapshotId | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > Region Disk > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > Region Disk
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionDiskServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/regionDiskServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > Region Disk > ServiceNow > Table
Configure a Table for GCP > Compute Engine > Region Disk
resource type in ServiceNow via the GCP > Compute Engine > Region Disk > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionDiskServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > Region Disk > 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 > Compute Engine > Region Disk
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionDiskServiceNowTableDefinition
{ "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_computeengine_regiondisk", "label": "GCP > Compute Engine > Region Disk", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "disk_encryption_key", "label": "Disk Encryption Key", "type": "string", "size": 1000 }, { "name": "id", "label": "ID" }, { "name": "labels", "label": "Labels", "type": "string", "size": 1000 }, { "name": "licenses", "label": "Licenses", "type": "string", "size": 1000 }, { "name": "physical_block_size_bytes", "label": "Physical Block Size Bytes" }, { "name": "project", "label": "Project", "type": "string" }, { "name": "region", "label": "Region" }, { "name": "region_disk_name", "label": "Name" }, { "name": "self_link", "label": "Self Link" }, { "name": "size_gb", "label": "Size GB" }, { "name": "snapshot_encryption_key", "label": "Snapshot Encryption Key" }, { "name": "source_image", "label": "Source Image" }, { "name": "source_image_encryption_key", "label": "Source Image Encryption Key" }, { "name": "source_image_id", "label": "Source Image ID" }, { "name": "source_snapshot", "label": "Source Snapshot" }, { "name": "source_snapshot_id", "label": "Source Snapshot ID" }, { "name": "type", "label": "Type" } ] }}
GCP > Compute Engine > Region Health Check > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionHealthCheckServiceNow
GCP > Compute Engine > Region Health Check > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > Region Health Check
based on the policies GCP > Compute Engine > Region Health Check > 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 > Compute Engine > Region Health Check
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionHealthCheckServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > Region Health Check > 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 > Compute Engine > Region Health Check
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionHealthCheckServiceNowConfigurationItemRecord
"{\n resource: regionHealthCheck{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"check_interval_sec: {{ $.resource.data.checkIntervalSec | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\nhealthy_threshold: {{ $.resource.data.healthyThreshold | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nregion_health_check_name: {{ $.resource.data.name | dump | safe }}\ntimeout_sec: {{ $.resource.data.timeoutSec | dump | safe }}\nunhealthy_threshold: {{ $.resource.data.unhealthyThreshold | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > Region Health Check > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > Region Health Check
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionHealthCheckServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/regionHealthCheckServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > Region Health Check > ServiceNow > Table
Configure a Table for GCP > Compute Engine > Region Health Check
resource type in ServiceNow via the GCP > Compute Engine > Region Health Check > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionHealthCheckServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > Region Health Check > 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 > Compute Engine > Region Health Check
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/regionHealthCheckServiceNowTableDefinition
{ "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_computeengine_regionhealthcheck", "label": "GCP > Compute Engine > Region Health Check", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "check_interval_sec", "label": "Check Interval Sec", "type": "integer" }, { "name": "description", "label": "Description" }, { "name": "healthy_threshold", "label": "Healthy Threshold" }, { "name": "id", "label": "ID" }, { "name": "project", "label": "Project", "type": "string" }, { "name": "region_health_check_name", "label": "Name" }, { "name": "timeout_sec", "label": "Timeout Sec", "type": "integer" }, { "name": "unhealthy_threshold", "label": "Unhealthy Threshold" } ] }}
GCP > Compute Engine > Snapshot > ServiceNow
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/snapshotServiceNow
GCP > Compute Engine > Snapshot > ServiceNow > Configuration Item
Synchronize the data for the GCP > Compute Engine > Snapshot
based on the policies GCP > Compute Engine > Snapshot > 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 > Compute Engine > Snapshot
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/snapshotServiceNowConfigurationItem
[ "Skip", "Check: Archived", "Check: Deleted", "Check: Sync", "Enforce: Archived", "Enforce: Deleted", "Enforce: Sync", "Enforce: Sync, archive on delete"]
{ "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 > Compute Engine > Snapshot > 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 > Compute Engine > Snapshot
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.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/snapshotServiceNowConfigurationItemRecord
"{\n resource: snapshot{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"auto_created: {{ $.resource.data.autoCreated | dump | safe }}\ncreation_timestamp: {{ $.resource.data.creationTimestamp | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\ndisk_size_gb: {{ $.resource.data.diskSizeGb | dump | safe }}\nencryption_key_raw_key: {{ $.resource.data.snapshotEncryptionKey.rawKey | dump | safe }}\nencryption_key_sha256: {{ $.resource.data.snapshotEncryptionKey.sha256 | dump | safe }}\nkms_key_name: {{ $.resource.data.snapshotEncryptionKey.kmsKeyName | dump | safe }}\nkms_key_service_account: {{ $.resource.data.snapshotEncryptionKey.kmsKeyServiceAccount | dump | safe }}\nlabels: {{ $.resource.data.labels | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nself_link: {{ $.resource.data.selfLink | dump | safe }}\nsnapshot_name: {{ $.resource.data.name | dump | safe }}\nsource_disk: {{ $.resource.data.sourceDisk | dump | safe }}\nsource_disk_encryption_key: {{ $.resource.data.sourceDiskEncryptionKey | dump | safe }}\nsource_disk_name: {{ $.resource.data.sourceDisk | dump | safe }}\nstatus: {{ $.resource.data.status | dump | safe }}\nstorage_bytes: {{ $.resource.data.storageBytes | dump | safe }}\nstorage_bytes_status: {{ $.resource.data.storageBytesStatus | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\n"
{ "type": "object"}
GCP > Compute Engine > Snapshot > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Compute Engine > Snapshot
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/snapshotServiceNowConfigurationItemTableDefinition
[ "{\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-computeengine#/policy/types/snapshotServiceNowTableDefinition 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"]
"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"
{ "type": "object", "additionalProperties": false, "required": [ "tableName" ], "properties": { "tableName": { "type": "string" }, "archiveColumns": { "type": "object" } }}
GCP > Compute Engine > Snapshot > ServiceNow > Table
Configure a Table for GCP > Compute Engine > Snapshot
resource type in ServiceNow via the GCP > Compute Engine > Snapshot > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/snapshotServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Compute Engine > Snapshot > 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 > Compute Engine > Snapshot
data.
tmod:@turbot/servicenow-gcp-computeengine#/policy/types/snapshotServiceNowTableDefinition
{ "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_computeengine_snapshot", "label": "GCP > Compute Engine > Snapshot", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "auto_created", "label": "Auto Created", "type": "boolean" }, { "name": "creation_timestamp", "label": "Creation Timestamp" }, { "name": "description", "label": "Description" }, { "name": "disk_size_gb", "label": "Disk Size GB" }, { "name": "encryption_key_raw_key", "label": "Encryption Key Raw Key" }, { "name": "encryption_key_sha256", "label": "Encryption Key Sha256" }, { "name": "kms_key_name", "label": "Kms Key Name" }, { "name": "kms_key_service_account", "label": "Kms Key Service Account" }, { "name": "labels", "label": "Labels", "type": "string", "size": 1000 }, { "name": "project", "label": "Project", "type": "string" }, { "name": "self_link", "label": "Self Link" }, { "name": "snapshot_name", "label": "Snapshot Name" }, { "name": "source_disk", "label": "Source Disk" }, { "name": "source_disk_encryption_key", "label": "Source Disk Encryption Key", "type": "string", "size": 1000 }, { "name": "source_disk_name", "label": "Source Disk Name" }, { "name": "status", "label": "Status" }, { "name": "storage_bytes", "label": "Storage Bytes" }, { "name": "storage_bytes_status", "label": "Storage Bytes Status" }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 } ] }}