A resource is compliant if it has at least one tag attached.
Scenarios
Cloud IT management often requires that every resource carry one or more tags for permission isolation, cost allocation, and automated O&M.
Risk level
Default risk level: medium.
You can change the risk level based on your business requirements when you apply this rule.
Compliance evaluation logic
-
If a resource has at least one tag, the evaluation result is Compliant.
-
If a resource has no tags, the evaluation result is Incompliant. For more information about how to fix this, see Incompliance remediation.
Rule details
|
Item |
Feature |
|
Rule name |
resources-tags-not-empty |
|
Rule identifier |
resources-tags-not-empty |
|
Tag |
Tag |
|
Automatic remediation |
Not supported |
|
Trigger type |
Configuration change |
|
Supported resource type |
|
|
Input parameter |
None |
Incompliance remediation
Attach a tag to a resource. For more information, see Add a custom tag.