Policy types for @turbot/servicenow-gcp-firebase

GCP > Firebase > Android App > ServiceNow

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/androidAppServiceNow
Targets

GCP > Firebase > Android App > ServiceNow > Configuration Item

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

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

GCP > Firebase > Android App > 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 > Firebase > Android App is systematically mapped to a specific column in a ServiceNow table.

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

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/androidAppServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: androidApp{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"android_app_name: {{ $.resource.data.name | dump | safe }}\napi_key_id: {{ $.resource.data.apiKeyId | dump | safe }}\napp_id: {{ $.resource.data.appId | dump | safe }}\ndisplay_name: {{ $.resource.data.displayName | dump | safe }}\netag: {{ $.resource.data.etag | dump | safe }}\nexpire_time: {{ $.resource.data.expireTime | dump | safe }}\npackage_name: {{ $.resource.data.packageName | dump | safe }}\nproject_id: {{ $.resource.data.projectId | dump | safe }}\nsha1_hashes: {{ $.resource.data.sha1Hashes | dump | safe }}\nsha256_hashes: {{ $.resource.data.sha256Hashes | dump | safe }}\nstate: {{ $.resource.data.state | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Firebase > Android App > ServiceNow > Configuration Item > Table Definition

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

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

GCP > Firebase > Android App > ServiceNow > Table

Configure a Table for GCP > Firebase > Android App resource type in ServiceNow via the GCP > Firebase > Android App > ServiceNow > Table > * policies.

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

GCP > Firebase > Android App > 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 > Firebase > Android App data.

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/androidAppServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_gcp_firebase_androidapp",
"label": "GCP > Firebase > Android App",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "android_app_name",
"label": "Name"
},
{
"name": "api_key_id",
"label": "API Key ID"
},
{
"name": "app_id",
"label": "App ID"
},
{
"name": "display_name",
"label": "Display Name"
},
{
"name": "etag",
"label": "Etag"
},
{
"name": "expire_time",
"label": "Expire Time"
},
{
"name": "package_name",
"label": "Package Name"
},
{
"name": "project_id",
"label": "Project ID"
},
{
"name": "sha1_hashes",
"label": "SHA1 Hashes",
"type": "string",
"size": 1000
},
{
"name": "sha256_hashes",
"label": "SHA256 Hashes",
"type": "string",
"size": 1000
},
{
"name": "state",
"label": "State"
}
]
}
}

GCP > Firebase > Firebase Project > ServiceNow

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/firebaseProjectServiceNow
Targets

GCP > Firebase > Firebase Project > ServiceNow > Configuration Item

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

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

GCP > Firebase > Firebase 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 > Firebase > Firebase 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.

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/firebaseProjectServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: firebaseProject{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"annotations: {{ $.resource.data.annotations | dump | safe }}\ndisplay_name: {{ $.resource.data.displayName | dump | safe }}\netag: {{ $.resource.data.etag | dump | safe }}\nfirebase_project_name: {{ $.resource.data.name | dump | safe }}\nhosting_site: {{ $.resource.data.resources.hostingSite | dump | safe }}\nlocation_id: {{ $.resource.data.resources.locationId | dump | safe }}\nproject_id: {{ $.resource.data.projectId | dump | safe }}\nproject_number: {{ $.resource.data.projectNumber | dump | safe }}\nrealtime_database_instance: {{ $.resource.data.resources.realtimeDatabaseInstance | dump | safe }}\nstate: {{ $.resource.data.state | dump | safe }}\nstorage_bucket: {{ $.resource.data.resources.storageBucket | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Firebase > Firebase 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 > Firebase > Firebase Project data will be stored, and the details of the columns used for archiving purposes.

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

GCP > Firebase > Firebase Project > ServiceNow > Table

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

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

GCP > Firebase > Firebase 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 > Firebase > Firebase Project data.

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/firebaseProjectServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_gcp_firebase_firebaseproject",
"label": "GCP > Firebase > Firebase Project",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "annotations",
"label": "Annotations"
},
{
"name": "display_name",
"label": "Display Name"
},
{
"name": "etag",
"label": "Etag"
},
{
"name": "firebase_project_name",
"label": "Name"
},
{
"name": "hosting_site",
"label": "Hosting Site"
},
{
"name": "location_id",
"label": "Location Id"
},
{
"name": "project_id",
"label": "Project ID"
},
{
"name": "project_number",
"label": "Project Number"
},
{
"name": "realtime_database_instance",
"label": "Realtime Database Instance"
},
{
"name": "state",
"label": "State"
},
{
"name": "storage_bucket",
"label": "Storage Bucket"
}
]
}
}

GCP > Firebase > Web App > ServiceNow

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/webAppServiceNow
Targets

GCP > Firebase > Web App > ServiceNow > Configuration Item

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

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

GCP > Firebase > Web App > 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 > Firebase > Web App is systematically mapped to a specific column in a ServiceNow table.

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

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/webAppServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: webApp{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"api_key_id: {{ $.resource.data.apiKeyId | dump | safe }}\napp_id: {{ $.resource.data.appId | dump | safe }}\napp_urls: {{ $.resource.data.appUrls | dump | safe }}\ndisplay_name: {{ $.resource.data.displayName | dump | safe }}\netag: {{ $.resource.data.etag | dump | safe }}\nexpire_time: {{ $.resource.data.expireTime | dump | safe }}\nproject_id: {{ $.resource.data.projectId | dump | safe }}\nstate: {{ $.resource.data.state | dump | safe }}\nweb_app_name: {{ $.resource.data.name | dump | safe }}\nweb_id: {{ $.resource.data.webId | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Firebase > Web App > ServiceNow > Configuration Item > Table Definition

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

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

GCP > Firebase > Web App > ServiceNow > Table

Configure a Table for GCP > Firebase > Web App resource type in ServiceNow via the GCP > Firebase > Web App > ServiceNow > Table > * policies.

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

GCP > Firebase > Web App > 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 > Firebase > Web App data.

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/webAppServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_gcp_firebase_webapp",
"label": "GCP > Firebase > Web App",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "api_key_id",
"label": "API Key ID"
},
{
"name": "app_id",
"label": "App ID"
},
{
"name": "app_urls",
"label": "App URLs"
},
{
"name": "display_name",
"label": "Display Name"
},
{
"name": "etag",
"label": "Etag"
},
{
"name": "expire_time",
"label": "Expire Time"
},
{
"name": "project_id",
"label": "Project ID"
},
{
"name": "state",
"label": "State"
},
{
"name": "web_app_name",
"label": "Name"
},
{
"name": "web_id",
"label": "Web ID"
}
]
}
}

GCP > Firebase > iOS App > ServiceNow

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/iosAppServiceNow
Targets

GCP > Firebase > iOS App > ServiceNow > Configuration Item

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

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

GCP > Firebase > iOS App > 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 > Firebase > iOS App is systematically mapped to a specific column in a ServiceNow table.

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

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/iosAppServiceNowConfigurationItemRecord
Default Template Input
"{\n resource: iosApp{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
Default Template
"api_key_id: {{ $.resource.data.apiKeyId | dump | safe }}\napp_id: {{ $.resource.data.appId | dump | safe }}\napp_store_id: {{ $.resource.data.appStoreId | dump | safe }}\nbundle_id: {{ $.resource.data.bundleId | dump | safe }}\ndisplay_name: {{ $.resource.data.displayName | dump | safe }}\netag: {{ $.resource.data.etag | dump | safe }}\nexpire_time: {{ $.resource.data.expireTime | dump | safe }}\nios_app_name: {{ $.resource.data.name | dump | safe }}\nproject_id: {{ $.resource.data.projectId | dump | safe }}\nstate: {{ $.resource.data.state | dump | safe }}\nteam_id: {{ $.resource.data.teamId | dump | safe }}\n"
Schema
{
"type": "object"
}

GCP > Firebase > iOS App > ServiceNow > Configuration Item > Table Definition

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

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

GCP > Firebase > iOS App > ServiceNow > Table

Configure a Table for GCP > Firebase > iOS App resource type in ServiceNow via the GCP > Firebase > iOS App > ServiceNow > Table > * policies.

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

GCP > Firebase > iOS App > 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 > Firebase > iOS App data.

URI
tmod:@turbot/servicenow-gcp-firebase#/policy/types/iosAppServiceNowTableDefinition
Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"table",
"columns"
],
"properties": {
"table": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string"
},
"extendsTable": {
"type": "string",
"pattern": "^([0-9a-z_])+$"
}
}
},
"columns": {
"type": "array",
"description": "An array of columns with their mappings to the CMDB.",
"default": [],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the column in the table.",
"pattern": "^([0-9a-z_])+$"
},
"label": {
"type": "string",
"description": "The label for the column."
},
"type": {
"description": "The data type of the column.",
"type": "string"
},
"size": {
"type": "integer",
"description": "The length for data type."
}
}
}
}
},
"default": {
"table": {
"name": "guardrails_gcp_firebase_iosapp",
"label": "GCP > Firebase > iOS App",
"extendsTable": "cmdb_ci"
},
"columns": [
{
"name": "api_key_id",
"label": "API Key ID"
},
{
"name": "app_id",
"label": "App ID"
},
{
"name": "app_store_id",
"label": "App Store ID"
},
{
"name": "bundle_id",
"label": "Bundle ID"
},
{
"name": "display_name",
"label": "Display Name"
},
{
"name": "etag",
"label": "Etag"
},
{
"name": "expire_time",
"label": "Expire Time"
},
{
"name": "ios_app_name",
"label": "Name"
},
{
"name": "project_id",
"label": "Project ID"
},
{
"name": "state",
"label": "State"
},
{
"name": "team_id",
"label": "Team ID"
}
]
}
}