content_templates
Creates, updates, deletes, gets or lists a content_templates
resource.
Overview
Name | content_templates |
Type | Resource |
Id | azure.sentinel.content_templates |
Fields
- vw_content_templates
- content_templates
Name | Datatype | Description |
---|---|---|
author | text | field from the properties object |
categories | text | field from the properties object |
content_id | text | field from the properties object |
content_kind | text | field from the properties object |
content_product_id | text | field from the properties object |
content_schema_version | text | field from the properties object |
custom_version | text | field from the properties object |
dependant_templates | text | field from the properties object |
dependencies | text | field from the properties object |
display_name | text | field from the properties object |
etag | text | Etag of the azure resource |
first_publish_date | text | field from the properties object |
icon | text | field from the properties object |
is_deprecated | text | field from the properties object |
last_publish_date | text | field from the properties object |
main_template | text | field from the properties object |
package_id | text | field from the properties object |
package_kind | text | field from the properties object |
package_name | text | field from the properties object |
package_version | text | field from the properties object |
preview_images | text | field from the properties object |
preview_images_dark | text | field from the properties object |
providers | text | field from the properties object |
resourceGroupName | text | field from the properties object |
source | text | field from the properties object |
subscriptionId | text | field from the properties object |
support | text | field from the properties object |
templateId | text | field from the properties object |
threat_analysis_tactics | text | field from the properties object |
threat_analysis_techniques | text | field from the properties object |
version | text | field from the properties object |
workspaceName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
etag | string | Etag of the azure resource |
properties | object | Template property bag. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, subscriptionId, templateId, workspaceName | Gets 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
- vw_content_templates
- content_templates
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 }}';
SELECT
etag,
properties
FROM azure.sentinel.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 }}';