This topic describes how to disable a rule. You can disable a rule if you do not need it. You can disable both the rules that you created and the managed rules in compliance packages.

Prerequisites

The rules that you want to disable are in the Active state in the Status column.

Use an ordinary account

If you use an ordinary account, you can disable only the rules within your account.

  1. Log on to the Cloud Config console.
  2. In the left-side navigation pane, click Rules.
  3. Disable one or more rules as needed.
    • Disable a single rule
      1. On the Rules page, find the rule that you want to disable, move the pointer over the More icon icon in the Actions column, and then select Disable Rule.
      2. In the Are you sure you want to terminate the rule? message, click OK.
    • Disable multiple rules at a time
      1. On the Rules page, find the rules that you want to disable, select the check boxes next to the rules, and then click the Disable icon icon.
      2. In the Disable Selected Rules message, click OK.
  4. View the status of the rules.
    On the Rules page, set filter conditions to search for the rules and check whether the rules are in the Inactive state. After a rule is disabled, it no longer takes effect. The compliance evaluation results that are returned before the rule is disabled are displayed.

Use a management account

If you use a management account, you can disable the rules within your account and those within member accounts in the relevant resource directory.

  1. Log on to the Cloud Config console.
  2. In the left-side navigation pane, click Rules.
  3. On the Rules page, click the required account group tab.
  4. Disable one or more rules as needed.
    • Disable a single rule
      1. On the account group tab, find the rule that you want to disable, move the pointer over the More icon icon in the Actions column, and then select Disable Rule.
      2. In the Are you sure you want to terminate the rule? message, click OK.
    • Disable multiple rules at a time
      1. On the account group tab, find the rules that you want to disable, select the check boxes next to the rules, and then click the Disable icon icon.
      2. In the Disable Selected Rules message, click OK.
  5. View the status of the rules.
    On the account group tab, set filter conditions to search for the rules and check whether the rules are in the Inactive state.