AutomationTriggeringRule Class

A rule which is evaluated upon event interception. The rule is configured by comparing a specific value from the event model to an expected value. This comparison is done by using one of the supported operators set.

Inheritance
AutomationTriggeringRule

Constructor

AutomationTriggeringRule(*, property_j_path: Optional[str] = None, property_type: Optional[Union[str, azure.mgmt.security.models._security_center_enums.PropertyType]] = None, expected_value: Optional[str] = None, operator: Optional[Union[str, azure.mgmt.security.models._security_center_enums.Operator]] = None, **kwargs)

Parameters

property_j_path
str
Required

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

property_type
str or PropertyType
Required

The data type of the compared operands (string, integer, floating point number or a boolean [true/false]]. Possible values include: "String", "Integer", "Number", "Boolean".

expected_value
str
Required

The expected value.

operator
str or Operator
Required

A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType. Possible values include: "Equals", "GreaterThan", "GreaterThanOrEqualTo", "LesserThan", "LesserThanOrEqualTo", "NotEquals", "Contains", "StartsWith", "EndsWith".