Skip to main content

content_templates

Creates, updates, deletes, gets or lists a content_templates resource.

Overview

Namecontent_templates
TypeResource
Idazure.sentinel.content_templates

Fields

NameDatatypeDescription
authortextfield from the properties object
categoriestextfield from the properties object
content_idtextfield from the properties object
content_kindtextfield from the properties object
content_product_idtextfield from the properties object
content_schema_versiontextfield from the properties object
custom_versiontextfield from the properties object
dependant_templatestextfield from the properties object
dependenciestextfield from the properties object
display_nametextfield from the properties object
etagtextEtag of the azure resource
first_publish_datetextfield from the properties object
icontextfield from the properties object
is_deprecatedtextfield from the properties object
last_publish_datetextfield from the properties object
main_templatetextfield from the properties object
package_idtextfield from the properties object
package_kindtextfield from the properties object
package_nametextfield from the properties object
package_versiontextfield from the properties object
preview_imagestextfield from the properties object
preview_images_darktextfield from the properties object
providerstextfield from the properties object
resourceGroupNametextfield from the properties object
sourcetextfield from the properties object
subscriptionIdtextfield from the properties object
supporttextfield from the properties object
templateIdtextfield from the properties object
threat_analysis_tacticstextfield from the properties object
threat_analysis_techniquestextfield from the properties object
versiontextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, templateId, workspaceNameGets a template byt its identifier.

Expandable properties:

  • properties/mainTemplate
  • properties/dependantTemplates | | list | SELECT | resourceGroupName, subscriptionId, workspaceName | Gets all installed templates. Expandable properties:
  • properties/mainTemplate
  • properties/dependantTemplates | | delete | DELETE | resourceGroupName, subscriptionId, templateId, workspaceName | Delete an installed template. | | install | EXEC | resourceGroupName, subscriptionId, templateId, workspaceName | Install a template. |

SELECT examples

Gets all installed templates. Expandable properties:

  • properties/mainTemplate
  • properties/dependantTemplates
SELECT
author,
categories,
content_id,
content_kind,
content_product_id,
content_schema_version,
custom_version,
dependant_templates,
dependencies,
display_name,
etag,
first_publish_date,
icon,
is_deprecated,
last_publish_date,
main_template,
package_id,
package_kind,
package_name,
package_version,
preview_images,
preview_images_dark,
providers,
resourceGroupName,
source,
subscriptionId,
support,
templateId,
threat_analysis_tactics,
threat_analysis_techniques,
version,
workspaceName
FROM azure.sentinel.vw_content_templates
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

DELETE example

Deletes the specified content_templates resource.

/*+ delete */
DELETE FROM azure.sentinel.content_templates
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND templateId = '{{ templateId }}'
AND workspaceName = '{{ workspaceName }}';