Creating automation rules in Security Hub
This topic describes how to create automation rules. You can use automation rules to update details for a finding, update the criticality of your resources, or create a ticket for a third-party integration. You must create automation rules individually and in the Amazon Web Services Region where you want them applied. However, if you create an automation rule in an aggregation Region, it is applied in all Regions. Otherwise, if you create an automation rule in a non-linked Region, it is applied only in that Region.
Creating a rule that updates finding details
The following procedure describes how to create a rule that updates finding details.
-
Sign in to your Amazon account. Open the Security Hub console at https://console.amazonaws.cn/securityhub/v2/home
. -
From the navigation pane, under Management, choose Automations.
-
Choose Create rule.
-
Under Details, enter a name for your automation rule.
-
(Optional) Enter a description for your automation rule.
-
-
Under Actions, choose Update findings details. You can search for criteria and add criteria in the search bar. To check if any findings match your criteria, choose Preview matching findings.
-
Under Update finding details, choose at least one finding detail to update when a finding matches your criteria. You can choose Severity, Status, or Comment.
-
Under Rule settings, select Enabled or Disabled. If you select Enabled, the automation rule is enabled and processes new findings. If you select Disabled, the automation rule is disabled and does not process any findings.
-
(Optional) Under Tags, choose Add new tag to enter a key-value pair to be applied to your automation rule.
-
Choose Create rule.
Creating a rule that updates resource criticality
The following procedure describes how to create a rule that updates the criticality of resources that match your criteria.
-
Sign in to your Amazon account. Open the Security Hub console at https://console.amazonaws.cn/securityhub/v2/home
. -
From the navigation pane, under Management, choose Automations.
-
Choose Create rule.
-
Under Details, enter a name for your automation rule.
-
(Optional) Enter a description for your automation rule.
-
-
Under Actions, choose Update resource details. You can search for criteria and add criteria in the search bar. To check if any resources match your criteria, choose Preview matching resources.
-
Under Update resource details, for Criticality, choose the criticality to apply to resources that match your criteria. You can choose Very High, High, Medium, Low, or Unknown.
Note
This rule does not apply to self-hosted AI resources. These resource types are excluded from automation-rule criticality.
-
Under Rule settings, select Enabled or Disabled. If you select Enabled, the automation rule is enabled and processes resources that match your criteria. If you select Disabled, the automation rule is disabled and does not process any resources.
-
(Optional) Under Tags, choose Add new tag to enter a key-value pair to be applied to your automation rule.
-
Choose Create rule.
Creating a rule for a third-party integration
The following procedure describes how to create a rule that creates a ticket for a third-party integration. For information about the integrations Security Hub CSPM supports, see Third-party integrations for Security Hub CSPM.
-
Sign in to your Amazon account. Open the Security Hub console at https://console.amazonaws.cn/securityhub/v2/home
. -
From the navigation pane, under Management, choose Automations.
-
Choose Create rule.
-
Under Details, enter a name for your automation rule.
-
(Optional) Enter a description for your automation rule.
-
-
Under Actions, choose Create ticket. You can search for criteria and add criteria in the search bar. To check if any findings match your criteria, choose Preview matching findings.
-
Under Create a ticket, choose an IT ticketing integration from the dropdown, and then choose Add integration.
-
Under Rule settings, select Enabled or Disabled. If you select Enabled, the automation rule is enabled and processes new findings. If you select Disabled, the automation rule is disabled and does not process any findings.
-
(Optional) Under Tags, choose Add new tag to enter a key-value pair to be applied to your automation rule.
-
Choose Create rule.