alerts
Creates, updates, deletes, gets or lists a alerts
resource.
Overview
Name | alerts |
Type | Resource |
Id | azure.security.alerts |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
properties | object | describes security alert properties. |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | subscriptionId | List all the alerts that are associated with the subscription |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List all the alerts that are associated with the resource group |
simulate | EXEC | ascLocation, subscriptionId | Simulate 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 }}';