Skip to main content

alert_rule

Creates, updates, deletes, gets or lists an alert_rule resource.

Overview

Namealert_rule
TypeResource
Idazure.security_insight.alert_rule

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
trigger_rule_runexecresource_group_name, workspace_name, rule_id, subscription_id, propertiestriggers analytics rule run.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
rule_idstringAlert rule ID. Required.
subscription_idstring
workspace_namestringThe name of the monitor workspace. Required.

Lifecycle Methods

triggers analytics rule run.

EXEC azure.security_insight.alert_rule.trigger_rule_run 
@resource_group_name='{{ resource_group_name }}' --required,
@workspace_name='{{ workspace_name }}' --required,
@rule_id='{{ rule_id }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;