Retrieves non-compliant resource information for a specified check item, including the name, ID, category, type, region, and related metadata of non-compliant resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
governance:ListEvaluationMetricDetails |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
No |
The ID of the check item for which you want to retrieve non-compliant resources. You can call the ListEvaluationMetadata operation to obtain the check item ID. |
xfyve5**** |
| AccountId |
integer |
No |
The ID of the member account. This parameter is applicable only to the multi-account check pattern. |
103144549568**** |
| NextToken |
string |
No |
The token for the next query. |
AAAAAGEaXR18y1rqykZHIqRuBejOqED4S3Xne33c7zbn**** |
| MaxResults |
integer |
No |
The maximum number of entries to return in a single request. Default value: 5. |
5 |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| SnapshotId |
string |
No |
The check snapshot ID. |
es-bp1r************** |
| Scope |
string |
No |
The scope of the governance maturity check. Valid values:
|
Account |
| Date |
string |
No |
The date to query. |
2026-01-01 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| NextToken |
string |
The token used to retrieve the next page of data. |
AAAAAGEaXR18y1rqykZHIqRuBejOqED4S3Xne33c7zbn**** |
| RequestId |
string |
The request ID. |
AC9BD94C-D20C-4D27-88D4-89E8D75C**** |
| Resources |
array<object> |
The details of non-compliant resources. |
|
|
array<object> |
The details of non-compliant resources. |
||
| RegionId |
string |
The region ID of the resource. |
cn-hangzhou |
| ResourceClassification |
string |
The decision assistance classification. Note
This parameter is returned only for check items that support decision assistance. |
RecentUnloginRamUser |
| ResourceId |
string |
The resource ID. |
26435103783237**** |
| ResourceName |
string |
The resource name. |
test |
| ResourceOwnerId |
integer |
The Alibaba Cloud account ID to which the resource belongs. |
176618589410**** |
| ResourceProperties |
array<object> |
The list of additional resource properties. |
|
|
object |
The list of additional resource properties. |
||
| PropertyName |
string |
The name of the resource property. |
DisplayName |
| PropertyValue |
string |
The value of the resource property. |
TestAccount |
| ResourceType |
string |
The resource type. |
ACS::RAM::User |
| ComplianceType |
string |
The compliance status. Valid values:
|
NonCompliant |
| Date |
string |
The date. |
2026-01-01 |
Examples
Success response
JSON format
{
"NextToken": "AAAAAGEaXR18y1rqykZHIqRuBejOqED4S3Xne33c7zbn****",
"RequestId": "AC9BD94C-D20C-4D27-88D4-89E8D75C****",
"Resources": [
{
"RegionId": "cn-hangzhou",
"ResourceClassification": "RecentUnloginRamUser",
"ResourceId": "26435103783237****",
"ResourceName": "test",
"ResourceOwnerId": 0,
"ResourceProperties": [
{
"PropertyName": "DisplayName",
"PropertyValue": "TestAccount"
}
],
"ResourceType": "ACS::RAM::User",
"ComplianceType": "NonCompliant"
}
],
"Date": "2026-01-01"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | A system error occurred. | A system error occurred. |
| 404 | InvalidEnterpriseRealName.NotFound | The specified account has not passed enterprise real name verification. Please complete the verification for the account first. | The specified account has not passed enterprise real-name verification. Please complete the verification for the account first. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.