An Alibaba Cloud account is considered compliant if it contains a resource that matches a specified name.
Scenarios
Use the account-resource-name-match managed rule to check whether an Alibaba Cloud account contains a resource that matches a specified resource type and naming convention. Use the evaluation result to confirm that critical resources are deployed in a standardized way and are managed for compliance.
Risk level
Default risk level: High.
You can change the risk level as needed.
Detection logic
The account-resource-name-match rule evaluates an Alibaba Cloud account as compliant if the account contains a resource that matches a specified name.
The rule identifies a matching resource by the resource type specified by resourceTypes and the resource name pattern specified by resourceNamePattern. Both parameters and their default values are listed in the Input parameters row of the Rule details table.
Rule details
| Parameter | Description |
| Rule name | A resource that matches a specified name exists in an Alibaba Cloud account |
| Rule identifier | account-resource-name-match |
| Automatic remediation | Not supported |
| Rule trigger | Periodic |
| Trigger frequency | 24 hours |
| Supported resource types | ACS::::Account |
| Input parameters | resourceTypes (default value: ACS::SLS::Project); resourceNamePattern (default value: ^slsaudit-center-.*) |