Disabling and Enabling Rules¶
Rules are disabled or enabled for all relevant resources across all environments with associated compliance families. To waive a rule for one or more resources in a single environment, see Rule Waivers.
When a rule is disabled, it is no longer applied to any resource in any environment.
When a rule is enabled, it is applied to relevant resources in environments with associated compliance families.
Rule changes take effect for an existing environment after that environment’s next scan (whether manual or scheduled). See Effects on Compliance in an Environment to learn how these changes affect your environment.
Newly created environments do not have disabled rules applied.
Only users with the Admin RBAC policy can enable and disable rules.
How to Enable or Disable a Rule¶
To enable or disable a rule, follow the steps below:
Navigate to the Rules page in Fugue.
Toggle the switch at the end of the row:
An enabled rule is purple with a checkmark:
A disabled rule is gray with an X:
Changes take effect for an environment after its next scan. You can confirm that a rule has been enabled or disabled by selecting an applicable resource on the Compliance by Resource tab of an environment with an associated compliance family.
In the image below, the rule “Virtual Machines data disks (non-boot volumes) should be encrypted” has been enabled, and you can see it on the Compliance by Resource page for an applicable resource:
In the image below, the rule “IAM root user access key should not exist” has been disabled, as shown below.
It is displayed as
Passed on the compliance pages.
Effects on Compliance in an Environment¶
Compliance calculations (resource compliance, control compliance, and rule results) are recalculated at the next scan to reflect that the rule is disabled or enabled.
As a result, enabling and disabling rules may cause compliance events for resource evaluations:
You may see that a noncompliant resource becomes compliant after all failing rules are disabled.
You may see a compliant resource become noncompliant after any failing rule is enabled.
Enabling and disabling rules may cause compliance changes for control evaluations as well, though they don’t produce compliance notifications:
You may see that a noncompliant control becomes compliant if all of its corresponding failing rules are disabled.
You may see a compliant control become noncompliant after any corresponding failing rule is enabled.
If you delete or disable a custom rule, the rule is not removed from an environment until after the next scan. The deleted or disabled rule continues to display in the environment’s compliance tabs and the pass/fail results count toward your compliance posture. After the next scan, the rule is removed from the environment and results are not counted toward your compliance posture.
The following are automatically considered compliant:
A resource without any rules applied to it.
A compliance control whose corresponding rules are all disabled.
Example of Effects on an Environment¶
For example, suppose your organization has a requirement that AWS IAM password policies should require a minimum length of 12 characters. You might choose to disable the rule “IAM password policies should require a minimum length of 14.”
Since the rule maps to CIS AWS 1-9, an environment with the CIS AWS compliance family enabled would show CIS AWS 1-9 as compliant, because the only corresponding rule was disabled.
If the environment has a password policy requiring only 12 characters, the rule would no longer produce a
FAIL rule result for the password policy – in fact, there would be no result at all for that rule. If the password policy passes all other rules, its resource evaluation would be compliant.
Rules can map to multiple compliance controls, and compliance controls can map to multiple rules. In this example, an environment with SOC 2 enabled could also reflect compliance changes.
If you then enabled the rule, it would be applied to environments with corresponding compliance families again. An environment with a password policy requiring only 12 characters would show a rule result of
FAIL, and the resource evaluation would be noncompliant. CIS 1-9 would also have a noncompliant control evaluation.