Policy types for @turbot/servicenow-gcp-appengine
- GCP > App Engine > Application > ServiceNow
- GCP > App Engine > Application > ServiceNow > Configuration Item
- GCP > App Engine > Application > ServiceNow > Configuration Item > Record
- GCP > App Engine > Application > ServiceNow > Configuration Item > Table Definition
- GCP > App Engine > Application > ServiceNow > Table
- GCP > App Engine > Application > ServiceNow > Table > Definition
- GCP > App Engine > Firewall Rule > ServiceNow
- GCP > App Engine > Firewall Rule > ServiceNow > Configuration Item
- GCP > App Engine > Firewall Rule > ServiceNow > Configuration Item > Record
- GCP > App Engine > Firewall Rule > ServiceNow > Configuration Item > Table Definition
- GCP > App Engine > Firewall Rule > ServiceNow > Table
- GCP > App Engine > Firewall Rule > ServiceNow > Table > Definition
- GCP > App Engine > Instance > ServiceNow
- GCP > App Engine > Instance > ServiceNow > Configuration Item
- GCP > App Engine > Instance > ServiceNow > Configuration Item > Record
- GCP > App Engine > Instance > ServiceNow > Configuration Item > Table Definition
- GCP > App Engine > Instance > ServiceNow > Table
- GCP > App Engine > Instance > ServiceNow > Table > Definition
- GCP > App Engine > Service > ServiceNow
- GCP > App Engine > Service > ServiceNow > Configuration Item
- GCP > App Engine > Service > ServiceNow > Configuration Item > Record
- GCP > App Engine > Service > ServiceNow > Configuration Item > Table Definition
- GCP > App Engine > Service > ServiceNow > Table
- GCP > App Engine > Service > ServiceNow > Table > Definition
- GCP > App Engine > Version > ServiceNow
- GCP > App Engine > Version > ServiceNow > Configuration Item
- GCP > App Engine > Version > ServiceNow > Configuration Item > Record
- GCP > App Engine > Version > ServiceNow > Configuration Item > Table Definition
- GCP > App Engine > Version > ServiceNow > Table
- GCP > App Engine > Version > ServiceNow > Table > Definition
GCP > App Engine > Application > ServiceNow
tmod:@turbot/servicenow-gcp-appengine#/policy/types/applicationServiceNow
GCP > App Engine > Application > ServiceNow > Configuration Item
Synchronize the data for the GCP > App Engine > Application
based on the policies GCP > App Engine > Application > 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 > App Engine > Application
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/applicationServiceNowConfigurationItem
[ "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 > App Engine > Application > 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 > App Engine > Application
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-appengine#/policy/types/applicationServiceNowConfigurationItemRecord
"{\n resource: application{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"application_name: {{ $.resource.data.name | dump | safe }}\ncode_bucket: {{ $.resource.data.codeBucket | dump | safe }}\ndatabase_type: {{ $.resource.data.databaseType | dump | safe }}\ndefault_bucket: {{ $.resource.data.defaultBucket | dump | safe }}\ndefault_hostname: {{ $.resource.data.defaultHostname | dump | safe }}\nfeature_settings: {{ $.resource.data.featureSettings | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nlocation_id: {{ $.resource.data.locationId | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nservice_account: {{ $.resource.data.serviceAccount | dump | safe }}\nserving_status: {{ $.resource.data.servingStatus | dump | safe }}\n"
{ "type": "object"}
GCP > App Engine > Application > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > App Engine > Application
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/applicationServiceNowConfigurationItemTableDefinition
[ "{\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-appengine#/policy/types/applicationServiceNowTableDefinition 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 > App Engine > Application > ServiceNow > Table
Configure a Table for GCP > App Engine > Application
resource type in ServiceNow via the GCP > App Engine > Application > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/applicationServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > App Engine > Application > 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 > App Engine > Application
data.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/applicationServiceNowTableDefinition
{ "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_appengine_application", "label": "GCP > App Engine > Application", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "application_name", "label": "Name" }, { "name": "code_bucket", "label": "Code Bucket" }, { "name": "database_type", "label": "Database Type" }, { "name": "default_bucket", "label": "Default Bucket" }, { "name": "default_hostname", "label": "Default Hostname" }, { "name": "feature_settings", "label": "Feature Settings" }, { "name": "id", "label": "ID" }, { "name": "location_id", "label": "Location ID", "type": "string" }, { "name": "project", "label": "Project", "type": "string" }, { "name": "service_account", "label": "Service Account" }, { "name": "serving_status", "label": "Serving Status" } ] }}
GCP > App Engine > Firewall Rule > ServiceNow
tmod:@turbot/servicenow-gcp-appengine#/policy/types/firewallRuleServiceNow
GCP > App Engine > Firewall Rule > ServiceNow > Configuration Item
Synchronize the data for the GCP > App Engine > Firewall Rule
based on the policies GCP > App Engine > Firewall Rule > ServiceNow > Configuration Item > *
The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the GCP > App Engine > Firewall Rule
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/firewallRuleServiceNowConfigurationItem
[ "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 > App Engine > Firewall Rule > ServiceNow > Configuration Item > Record
The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an GCP > App Engine > Firewall Rule
is systematically mapped to a specific column in a ServiceNow table.
The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/firewallRuleServiceNowConfigurationItemRecord
"{\n resource: firewallRule{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"action: {{ $.resource.data.action | dump | safe }}\ndescription: {{ $.resource.data.description | dump | safe }}\npriority: {{ $.resource.data.priority | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nsource_range: {{ $.resource.data.sourceRange | dump | safe }}\n"
{ "type": "object"}
GCP > App Engine > Firewall Rule > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > App Engine > Firewall Rule
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/firewallRuleServiceNowConfigurationItemTableDefinition
[ "{\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-appengine#/policy/types/firewallRuleServiceNowTableDefinition 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 > App Engine > Firewall Rule > ServiceNow > Table
Configure a Table for GCP > App Engine > Firewall Rule
resource type in ServiceNow via the GCP > App Engine > Firewall Rule > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/firewallRuleServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > App Engine > Firewall Rule > ServiceNow > Table > Definition
The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing GCP > App Engine > Firewall Rule
data.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/firewallRuleServiceNowTableDefinition
{ "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_appengine_firewallrule", "label": "GCP > App Engine > Firewall Rule", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "action", "label": "Action" }, { "name": "description", "label": "Description", "type": "strings" }, { "name": "priority", "label": "Priority" }, { "name": "project", "label": "Project", "type": "string" }, { "name": "source_range", "label": "Source Range" } ] }}
GCP > App Engine > Instance > ServiceNow
tmod:@turbot/servicenow-gcp-appengine#/policy/types/instanceServiceNow
GCP > App Engine > Instance > ServiceNow > Configuration Item
Synchronize the data for the GCP > App Engine > Instance
based on the policies GCP > App 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 > App Engine > Instance
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-appengine#/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 > App 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 > App 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-appengine#/policy/types/instanceServiceNowConfigurationItemRecord
"{\n resource: instance{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"app_engine_release: {{ $.resource.data.appEngineRelease | dump | safe }}\navailability: {{ $.resource.data.availability | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\ninstance_name: {{ $.resource.data.name | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nservice_id: {{ $.resource.metadata.serviceId | dump | safe }}\nversion_id: {{ $.resource.metadata.versionId | dump | safe }}\nvm_id: {{ $.resource.data.vmId | dump | safe }}\nvm_ip: {{ $.resource.data.vmIp | dump | safe }}\nvm_name: {{ $.resource.data.vmName | dump | safe }}\nvm_status: {{ $.resource.data.vmStatus | dump | safe }}\n"
{ "type": "object"}
GCP > App 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 > App Engine > Instance
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-appengine#/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-appengine#/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 > App Engine > Instance > ServiceNow > Table
Configure a Table for GCP > App Engine > Instance
resource type in ServiceNow via the GCP > App Engine > Instance > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/instanceServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > App 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 > App Engine > Instance
data.
tmod:@turbot/servicenow-gcp-appengine#/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_appengine_instance", "label": "GCP > App Engine > Instance", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "app_engine_release", "label": "App Engine Release" }, { "name": "availability", "label": "Availability" }, { "name": "id", "label": "ID" }, { "name": "instance_name", "label": "Name" }, { "name": "project", "label": "Project", "type": "string" }, { "name": "service_id", "label": "Service ID" }, { "name": "version_id", "label": "Version ID" }, { "name": "vm_id", "label": "VM ID" }, { "name": "vm_ip", "label": "VM IP" }, { "name": "vm_name", "label": "Vm Name" }, { "name": "vm_status", "label": "Vm Status" } ] }}
GCP > App Engine > Service > ServiceNow
tmod:@turbot/servicenow-gcp-appengine#/policy/types/serviceServiceNow
GCP > App Engine > Service > ServiceNow > Configuration Item
Synchronize the data for the GCP > App Engine > Service
based on the policies GCP > App Engine > Service > ServiceNow > Configuration Item > *
The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the GCP > App Engine > Service
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/serviceServiceNowConfigurationItem
[ "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 > App Engine > Service > ServiceNow > Configuration Item > Record
The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an GCP > App Engine > Service
is systematically mapped to a specific column in a ServiceNow table.
The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/serviceServiceNowConfigurationItemRecord
"{\n resource: service{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"id: {{ $.resource.data.id | dump | safe }}\nlabels: {{ $.resource.data.labels | dump | safe }}\nnetwork_settings: {{ $.resource.data.networkSettings | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nservice_name: {{ $.resource.data.name | dump | safe }}\nsplit: {{ $.resource.data.split | dump | safe }}\n"
{ "type": "object"}
GCP > App Engine > Service > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > App Engine > Service
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/serviceServiceNowConfigurationItemTableDefinition
[ "{\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-appengine#/policy/types/serviceServiceNowTableDefinition 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 > App Engine > Service > ServiceNow > Table
Configure a Table for GCP > App Engine > Service
resource type in ServiceNow via the GCP > App Engine > Service > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/serviceServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > App Engine > Service > ServiceNow > Table > Definition
The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing GCP > App Engine > Service
data.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/serviceServiceNowTableDefinition
{ "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_appengine_service", "label": "GCP > App Engine > Service", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "id", "label": "ID" }, { "name": "labels", "label": "Labels", "type": "string", "size": 1000 }, { "name": "network_settings", "label": "Network Settings", "type": "string", "size": 1000 }, { "name": "project", "label": "Project", "type": "string" }, { "name": "service_name", "label": "Service Name" }, { "name": "split", "label": "Split", "type": "string", "size": 1000 } ] }}
GCP > App Engine > Version > ServiceNow
tmod:@turbot/servicenow-gcp-appengine#/policy/types/versionServiceNow
GCP > App Engine > Version > ServiceNow > Configuration Item
Synchronize the data for the GCP > App Engine > Version
based on the policies GCP > App Engine > Version > 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 > App Engine > Version
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/versionServiceNowConfigurationItem
[ "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 > App Engine > Version > 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 > App Engine > Version
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-appengine#/policy/types/versionServiceNowConfigurationItemRecord
"{\n resource: version{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"env: {{ $.resource.data.env | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\ninstance_class: {{ $.resource.data.instanceClass | dump | safe }}\nnetwork: {{ $.resource.data.network | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nruntime: {{ $.resource.data.runtime | dump | safe }}\nservice_id: {{ $.resource.metadata.serviceId | dump | safe }}\nserving_status: {{ $.resource.data.servingStatus | dump | safe }}\nthreadsafe: {{ $.resource.data.threadsafe | dump | safe }}\nversion_name: {{ $.resource.data.name | dump | safe }}\nversion_url: {{ $.resource.data.versionUrl | dump | safe }}\n"
{ "type": "object"}
GCP > App Engine > Version > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > App Engine > Version
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/versionServiceNowConfigurationItemTableDefinition
[ "{\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-appengine#/policy/types/versionServiceNowTableDefinition 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 > App Engine > Version > ServiceNow > Table
Configure a Table for GCP > App Engine > Version
resource type in ServiceNow via the GCP > App Engine > Version > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/versionServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > App Engine > Version > 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 > App Engine > Version
data.
tmod:@turbot/servicenow-gcp-appengine#/policy/types/versionServiceNowTableDefinition
{ "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_appengine_version", "label": "GCP > App Engine > Version", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "env", "label": "Env" }, { "name": "id", "label": "ID" }, { "name": "instance_class", "label": "Instance Class" }, { "name": "network", "label": "Network", "type": "string", "size": 1000 }, { "name": "project", "label": "Project", "type": "string" }, { "name": "runtime", "label": "Runtime" }, { "name": "service_id", "label": "Service ID" }, { "name": "serving_status", "label": "Serving Status" }, { "name": "threadsafe", "label": "Threadsafe" }, { "name": "version_name", "label": "Version Name" }, { "name": "version_url", "label": "Version URL", "type": "string" } ] }}