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.
- Log on to the Cloud Config console.
- In the left-side navigation pane, click Rules.
- Disable one or more rules as needed.
- 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, 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.
- Log on to the Cloud Config console.
- In the left-side navigation pane, click Rules.
- On the Rules page, click the required account group tab.
- Disable one or more rules as needed.
- 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, set filter conditions to search for the rules and check
whether the rules are in the Inactive state.