All Products
Search
Document Center

Cloud Governance Center:ListEvaluationResults

Last Updated:Oct 25, 2024

Queries the result and status of a governance maturity check.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
governance:ListEvaluationResultsget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
AccountIdlongNo

The Alibaba Cloud account ID of the member. This parameter takes effect only when a multi-account governance maturity check is performed.

176618589410****
RegionIdstringNo

The region ID.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

The result returned.

AccountIdlong

The Alibaba Cloud account ID of the member.

176618589410****
RequestIdstring

The request ID.

BD57329E-131A-59F4-8746-E1CD8D7B****
Resultsobject

The check results, including the status of the overall check and the results of check items.

EvaluationTimestring

The end time of the overall check. The time is displayed in UTC.

2023-12-13T03:35:00Z
MetricResultsarray<object>

The check results.

MetricResultobject

The check result.

ErrorInfoobject

The error information.

Note This parameter is returned only if the value of Status is Failed.
Codestring

The error code.

EcsInsightEnableFailed
Messagestring

The error message.

Unable to enable ECS Insight due to a server error.
EvaluationTimestring

The end time of the check item. The time is displayed in UTC.

2023-12-13T03:34:02Z
Idstring

The ID of the check item.

r7xdcu****
ResourcesSummaryobject

The checked resources.

NonCompliantinteger

The number of non-compliant resources.

2
Resultdouble

The rate of the non-compliant resources.

0.67
Riskstring

The risk level. Valid values:

  • Error: high risk
  • Warning: medium risk
  • None: no risk
Error
Statusstring

The status of the check item. Valid values:

  • Running: The check is in progress.
  • Finished: The check is complete.
  • failed: The check fails.
Running
Statusstring

The status of the overall check. Valid values:

  • Running: The check is in progress.
  • Finished: The check is complete.
  • failed: The check fails.
Running
TotalScoredouble

The overall score.

0.6453

Examples

Sample success responses

JSONformat

{
  "AccountId": 0,
  "RequestId": "BD57329E-131A-59F4-8746-E1CD8D7B****",
  "Results": {
    "EvaluationTime": "2023-12-13T03:35:00Z\n",
    "MetricResults": [
      {
        "ErrorInfo": {
          "Code": "EcsInsightEnableFailed",
          "Message": "Unable to enable ECS Insight due to a server error."
        },
        "EvaluationTime": "2023-12-13T03:34:02Z",
        "Id": "r7xdcu****",
        "ResourcesSummary": {
          "NonCompliant": 2
        },
        "Result": 0.67,
        "Risk": "Error",
        "Status": "Running"
      }
    ],
    "Status": "Running",
    "TotalScore": 0.6453
  }
}

Error codes

HTTP status codeError codeError messageDescription
404InvalidEnterpriseRealName.NotFoundThe 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.
500InternalErrorA system error occurred.A system error occurred.

For a list of error codes, visit the Service error codes.