CmdID / aws / aws securityhub
aws securityhub create-automation-rule
Creates an automation rule based on input parameters. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--actionsOne or more actions to update finding fields if a finding matches the conditions specified in Criteria.--criteriaA set of ASFF finding field attributes and corresponding expected values that Security Hub CSPM uses to filter findings.--descriptionA description of the rule.--is-terminalSpecifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria.--rule-nameThe name of the rule.--rule-orderAn integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings.--rule-statusWhether the rule is active after it is created.--tagsUser-defined tags associated with an automation rule.