AutomationRulesConfig
¶
Source code in docs_src/capo_securityhub/types/automation_rules_config.py
actions
instance-attribute
¶
actions: NotRequired[ActionList]
One or more actions to update finding fields if a finding matches the defined criteria of the rule.
created_at
instance-attribute
¶
created_at: NotRequired[Timestamp]
A timestamp that indicates when the rule was created.
For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.
created_by
instance-attribute
¶
created_by: NotRequired[NonEmptyString]
The principal that created a rule.
criteria
instance-attribute
¶
criteria: NotRequired[AutomationRulesFindingFilters]
A set of Amazon Web Services Security Finding Format finding field attributes and corresponding expected values that Security Hub CSPM uses to filter findings. If a rule is enabled and a finding matches the conditions specified in this parameter, Security Hub CSPM applies the rule action to the finding.
description
instance-attribute
¶
description: NotRequired[NonEmptyString]
A description of the rule.
is_terminal
instance-attribute
¶
is_terminal: NotRequired[Boolean]
Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful when a finding matches the criteria for multiple rules, and each rule has different actions. If a rule is terminal, Security Hub CSPM applies the rule action to a finding that matches the rule criteria and doesn't evaluate other rules for the finding. By default, a rule isn't terminal.
rule_arn
instance-attribute
¶
rule_arn: NotRequired[NonEmptyString]
The Amazon Resource Name (ARN) of a rule.
rule_order
instance-attribute
¶
rule_order: NotRequired[RuleOrderValue]
An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings. Security Hub CSPM applies rules with lower values for this parameter first.
rule_status
instance-attribute
¶
rule_status: NotRequired[RuleStatus]
Whether the rule is active after it is created. If this parameter is equal to ENABLED, Security Hub CSPM starts applying the rule to findings and finding updates after the rule is created.
updated_at
instance-attribute
¶
updated_at: NotRequired[Timestamp]
A timestamp that indicates when the rule was most recently updated.
For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.