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.
- Log on to the Cloud Config console.
- In the left-side navigation pane, click Rules.
- Disable one or more rules based on your business requirements.
- Disable a single rule
- On the Rules page, find the rule that you want to disable, move the pointer over the
icon in the Actions column, and then select Disable Rule.
- In the Are you sure you want to terminate the rule? message, click OK.
- Disable multiple rules at a time
- On the Rules page, find the rules that you want to disable, select the check boxes next to the
rules, and then click the
icon.
- In the Disable Selected Rules message, click OK.
- 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.
- Log on to the Cloud Config console.
- In the left-side navigation pane, click Rules.
- On the Rules page, click the tab of the account group for which you want to create a custom rule.
- Disable one or more rules based on your business requirements.
- Disable a single rule
- On the account group tab, find the rule that you want to disable, move the pointer
over the
icon in the Actions column, and then select Disable Rule.
- In the Are you sure you want to terminate the rule? message, click OK.
- Disable multiple rules at a time
- 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
icon.
- In the Disable Selected Rules message, click OK.
- 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.