az security automation-rule

Creates security automation rule.

Commands

az security automation-rule create

Creates security automation rule.

az security automation-rule create

Creates security automation rule.

az security automation-rule create --expected-value
                                   --operator
                                   --property-j-path
                                   --property-type

Examples

Creates security automation rule.

az security automation-rule create --expected-value 'High' --operator 'Equals' --property-j-path 'properties.metadata.severity' --property-type 'string'

Required Parameters

--expected-value

The expected value.

--operator

A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.

--property-j-path

The JPath of the entity model property that should be checked.

--property-type

The data type of the compared operands (string, integer, floating point number or a boolean [true/false]].