Policy types for @turbot/servicenow-gcp-bigtable
- GCP > Bigtable > Cluster > ServiceNow
- GCP > Bigtable > Cluster > ServiceNow > Configuration Item
- GCP > Bigtable > Cluster > ServiceNow > Configuration Item > Record
- GCP > Bigtable > Cluster > ServiceNow > Configuration Item > Table Definition
- GCP > Bigtable > Cluster > ServiceNow > Table
- GCP > Bigtable > Cluster > ServiceNow > Table > Definition
- GCP > Bigtable > Instance > ServiceNow
- GCP > Bigtable > Instance > ServiceNow > Configuration Item
- GCP > Bigtable > Instance > ServiceNow > Configuration Item > Record
- GCP > Bigtable > Instance > ServiceNow > Configuration Item > Table Definition
- GCP > Bigtable > Instance > ServiceNow > Table
- GCP > Bigtable > Instance > ServiceNow > Table > Definition
- GCP > Bigtable > Table > ServiceNow
- GCP > Bigtable > Table > ServiceNow > Configuration Item
- GCP > Bigtable > Table > ServiceNow > Configuration Item > Record
- GCP > Bigtable > Table > ServiceNow > Configuration Item > Table Definition
- GCP > Bigtable > Table > ServiceNow > Table
- GCP > Bigtable > Table > ServiceNow > Table > Definition
GCP > Bigtable > Cluster > ServiceNow
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/clusterServiceNow
GCP > Bigtable > Cluster > ServiceNow > Configuration Item
Synchronize the data for the GCP > Bigtable > Cluster
based on the policies GCP > Bigtable > Cluster > 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 > Bigtable > Cluster
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/clusterServiceNowConfigurationItem
[ "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 > Bigtable > Cluster > 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 > Bigtable > Cluster
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-bigtable#/policy/types/clusterServiceNowConfigurationItemRecord
"{\n resource: cluster{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"cluster_config: {{ $.resource.data.clusterConfig | dump | safe }}\ncluster_location: {{ $.resource.data.location | dump | safe }}\ncluster_name: {{ $.resource.data.name | dump | safe }}\ndefault_storage_type: {{ $.resource.data.defaultStorageType | dump | safe }}\nencryption_config: {{ $.resource.data.encryptionConfig | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nserver_nodes: {{ $.resource.data.serveNodes | dump | safe }}\nstate: {{ $.resource.data.state | dump | safe }}\n"
{ "type": "object"}
GCP > Bigtable > Cluster > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Bigtable > Cluster
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/clusterServiceNowConfigurationItemTableDefinition
[ "{\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-bigtable#/policy/types/clusterServiceNowTableDefinition 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 > Bigtable > Cluster > ServiceNow > Table
Configure a Table for GCP > Bigtable > Cluster
resource type in ServiceNow via the GCP > Bigtable > Cluster > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/clusterServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Bigtable > Cluster > 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 > Bigtable > Cluster
data.
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/clusterServiceNowTableDefinition
{ "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_bigtable_cluster", "label": "GCP > Bigtable > Cluster", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "cluster_config", "label": "Cluster Config", "type": "string", "size": 1000 }, { "name": "cluster_location", "label": "Location" }, { "name": "cluster_name", "label": "Cluster Name" }, { "name": "default_storage_type", "label": "Default Storage Type", "type": "string" }, { "name": "encryption_config", "label": "Encryption Config", "type": "string", "size": 1000 }, { "name": "project", "label": "Project" }, { "name": "server_nodes", "label": "Server Nodes" }, { "name": "state", "label": "State" } ] }}
GCP > Bigtable > Instance > ServiceNow
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/instanceServiceNow
GCP > Bigtable > Instance > ServiceNow > Configuration Item
Synchronize the data for the GCP > Bigtable > Instance
based on the policies GCP > Bigtable > 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 > Bigtable > Instance
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-bigtable#/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 > Bigtable > 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 > Bigtable > 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-bigtable#/policy/types/instanceServiceNowConfigurationItemRecord
"{\n resource: instance{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"display_name: {{ $.resource.data.displayName | dump | safe }}\niam_policy: {{ $.resource.data.iamPolicy | dump | safe }}\ninstance_name: {{ $.resource.data.name | dump | safe }}\ninstance_type: {{ $.resource.data.type | dump | safe }}\nlabels: {{ $.resource.data.labels | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nstate: {{ $.resource.data.state | dump | safe }}\n"
{ "type": "object"}
GCP > Bigtable > 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 > Bigtable > Instance
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-bigtable#/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-bigtable#/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 > Bigtable > Instance > ServiceNow > Table
Configure a Table for GCP > Bigtable > Instance
resource type in ServiceNow via the GCP > Bigtable > Instance > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/instanceServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Bigtable > 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 > Bigtable > Instance
data.
tmod:@turbot/servicenow-gcp-bigtable#/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_bigtable_instance", "label": "GCP > Bigtable > Instance", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "display_name", "label": "Display Name" }, { "name": "iam_policy", "label": "IAM Policy", "type": "string", "size": 1000 }, { "name": "instance_name", "label": "Name" }, { "name": "instance_type", "label": "Type" }, { "name": "labels", "label": "Labels", "type": "string", "size": 1000 }, { "name": "project", "label": "Project" }, { "name": "state", "label": "State" } ] }}
GCP > Bigtable > Table > ServiceNow
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/tableServiceNow
GCP > Bigtable > Table > ServiceNow > Configuration Item
Synchronize the data for the GCP > Bigtable > Table
based on the policies GCP > Bigtable > Table > ServiceNow > Configuration Item > *
The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the GCP > Bigtable > Table
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/tableServiceNowConfigurationItem
[ "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 > Bigtable > Table > ServiceNow > Configuration Item > Record
The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an GCP > Bigtable > Table
is systematically mapped to a specific column in a ServiceNow table.
The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/tableServiceNowConfigurationItemRecord
"{\n resource: table{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"change_stream_config: {{ $.resource.data.changeStreamConfig | dump | safe }}\ncluster_states: {{ $.resource.data.clusterStates | dump | safe }}\ncolumn_families: {{ $.resource.data.columnFamilies | dump | safe }}\ndeletion_protection: {{ $.resource.data.deletionProtection | dump | safe }}\ngranularity: {{ $.resource.data.granularity | dump | safe }}\nproject: {{ $.resource.metadata.gcp.projectId | dump | safe }}\nrestore_info: {{ $.resource.data.restoreInfo | dump | safe }}\nstats: {{ $.resource.data.stats | dump | safe }}\ntable_name: {{ $.resource.data.name | dump | safe }}\n"
{ "type": "object"}
GCP > Bigtable > Table > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the GCP > Bigtable > Table
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/tableServiceNowConfigurationItemTableDefinition
[ "{\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-bigtable#/policy/types/tableServiceNowTableDefinition 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 > Bigtable > Table > ServiceNow > Table
Configure a Table for GCP > Bigtable > Table
resource type in ServiceNow via the GCP > Bigtable > Table > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/tableServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
GCP > Bigtable > Table > ServiceNow > Table > Definition
The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing GCP > Bigtable > Table
data.
tmod:@turbot/servicenow-gcp-bigtable#/policy/types/tableServiceNowTableDefinition
{ "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_bigtable_table", "label": "GCP > Bigtable > Table", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "change_stream_config", "label": "Change Stream Config", "type": "string", "size": 1000 }, { "name": "cluster_states", "label": "Cluster States", "type": "string", "size": 1000 }, { "name": "column_families", "label": "Column Families", "type": "string", "size": 1000 }, { "name": "deletion_protection", "label": "Deletion Protection", "type": "boolean" }, { "name": "granularity", "label": "Granularity", "type": "string", "size": 1000 }, { "name": "project", "label": "Project" }, { "name": "restore_info", "label": "Stats", "type": "Restore Info", "size": 1000 }, { "name": "stats", "label": "Stats", "type": "string", "size": 1000 }, { "name": "table_name", "label": "Name" } ] }}