Creates an automation rule based on input parameters.
See https://www.paws-r-sdk.com/docs/securityhub_create_automation_rule/ for full documentation.
securityhub_create_automation_rule(
Tags = NULL,
RuleStatus = NULL,
RuleOrder,
RuleName,
Description,
IsTerminal = NULL,
Criteria,
Actions
)User-defined tags that help you label the purpose of a rule.
Whether the rule is active after it is created. If this parameter is
equal to Enabled, Security Hub will apply the rule to findings and
finding updates after the rule is created. To change the value of this
parameter after creating a rule, use
batch_update_automation_rules.
[required] An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings. Security Hub applies rules with lower values for this parameter first.
[required] The name of the rule.
[required] A description of the rule.
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 the value of this field is set to true for a rule,
Security Hub applies the rule action to a finding that matches the rule
criteria and won't evaluate other rules for the finding. The default
value of this field is false.
[required] A set of ASFF finding field attributes and corresponding expected values that Security Hub uses to filter findings. If a finding matches the conditions specified in this parameter, Security Hub applies the rule action to the finding.
[required] One or more actions to update finding fields if a finding matches the
conditions specified in Criteria.