az security automation-rule
Creates security automation rule.
Commands
Name | Description | Type | Status |
---|---|---|---|
az security automation-rule create |
Creates security automation rule. |
Core | GA |
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
The expected value.
A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.
The JPath of the entity model property that should be checked.
The data type of the compared operands (string, integer, floating point number or a boolean [true/false]].
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.