

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 在 Security Hub 中更新规则顺序
<a name="securityhub-v2-automation-rules-order"></a>

 本主题介绍如何在控制台中更新自动化规则的规则顺序。如果要编辑自动化规则的条件，请参阅[在 Security Hub 中编辑自动化规则](https://docs.aws.amazon.com/securityhub/latest/userguide/securithub-v2-automation-rules-edit.html)。

 不能只更新一条自动化规则的规则顺序，而不更新其他自动化规则的规则顺序。例如，您有四条自动化规则：规则 A （1）、规则 B （2）、规则 C （3） 和规则 D （4）。您希望首先应用规则 D。为此，您将它的数字从 4 改为 1。结果，规则 A 得到 2，规则 B 得到 3，规则 C 得到 4。

**更新自动化规则的规则顺序**

1.  登录您的 AWS 账户。在 [https://console.aws.amazon.com/securityhub/v2/](https://console.aws.amazon.com/securityhub/v2/home) home 中打开 Security Hub 控制台。

1.  从导航窗格中，在**管理**下，选择**自动化**。

1.  选择要编辑的自动化规则。在**顺序**下，选择顺序编号旁边的铅笔图标。使用箭头确定新的顺序编号。选择 **✓** 图标进行确认。选择 **X** 图标进行取消。或者，您可以选择**更改顺序**，将自动化规则向下、向上移动或移至列表顶部。