Retrieves information about non-compliant resources for a specific check item. The information includes the name, ID, classification, type, region, and metadata of each resource.
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. Call the ListEvaluationMetadata operation to get the check item ID. |
xfyve5**** |
| AccountId |
integer |
No |
The ID of the member account. This parameter is applicable only in multi-account check mode. |
103144549568**** |
| NextToken |
string |
No |
The token that is used to retrieve the next page of results. |
AAAAAGEaXR18y1rqykZHIqRuBejOqED4S3Xne33c7zbn**** |
| MaxResults |
integer |
No |
The maximum number of results to return for a single request. Default value: 5. |
5 |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| SnapshotId |
string |
No |
The ID of the detection snapshot. |
es-bp1r************** |
| Scope |
string |
No |
The scope of the administration maturity check. Valid values:
|
Account |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| NextToken |
string |
The token that is used to retrieve the next page of results. |
AAAAAGEaXR18y1rqykZHIqRuBejOqED4S3Xne33c7zbn**** |
| RequestId |
string |
The request ID. |
AC9BD94C-D20C-4D27-88D4-89E8D75C**** |
| Resources |
array<object> |
The details of the non-compliant resources. |
|
|
array<object> |
The details of the non-compliant resources. |
||
| RegionId |
string |
The ID of the region to which the resource belongs. |
cn-hangzhou |
| ResourceClassification |
string |
The classification for assisted decision-making. Note
This parameter is returned only for check items that support assisted decision-making. |
RecentUnloginRamUser |
| ResourceId |
string |
The resource ID. |
26435103783237**** |
| ResourceName |
string |
The resource name. |
test |
| ResourceOwnerId |
integer |
The ID of the Alibaba Cloud account 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 state. Valid values:
|
NonCompliant |
| Date |
string |
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": ""
}
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.