alert_definitions
Creates, updates, deletes, gets or lists a alert_definitions
resource.
Overview
Name | alert_definitions |
Type | Resource |
Id | azure.authorization.alert_definitions |
Fields
- vw_alert_definitions
- alert_definitions
Name | Datatype | Description |
---|---|---|
id | text | The alert definition ID. |
name | text | The alert definition name. |
description | text | field from the properties object |
alertDefinitionId | text | field from the properties object |
display_name | text | field from the properties object |
how_to_prevent | text | field from the properties object |
is_configurable | text | field from the properties object |
is_remediatable | text | field from the properties object |
mitigation_steps | text | field from the properties object |
scope | text | field from the properties object |
security_impact | text | field from the properties object |
severity_level | text | field from the properties object |
type | text | The alert definition type. |
Name | Datatype | Description |
---|---|---|
id | string | The alert definition ID. |
name | string | The alert definition name. |
properties | object | Alert definition properties. |
type | string | The alert definition type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | alertDefinitionId, scope | Get the specified alert definition. |
list_for_scope | SELECT | scope | Gets alert definitions for a resource scope. |
SELECT
examples
Gets alert definitions for a resource scope.
- vw_alert_definitions
- alert_definitions
SELECT
id,
name,
description,
alertDefinitionId,
display_name,
how_to_prevent,
is_configurable,
is_remediatable,
mitigation_steps,
scope,
security_impact,
severity_level,
type
FROM azure.authorization.vw_alert_definitions
WHERE scope = '{{ scope }}';
SELECT
id,
name,
properties,
type
FROM azure.authorization.alert_definitions
WHERE scope = '{{ scope }}';