Skip to main content

content_packages

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

Overview

Namecontent_packages
TypeResource
Idazure.sentinel.content_packages

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
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
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
is_featuredtextfield from the properties object
is_newtextfield from the properties object
is_previewtextfield from the properties object
last_publish_datetextfield from the properties object
packageIdtextfield from the properties object
providerstextfield from the properties object
publisher_display_nametextfield from the properties object
resourceGroupNametextfield from the properties object
sourcetextfield from the properties object
subscriptionIdtextfield from the properties object
supporttextfield 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
getSELECTpackageId, resourceGroupName, subscriptionId, workspaceNameGets an installed packages by its id.
listSELECTresourceGroupName, subscriptionId, workspaceNameGets all installed packages.
installEXECpackageId, resourceGroupName, subscriptionId, workspaceNameInstall a package to the workspace.
uninstallEXECpackageId, resourceGroupName, subscriptionId, workspaceNameUninstall a package from the workspace.

SELECT examples

Gets all installed packages.

SELECT
description,
author,
categories,
content_id,
content_kind,
content_product_id,
content_schema_version,
dependencies,
display_name,
etag,
first_publish_date,
icon,
is_deprecated,
is_featured,
is_new,
is_preview,
last_publish_date,
packageId,
providers,
publisher_display_name,
resourceGroupName,
source,
subscriptionId,
support,
threat_analysis_tactics,
threat_analysis_techniques,
version,
workspaceName
FROM azure.sentinel.vw_content_packages
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';