All Products
Search
Document Center

Cloud Governance Center:ListEvaluationMetricDetails

Last Updated:Dec 03, 2025

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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 (default): Queries the details of check items for the current account.

  • ResourceDirectory: Queries the details of check items for all member accounts in the resource directory. Before using this option, upgrade to the multi-account administration maturity check.

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: The resource is not compliant.

  • Excluded: The resource is ignored.

  • PendingExclusion: The resource is ignored but the setting has not taken effect.

  • PendingInclusion: The setting to include the resource has not taken effect.

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.