A resource is considered compliant if it matches all specified tags.
Scenarios
In cloud IT management, cloud resources must have one or more specific tags. These tags are used to manage resources for scenarios such as permission isolation, bill allocation, and automated O&M.
Risk level
Default risk level: High.
When you use this rule, you can change the risk level as needed.
Detection logic
- A resource is considered compliant if it matches all specified tags.
- A resource is considered non-compliant if it does not match all specified tags. For more information, see Remediation.
Rule details
| Parameter | Description |
| Rule name | Match all specified tags |
| Rule identifier | contains-all-tag |
| Tag | Tag |
| Automatic remediation | Not supported |
| Rule trigger mechanism | Configuration change |
| Supported resource types |
|
| Input parameters |
Note You can define up to six tags. Each tag consists of a tag key and a tag value. Tag inputs are case-sensitive and support the wildcard characters * and ?. Each tag key must be a single value. For the tag value, you can enter multiple values separated by commas (,). A match occurs if the resource's tag value matches any of the entered values. |
Remediation
Set tags on the resource to match all specified tags. For more information, see Create and attach custom tags.
该文章对您有帮助吗?