Skip to main content

alerts

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

Overview

Namealerts
TypeResource
Idazure.security.alerts

Fields

NameDatatypeDescription
idstringResource Id
namestringResource name
propertiesobjectdescribes security alert properties.
typestringResource type

Methods

NameAccessible byRequired ParamsDescription
listSELECTsubscriptionIdList all the alerts that are associated with the subscription
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList all the alerts that are associated with the resource group
simulateEXECascLocation, subscriptionIdSimulate security alerts

SELECT examples

List all the alerts that are associated with the subscription

SELECT
id,
name,
properties,
type
FROM azure.security.alerts
WHERE subscriptionId = '{{ subscriptionId }}';