Skip to main content

vw_alerts

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

Overview

Namevw_alerts
TypeView
Idazure.authorization.vw_alerts

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.scope') as "scope",
JSON_EXTRACT(properties, '$.isActive') as "is_active",
JSON_EXTRACT(properties, '$.incidentCount') as "incident_count",
JSON_EXTRACT(properties, '$.lastModifiedDateTime') as "last_modified_date_time",
JSON_EXTRACT(properties, '$.lastScannedDateTime') as "last_scanned_date_time",
JSON_EXTRACT(properties, '$.alertDefinition') as "alert_definition",
JSON_EXTRACT(properties, '$.alertIncidents') as "alert_incidents",
JSON_EXTRACT(properties, '$.alertConfiguration') as "alert_configuration",
scope,
alertId
FROM azure.authorization.alerts
WHERE scope = 'replace-me';