Skip to main content

alert_definitions

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

Overview

Namealert_definitions
TypeResource
Idazure.authorization.alert_definitions

Fields

NameDatatypeDescription
idtextThe alert definition ID.
nametextThe alert definition name.
descriptiontextfield from the properties object
alertDefinitionIdtextfield from the properties object
display_nametextfield from the properties object
how_to_preventtextfield from the properties object
is_configurabletextfield from the properties object
is_remediatabletextfield from the properties object
mitigation_stepstextfield from the properties object
scopetextfield from the properties object
security_impacttextfield from the properties object
severity_leveltextfield from the properties object
typetextThe alert definition type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTalertDefinitionId, scopeGet the specified alert definition.
list_for_scopeSELECTscopeGets alert definitions for a resource scope.

SELECT examples

Gets alert definitions for a resource scope.

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 }}';