Policy types for @turbot/servicenow-azure-servicebus
- Azure > Service Bus > Namespace > ServiceNow
- Azure > Service Bus > Namespace > ServiceNow > Configuration Item
- Azure > Service Bus > Namespace > ServiceNow > Configuration Item > Record
- Azure > Service Bus > Namespace > ServiceNow > Configuration Item > Table Definition
- Azure > Service Bus > Namespace > ServiceNow > Table
- Azure > Service Bus > Namespace > ServiceNow > Table > Definition
- Azure > Service Bus > Queue > ServiceNow
- Azure > Service Bus > Queue > ServiceNow > Configuration Item
- Azure > Service Bus > Queue > ServiceNow > Configuration Item > Record
- Azure > Service Bus > Queue > ServiceNow > Configuration Item > Table Definition
- Azure > Service Bus > Queue > ServiceNow > Table
- Azure > Service Bus > Queue > ServiceNow > Table > Definition
- Azure > Service Bus > Topic > ServiceNow
- Azure > Service Bus > Topic > ServiceNow > Configuration Item
- Azure > Service Bus > Topic > ServiceNow > Configuration Item > Record
- Azure > Service Bus > Topic > ServiceNow > Configuration Item > Table Definition
- Azure > Service Bus > Topic > ServiceNow > Table
- Azure > Service Bus > Topic > ServiceNow > Table > Definition
Azure > Service Bus > Namespace > ServiceNow
tmod:@turbot/servicenow-azure-servicebus#/policy/types/namespaceServiceNow
Azure > Service Bus > Namespace > ServiceNow > Configuration Item
Synchronize the data for the Azure > Service Bus > Namespace
based on the policies Azure > Service Bus > Namespace > 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 Azure > Service Bus > Namespace
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/namespaceServiceNowConfigurationItem
[ "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"}
Azure > Service Bus > Namespace > 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 Azure > Service Bus > Namespace
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-azure-servicebus#/policy/types/namespaceServiceNowConfigurationItemRecord
"{\n resource: namespace{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"created_at: {{ $.resource.data.createdAt | dump | safe }}\ndiagnostic_settings: {{ $.resource.data.diagnosticSettings | dump | safe }}\nencryption: {{ $.resource.data.encryption | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nmetric_id: {{ $.resource.data.metricId | dump | safe }}\nnamespace_name: {{ $.resource.data.name | dump | safe }}\nprivate_endpoint_connections: {{ $.resource.data.privateEndpointConnections | dump | safe }}\nprovisioning_state: {{ $.resource.data.provisioningState | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nservicebus_endpoint: {{ $.resource.data.servicebusEndpoint | dump | safe }}\nsku_capacity: {{ $.resource.data.skuCapacity | dump | safe }}\nsku_name: {{ $.resource.data.skuName | dump | safe }}\nsku_tier: {{ $.resource.data.skuTier | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\nupdated_at: {{ $.resource.data.updatedAt | dump | safe }}\nzone_redundant: {{ $.resource.data.zoneRedundant | dump | safe }}\n"
{ "type": "object"}
Azure > Service Bus > Namespace > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Service Bus > Namespace
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/namespaceServiceNowConfigurationItemTableDefinition
[ "{\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-azure-servicebus#/policy/types/namespaceServiceNowTableDefinition 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" } }}
Azure > Service Bus > Namespace > ServiceNow > Table
Configure a Table for Azure > Service Bus > Namespace
resource type in ServiceNow via the Azure > Service Bus > Namespace > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/namespaceServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
Azure > Service Bus > Namespace > 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 Azure > Service Bus > Namespace
data.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/namespaceServiceNowTableDefinition
{ "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_azure_servicebus_namespace", "label": "Azure > Service Bus > Namespace", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "created_at", "label": "Created At" }, { "name": "diagnostic_settings", "label": "Diagnostic Settings", "type": "string", "size": 1000 }, { "name": "encryption", "label": "Encryption", "type": "string", "size": 1000 }, { "name": "id", "label": "ID" }, { "name": "metric_id", "label": "Metric ID" }, { "name": "namespace_name", "label": "Name" }, { "name": "private_endpoint_connections", "label": "Private Endpoint Connections", "type": "string", "size": 1000 }, { "name": "provisioning_state", "label": "Provisioning State" }, { "name": "region", "label": "Region" }, { "name": "resource_group", "label": "Resource Group" }, { "name": "servicebus_endpoint", "label": "Servicebus Endpoint" }, { "name": "sku_capacity", "label": "SKU Capacity" }, { "name": "sku_name", "label": "SKU Name" }, { "name": "sku_tier", "label": "SKU Tier" }, { "name": "subscription_id", "label": "Subscription ID" }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 }, { "name": "type", "label": "Type" }, { "name": "updated_at", "label": "Updated At" }, { "name": "zone_redundant", "label": "Zone Redundant", "type": "boolean" } ] }}
Azure > Service Bus > Queue > ServiceNow
tmod:@turbot/servicenow-azure-servicebus#/policy/types/queueServiceNow
Azure > Service Bus > Queue > ServiceNow > Configuration Item
Synchronize the data for the Azure > Service Bus > Queue
based on the policies Azure > Service Bus > Queue > 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 Azure > Service Bus > Queue
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/queueServiceNowConfigurationItem
[ "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"}
Azure > Service Bus > Queue > 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 Azure > Service Bus > Queue
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-azure-servicebus#/policy/types/queueServiceNowConfigurationItemRecord
"{\n resource: queue{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"auto_delete_on_idle: {{ $.resource.data.autoDeleteOnIdle | dump | safe }}\ncount_details: {{ $.resource.data.countDetails | dump | safe }}\ncreated_at: {{ $.resource.data.createdAt | dump | safe }}\ndefault_message_time_to_live: {{ $.resource.data.defaultMessageTimeToLive | dump | safe }}\nenable_batched_operation: {{ $.resource.data.enableBatchedOperation | dump | safe }}\nenable_express: {{ $.resource.data.enableExpress | dump | safe }}\nenable_partitioning: {{ $.resource.data.enablePartitioning | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nlock_duration: {{ $.resource.data.lockDuration | dump | safe }}\nqueue_name: {{ $.resource.data.name | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nrequires_duplicate_detection: {{ $.resource.data.requiresDuplicateDetection | dump | safe }}\nrequires_session: {{ $.resource.data.requiresSession | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\nupdated_at: {{ $.resource.data.updatedAt | dump | safe }}\n"
{ "type": "object"}
Azure > Service Bus > Queue > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Service Bus > Queue
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/queueServiceNowConfigurationItemTableDefinition
[ "{\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-azure-servicebus#/policy/types/queueServiceNowTableDefinition 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" } }}
Azure > Service Bus > Queue > ServiceNow > Table
Configure a Table for Azure > Service Bus > Queue
resource type in ServiceNow via the Azure > Service Bus > Queue > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/queueServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
Azure > Service Bus > Queue > 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 Azure > Service Bus > Queue
data.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/queueServiceNowTableDefinition
{ "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_azure_servicebus_queue", "label": "Azure > Service Bus > Queue", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "auto_delete_on_idle", "label": "Auto Delete On Idle", "type": "string", "size": 1000 }, { "name": "count_details", "label": "Count Details", "type": "string", "size": 1000 }, { "name": "created_at", "label": "Created At" }, { "name": "default_message_time_to_live", "label": "Default Message Time To Live" }, { "name": "enable_batched_operation", "label": "Enabled Batched Operation", "type": "string", "size": 1000 }, { "name": "enable_express", "label": "Enable Express", "type": "string", "size": 1000 }, { "name": "enable_partitioning", "label": "Enable Partitioning", "type": "string", "size": 1000 }, { "name": "id", "label": "ID" }, { "name": "lock_duration", "label": "Lock Duration" }, { "name": "queue_name", "label": "Name" }, { "name": "region", "label": "Region" }, { "name": "requires_duplicate_detection", "label": "Requires Duplicate Detection" }, { "name": "requires_session", "label": "Requires Session" }, { "name": "resource_group", "label": "Resource Group" }, { "name": "subscription_id", "label": "Subscription ID" }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 }, { "name": "type", "label": "Type" }, { "name": "updated_at", "label": "Updated At" } ] }}
Azure > Service Bus > Topic > ServiceNow
tmod:@turbot/servicenow-azure-servicebus#/policy/types/topicServiceNow
Azure > Service Bus > Topic > ServiceNow > Configuration Item
Synchronize the data for the Azure > Service Bus > Topic
based on the policies Azure > Service Bus > Topic > 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 Azure > Service Bus > Topic
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/topicServiceNowConfigurationItem
[ "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"}
Azure > Service Bus > Topic > 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 Azure > Service Bus > Topic
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-azure-servicebus#/policy/types/topicServiceNowConfigurationItemRecord
"{\n resource: topic{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"accessed_at: {{ $.resource.data.accessedAt | dump | safe }}\nauto_delete_on_idle: {{ $.resource.data.autoDeleteOnIdle | dump | safe }}\ncreated_at: {{ $.resource.data.createdAt | dump | safe }}\ndefault_message_time_to_live: {{ $.resource.data.defaultMessageTimeToLive | dump | safe }}\nenable_batched_operation: {{ $.resource.data.enableBatchedOperation | dump | safe }}\nenable_express: {{ $.resource.data.enableExpress | dump | safe }}\nenable_partitioning: {{ $.resource.data.enablePartitioning | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nregion: {{ $.resource.data.location | dump | safe }}\nrequires_duplicate_detection: {{ $.resource.data.requiresDuplicateDetection | dump | safe }}\nresource_group: {{ $.resource.metadata.azure.resourceGroupName | dump | safe }}\nsubscription_id: {{ $.resource.metadata.azure.subscriptionId | dump | safe }}\ntags: {{ $.resource.turbot.tags | dump | safe }}\ntopic_name: {{ $.resource.data.name | dump | safe }}\ntype: {{ $.resource.data.type | dump | safe }}\nupdated_at: {{ $.resource.data.updatedAt | dump | safe }}\n"
{ "type": "object"}
Azure > Service Bus > Topic > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Service Bus > Topic
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/topicServiceNowConfigurationItemTableDefinition
[ "{\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-azure-servicebus#/policy/types/topicServiceNowTableDefinition 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" } }}
Azure > Service Bus > Topic > ServiceNow > Table
Configure a Table for Azure > Service Bus > Topic
resource type in ServiceNow via the Azure > Service Bus > Topic > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/topicServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
Azure > Service Bus > Topic > 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 Azure > Service Bus > Topic
data.
tmod:@turbot/servicenow-azure-servicebus#/policy/types/topicServiceNowTableDefinition
{ "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_azure_servicebus_topic", "label": "Azure > Service Bus > Topic", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "accessed_at", "label": "Accessed At" }, { "name": "auto_delete_on_idle", "label": "Auto Delete On Idle", "type": "string", "size": 1000 }, { "name": "created_at", "label": "Created At" }, { "name": "default_message_time_to_live", "label": "Default Message Time To Live" }, { "name": "enable_batched_operation", "label": "Enabled Batched Operation", "type": "string", "size": 1000 }, { "name": "enable_express", "label": "Enable Express", "type": "string", "size": 1000 }, { "name": "enable_partitioning", "label": "Enable Partitioning", "type": "string", "size": 1000 }, { "name": "id", "label": "ID" }, { "name": "region", "label": "Region" }, { "name": "requires_duplicate_detection", "label": "Requires Duplicate Detection" }, { "name": "resource_group", "label": "Resource Group" }, { "name": "subscription_id", "label": "Subscription ID" }, { "name": "tags", "label": "Tags", "type": "string", "size": 1000 }, { "name": "topic_name", "label": "Name" }, { "name": "type", "label": "Type" }, { "name": "updated_at", "label": "Updated At" } ] }}