Policy types for @turbot/servicenow-azure-activedirectory
- Azure > Active Directory > Application > ServiceNow
- Azure > Active Directory > Application > ServiceNow > Configuration Item
- Azure > Active Directory > Application > ServiceNow > Configuration Item > Record
- Azure > Active Directory > Application > ServiceNow > Configuration Item > Table Definition
- Azure > Active Directory > Application > ServiceNow > Table
- Azure > Active Directory > Application > ServiceNow > Table > Definition
- Azure > Active Directory > Client Secret > ServiceNow
- Azure > Active Directory > Client Secret > ServiceNow > Configuration Item
- Azure > Active Directory > Client Secret > ServiceNow > Configuration Item > Record
- Azure > Active Directory > Client Secret > ServiceNow > Configuration Item > Table Definition
- Azure > Active Directory > Client Secret > ServiceNow > Table
- Azure > Active Directory > Client Secret > ServiceNow > Table > Definition
- Azure > Active Directory > Custom Domain > ServiceNow
- Azure > Active Directory > Custom Domain > ServiceNow > Configuration Item
- Azure > Active Directory > Custom Domain > ServiceNow > Configuration Item > Record
- Azure > Active Directory > Custom Domain > ServiceNow > Configuration Item > Table Definition
- Azure > Active Directory > Custom Domain > ServiceNow > Table
- Azure > Active Directory > Custom Domain > ServiceNow > Table > Definition
- Azure > Active Directory > Directory > ServiceNow
- Azure > Active Directory > Directory > ServiceNow > Configuration Item
- Azure > Active Directory > Directory > ServiceNow > Configuration Item > Record
- Azure > Active Directory > Directory > ServiceNow > Configuration Item > Table Definition
- Azure > Active Directory > Directory > ServiceNow > Table
- Azure > Active Directory > Directory > ServiceNow > Table > Definition
- Azure > Active Directory > Group > ServiceNow
- Azure > Active Directory > Group > ServiceNow > Configuration Item
- Azure > Active Directory > Group > ServiceNow > Configuration Item > Record
- Azure > Active Directory > Group > ServiceNow > Configuration Item > Table Definition
- Azure > Active Directory > Group > ServiceNow > Table
- Azure > Active Directory > Group > ServiceNow > Table > Definition
- Azure > Active Directory > Service Principal > ServiceNow
- Azure > Active Directory > Service Principal > ServiceNow > Configuration Item
- Azure > Active Directory > Service Principal > ServiceNow > Configuration Item > Record
- Azure > Active Directory > Service Principal > ServiceNow > Configuration Item > Table Definition
- Azure > Active Directory > Service Principal > ServiceNow > Table
- Azure > Active Directory > Service Principal > ServiceNow > Table > Definition
- Azure > Active Directory > User > ServiceNow
- Azure > Active Directory > User > ServiceNow > Configuration Item
- Azure > Active Directory > User > ServiceNow > Configuration Item > Record
- Azure > Active Directory > User > ServiceNow > Configuration Item > Table Definition
- Azure > Active Directory > User > ServiceNow > Table
- Azure > Active Directory > User > ServiceNow > Table > Definition
Azure > Active Directory > Application > ServiceNow
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/applicationServiceNow
Azure > Active Directory > Application > ServiceNow > Configuration Item
Synchronize the data for the Azure > Active Directory > Application
based on the policies Azure > Active Directory > 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 Azure > Active Directory > Application
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-azure-activedirectory#/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"}
Azure > Active Directory > 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 Azure > Active Directory > 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-azure-activedirectory#/policy/types/applicationServiceNowConfigurationItemRecord
"{\n resource: application{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"app_id: {{ $.resource.data.appId | dump | safe }}\napp_roles: {{ $.resource.data.appRoles | dump | safe }}\ndisplay_name: {{ $.resource.data.displayName | dump | safe }}\nkey_credentials: {{ $.resource.data.keyCredentials | dump | safe }}\nobject_id: {{ $.resource.data.objectId | dump | safe }}\nparental_control_settings: {{ $.resource.data.parentalControlSettings | dump | safe }}\npassword_credentials: {{ $.resource.data.passwordCredentials | dump | safe }}\nsign_in_audience: {{ $.resource.data.signInAudience | dump | safe }}\ntenant_id: {{ $.resource.metadata.azure.tenantId | dump | safe }}\n"
{ "type": "object"}
Azure > Active Directory > Application > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Active Directory > Application
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-azure-activedirectory#/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-azure-activedirectory#/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" } }}
Azure > Active Directory > Application > ServiceNow > Table
Configure a Table for Azure > Active Directory > Application
resource type in ServiceNow via the Azure > Active Directory > Application > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/applicationServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
Azure > Active Directory > 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 Azure > Active Directory > Application
data.
tmod:@turbot/servicenow-azure-activedirectory#/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_azure_activedirectory_application", "label": "Azure > Active Directory > Application", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "app_id", "label": "App Id" }, { "name": "app_roles", "label": "App Roles", "type": "string", "size": 1000 }, { "name": "display_name", "label": "Display Name" }, { "name": "key_credentials", "label": "Key Credentials" }, { "name": "object_id", "label": "Object Id" }, { "name": "parental_control_settings", "label": "Parental Control Settings", "type": "string", "size": 1000 }, { "name": "password_credentials", "label": "Password Credentials", "type": "string", "size": 1000 }, { "name": "sign_in_audience", "label": "Sign In Audience" }, { "name": "tenant_id", "label": "Tenant ID", "type": "string" } ] }}
Azure > Active Directory > Client Secret > ServiceNow
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/clientSecretServiceNow
Azure > Active Directory > Client Secret > ServiceNow > Configuration Item
Synchronize the data for the Azure > Active Directory > Client Secret
based on the policies Azure > Active Directory > Client Secret > 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 > Active Directory > Client Secret
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/clientSecretServiceNowConfigurationItem
[ "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 > Active Directory > Client Secret > 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 > Active Directory > Client Secret
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-activedirectory#/policy/types/clientSecretServiceNowConfigurationItemRecord
"{\n resource {\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 }}\nend_date_time: {{ $.resource.data.endDateTime | dump | safe }}\nhint: {{ $.resource.data.hint | dump | safe }}\nkey_id: {{ $.resource.data.keyId | dump | safe }}\nstart_date_time: {{ $.resource.data.startDateTime | dump | safe }}\ntenant_id: {{ $.resource.metadata.azure.tenantId | dump | safe }}\n"
{ "type": "object"}
Azure > Active Directory > Client Secret > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Active Directory > Client Secret
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/clientSecretServiceNowConfigurationItemTableDefinition
[ "{\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-activedirectory#/policy/types/clientSecretServiceNowTableDefinition 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 > Active Directory > Client Secret > ServiceNow > Table
Configure a Table for Azure > Active Directory > Client Secret
resource type in ServiceNow via the Azure > Active Directory > Client Secret > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/clientSecretServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
Azure > Active Directory > Client Secret > 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 > Active Directory > Client Secret
data.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/clientSecretServiceNowTableDefinition
{ "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_activedirectory_clientsecret", "label": "Azure > Active Directory > Client Secret", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "display_name", "label": "Display Name" }, { "name": "end_date_time", "label": "End Date Time" }, { "name": "hint", "label": "Hint" }, { "name": "key_id", "label": "Key ID" }, { "name": "start_date_time", "label": "Start Date Time" }, { "name": "tenant_id", "label": "Tenant ID", "type": "string" } ] }}
Azure > Active Directory > Custom Domain > ServiceNow
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/customDomainServiceNow
Azure > Active Directory > Custom Domain > ServiceNow > Configuration Item
Synchronize the data for the Azure > Active Directory > Custom Domain
based on the policies Azure > Active Directory > Custom Domain > 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 > Active Directory > Custom Domain
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/customDomainServiceNowConfigurationItem
[ "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 > Active Directory > Custom Domain > 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 > Active Directory > Custom Domain
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-activedirectory#/policy/types/customDomainServiceNowConfigurationItemRecord
"{\n resource: customDomain{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"authentication_type: {{ $.resource.data.authenticationType | dump | safe }}\ncustom_domain_name: {{ $.resource.data.name | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nis_admin_managed: {{ $.resource.data.isAdminManaged | dump | safe }}\nis_default: {{ $.resource.data.isDefault | dump | safe }}\nis_default_for_cloud_redirections: {{ $.resource.data.isDefaultForCloudRedirections | dump | safe }}\nis_initial: {{ $.resource.data.isInitial | dump | safe }}\nis_root: {{ $.resource.data.isRoot | dump | safe }}\nis_verified: {{ $.resource.data.isVerified | dump | safe }}\nsupported_services: {{ $.resource.data.supportedServices | dump | safe }}\ntenant_id: {{ $.resource.metadata.azure.tenantId | dump | safe }}\n"
{ "type": "object"}
Azure > Active Directory > Custom Domain > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Active Directory > Custom Domain
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/customDomainServiceNowConfigurationItemTableDefinition
[ "{\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-activedirectory#/policy/types/customDomainServiceNowTableDefinition 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 > Active Directory > Custom Domain > ServiceNow > Table
Configure a Table for Azure > Active Directory > Custom Domain
resource type in ServiceNow via the Azure > Active Directory > Custom Domain > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/customDomainServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
Azure > Active Directory > Custom Domain > 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 > Active Directory > Custom Domain
data.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/customDomainServiceNowTableDefinition
{ "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_activedirectory_customdomain", "label": "Azure > Active Directory > Custom Domain", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "authentication_type", "label": "Authentication Type" }, { "name": "custom_domain_name", "label": "Custom Domain Name" }, { "name": "id", "label": "Id" }, { "name": "is_admin_managed", "label": "Is Admin Managed", "type": "boolean" }, { "name": "is_default", "label": "Is Default", "type": "boolean" }, { "name": "is_default_for_cloud_redirections", "label": "Is Default For Cloud Redirections", "type": "boolean" }, { "name": "is_initial", "label": "Is Initial", "type": "boolean" }, { "name": "is_root", "label": "Is Root", "type": "boolean" }, { "name": "is_verified", "label": "Is Verified", "type": "boolean" }, { "name": "supported_services", "label": "Supported Services", "type": "string" }, { "name": "tenant_id", "label": "Tenant ID", "type": "string" } ] }}
Azure > Active Directory > Directory > ServiceNow
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/directoryServiceNow
Azure > Active Directory > Directory > ServiceNow > Configuration Item
Synchronize the data for the Azure > Active Directory > Directory
based on the policies Azure > Active Directory > Directory > 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 > Active Directory > Directory
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/directoryServiceNowConfigurationItem
[ "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 > Active Directory > Directory > 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 > Active Directory > Directory
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-activedirectory#/policy/types/directoryServiceNowConfigurationItemRecord
"{\n resource: directory{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"capabilities: {{ $.resource.data.capabilities | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\nis_default: {{ $.resource.data.isDefault | dump | safe }}\nis_initial: {{ $.resource.data.isInitial | dump | safe }}\ndirectory_name: {{ $.resource.data.name | dump | safe }}\ntenant_id: {{ $.resource.metadata.azure.tenantId | dump | safe }}\n"
{ "type": "object"}
Azure > Active Directory > Directory > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Active Directory > Directory
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/directoryServiceNowConfigurationItemTableDefinition
[ "{\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-activedirectory#/policy/types/directoryServiceNowTableDefinition 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 > Active Directory > Directory > ServiceNow > Table
Configure a Table for Azure > Active Directory > Directory
resource type in ServiceNow via the Azure > Active Directory > Directory > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/directoryServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
Azure > Active Directory > Directory > 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 > Active Directory > Directory
data.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/directoryServiceNowTableDefinition
{ "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_activedirectory_directory", "label": "Azure > Active Directory > Directory", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "capabilities", "label": "Capabilities" }, { "name": "id", "label": "ID" }, { "name": "is_default", "label": "Is Default", "type": "boolean" }, { "name": "is_initial", "label": "Is Initial", "type": "boolean" }, { "name": "directory_name", "label": "Directory Name" }, { "name": "tenant_id", "label": "Tenant ID", "type": "string" } ] }}
Azure > Active Directory > Group > ServiceNow
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/groupServiceNow
Azure > Active Directory > Group > ServiceNow > Configuration Item
Synchronize the data for the Azure > Active Directory > Group
based on the policies Azure > Active Directory > Group > ServiceNow > Configuration Item > *
The Configuration Item control is responsible for automatically synchronizing records in a designated ServiceNow table, maintaining an up-to-date reflection of the Azure > Active Directory > Group
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/groupServiceNowConfigurationItem
[ "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 > Active Directory > Group > ServiceNow > Configuration Item > Record
The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Azure > Active Directory > Group
is systematically mapped to a specific column in a ServiceNow table.
The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/groupServiceNowConfigurationItemRecord
"{\n resource: group{\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 }}\ngroup_members: {{ $.resource.data.groupMembers | dump | safe }}\nmail: {{ $.resource.data.mail | dump | safe }}\nmail_enabled: {{ $.resource.data.mailEnabled | dump | safe }}\nobject_id: {{ $.resource.data.objectId | dump | safe }}\nobject_type: {{ $.resource.data.objectType | dump | safe }}\nsecurity_enabled: {{ $.resource.data.securityEnabled | dump | safe }}\ntenant_id: {{ $.resource.metadata.azure.tenantId | dump | safe }}\n"
{ "type": "object"}
Azure > Active Directory > Group > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Active Directory > Group
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/groupServiceNowConfigurationItemTableDefinition
[ "{\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-activedirectory#/policy/types/groupServiceNowTableDefinition 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 > Active Directory > Group > ServiceNow > Table
Configure a Table for Azure > Active Directory > Group
resource type in ServiceNow via the Azure > Active Directory > Group > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/groupServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
Azure > Active Directory > Group > ServiceNow > Table > Definition
The policy enables the definition of ServiceNow table properties, including its name and the base table from which it extends, and details the specific columns required for representing Azure > Active Directory > Group
data.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/groupServiceNowTableDefinition
{ "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_activedirectory_group", "label": "Azure > Active Directory > Group", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "display_name", "label": "Display Name" }, { "name": "group_members", "label": "Group Members", "type": "string", "size": 1000 }, { "name": "mail", "label": "Mail" }, { "name": "mail_enabled", "label": "Mail Enabled", "type": "boolean" }, { "name": "object_id", "label": "Object ID" }, { "name": "object_type", "label": "Object Type" }, { "name": "security_enabled", "label": "Security Enabled", "type": "boolean" }, { "name": "tenant_id", "label": "Tenant ID", "type": "string" } ] }}
Azure > Active Directory > Service Principal > ServiceNow
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/servicePrincipalServiceNow
Azure > Active Directory > Service Principal > ServiceNow > Configuration Item
Synchronize the data for the Azure > Active Directory > Service Principal
based on the policies Azure > Active Directory > Service Principal > 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 > Active Directory > Service Principal
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/servicePrincipalServiceNowConfigurationItem
[ "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 > Active Directory > Service Principal > 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 > Active Directory > Service Principal
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-activedirectory#/policy/types/servicePrincipalServiceNowConfigurationItemRecord
"{\n resource: servicePrincipal{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"account_enabled: {{ $.resource.data.accountEnabled | dump | safe }}\napp_id: {{ $.resource.data.appId | dump | safe }}\napp_owner_organization_id: {{ $.resource.data.appOwnerOrganizationId | dump | safe }}\napp_role_assignment_required: {{ $.resource.data.appRoleAssignmentRequired | dump | safe }}\ndisplay_name: {{ $.resource.data.displayName | dump | safe }}\nid: {{ $.resource.data.id | dump | safe }}\ninfo: {{ $.resource.data.info | dump | safe }}\nobject_id: {{ $.resource.data.objectId | dump | safe }}\nservice_principal_names: {{ $.resource.data.servicePrincipalNames | dump | safe }}\nservice_principal_type: {{ $.resource.data.servicePrincipalType | dump | safe }}\nsign_in_audience: {{ $.resource.data.signInAudience | dump | safe }}\ntenant_id: {{ $.resource.metadata.azure.tenantId | dump | safe }}\n"
{ "type": "object"}
Azure > Active Directory > Service Principal > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Active Directory > Service Principal
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/servicePrincipalServiceNowConfigurationItemTableDefinition
[ "{\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-activedirectory#/policy/types/servicePrincipalServiceNowTableDefinition 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 > Active Directory > Service Principal > ServiceNow > Table
Configure a Table for Azure > Active Directory > Service Principal
resource type in ServiceNow via the Azure > Active Directory > Service Principal > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/servicePrincipalServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
Azure > Active Directory > Service Principal > 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 > Active Directory > Service Principal
data.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/servicePrincipalServiceNowTableDefinition
{ "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_activedirectory_serviceprincipal", "label": "Azure > Active Directory > Service Principal", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "account_enabled", "label": "Account Enabled" }, { "name": "app_id", "label": "App Id" }, { "name": "app_owner_organization_id", "label": "App Owner Organization ID" }, { "name": "app_role_assignment_required", "label": "App Role Assignment Required" }, { "name": "display_name", "label": "Display Name" }, { "name": "id", "label": "ID" }, { "name": "info", "label": "Info", "type": "string", "size": 1000 }, { "name": "object_id", "label": "Object ID" }, { "name": "service_principal_names", "label": "Service Principal Names", "type": "string", "size": 1000 }, { "name": "service_principal_type", "label": "Service Principal Type", "type": "string", "size": 1000 }, { "name": "sign_in_audience", "label": "Sign In Audience", "type": "string", "size": 1000 }, { "name": "tenant_id", "label": "Tenant ID", "type": "string" } ] }}
Azure > Active Directory > User > ServiceNow
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/userServiceNow
Azure > Active Directory > User > ServiceNow > Configuration Item
Synchronize the data for the Azure > Active Directory > User
based on the policies Azure > Active Directory > User > 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 > Active Directory > User
information within the ServiceNow CMDB.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/userServiceNowConfigurationItem
[ "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 > Active Directory > User > 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 > Active Directory > User
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-activedirectory#/policy/types/userServiceNowConfigurationItemRecord
"{\n resource: user{\n data\n metadata\n turbot {\n akas\n id\n tags\n title\n }\n }\n}\n"
"account_enabled: {{ $.resource.data.accountEnabled | dump | safe }}\ndisplay_name: {{ $.resource.data.displayName | dump | safe }}\nobject_id: {{ $.resource.data.objectId | dump | safe }}\nobject_type: {{ $.resource.data.objectType | dump | safe }}\nsign_in_names: {{ $.resource.data.signInNames | dump | safe }}\ntenant_id: {{ $.resource.metadata.azure.tenantId | dump | safe }}\nuser_principal_name: {{ $.resource.data.userPrincipalName | dump | safe }}\nuser_type: {{ $.resource.data.userType | dump | safe }}\n"
{ "type": "object"}
Azure > Active Directory > User > ServiceNow > Configuration Item > Table Definition
This policy specifically allows users to define two key aspects: the name of the ServiceNow table where the Azure > Active Directory > User
data will be stored, and the details of the columns used for archiving purposes.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/userServiceNowConfigurationItemTableDefinition
[ "{\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-activedirectory#/policy/types/userServiceNowTableDefinition 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 > Active Directory > User > ServiceNow > Table
Configure a Table for Azure > Active Directory > User
resource type in ServiceNow via the Azure > Active Directory > User > ServiceNow > Table > *
policies.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/userServiceNowTable
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "example": [ "Skip" ], "default": "Skip"}
Azure > Active Directory > User > 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 > Active Directory > User
data.
tmod:@turbot/servicenow-azure-activedirectory#/policy/types/userServiceNowTableDefinition
{ "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_activedirectory_user", "label": "Azure > Active Directory > User", "extendsTable": "cmdb_ci" }, "columns": [ { "name": "account_enabled", "label": "Account Enabled", "type": "boolean" }, { "name": "display_name", "label": "Display Name" }, { "name": "object_id", "label": "Object ID" }, { "name": "object_type", "label": "Object Type" }, { "name": "sign_in_names", "label": "Sign In Names", "type": "string", "size": 1000 }, { "name": "tenant_id", "label": "Tenant ID", "type": "string" }, { "name": "user_principal_name", "label": "User Principal Name" }, { "name": "user_type", "label": "User Type" } ] }}