This topic describes how to disable a rule. You can disable a rule if you no longer use it. You can disable 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.

Ordinary accounts

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 based on your business requirements.
    • Disable a single rule
      1. On the Rules page, find the rule that you want to disable, move the pointer over the Public 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 Click Disable icon.
      2. In the Disable Selected Rules message, click OK.
  4. View the status of the rules.
    On the Rules page, configure filter conditions to search for the rules and check whether the rules are in the Inactive state. After a rule is disabled, the rule no longer takes effect. The compliance evaluation results that are returned before the rule is disabled are displayed.

Use a management account

You can use a management account to disable its rules and the rules of the member accounts in all account groups.

  1. Log on to the Cloud Config console.
  2. In the left-side navigation pane, click Rules.
  3. On the Rules page, click the tab of the account group for which you want to create a custom rule.
  4. Disable one or more rules based on your business requirements.
    • Disable a single rule
      1. On the account group tab, find the rule that you want to disable, move the pointer over the Public 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 Click Disable icon.
      2. In the Disable Selected Rules message, click OK.
  5. View the status of the rules.
    On the account group tab, configure filter conditions to search for the rules and check whether the rules are in the Inactive state.