AutomationRuleTriggeringLogic Class

Describes automation rule triggering logic.

All required parameters must be populated in order to send to Azure.

Inheritance
AutomationRuleTriggeringLogic

Constructor

AutomationRuleTriggeringLogic(*, is_enabled: bool, triggers_on: Union[str, azure.mgmt.securityinsight.models._security_insights_enums.TriggersOn], triggers_when: Union[str, azure.mgmt.securityinsight.models._security_insights_enums.TriggersWhen], expiration_time_utc: Optional[datetime.datetime] = None, conditions: Optional[List[azure.mgmt.securityinsight.models._models_py3.AutomationRuleCondition]] = None, **kwargs)

Variables

is_enabled
bool

Required. Determines whether the automation rule is enabled or disabled.

expiration_time_utc
datetime

Determines when the automation rule should automatically expire and be disabled.

triggers_on
str or TriggersOn

Required. Possible values include: "Incidents".

triggers_when
str or TriggersWhen

Required. Possible values include: "Created".

conditions
list[AutomationRuleCondition]

The conditions to evaluate to determine if the automation rule should be triggered on a given object.