Retrieves the results and statuses of governance evaluations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
governance:ListEvaluationResults |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AccountId |
integer |
No |
The ID of the member account. This parameter applies only to multi-account evaluations. |
176618589410**** |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| Filters |
array<object> |
No |
The filter conditions. |
|
|
object |
No |
The filter condition. |
||
| Key |
string |
No |
The key of the filter condition. Valid values:
|
ResourceId |
| Values |
array |
No |
A list of values for the filter condition. |
|
|
string |
No |
The value for the filter condition. |
c191**************b4f |
|
| SnapshotId |
string |
No |
The ID of the evaluation snapshot. |
es-bp1r************** |
| Scope |
string |
No |
The scope of the governance maturity evaluation. Valid values:
|
ResourceDirectory |
| LensCode |
string |
No |
The code for the specialized evaluation. Valid values:
|
basic |
| TopicCode |
string |
No |
The code of the governance topic. |
IdentityAndAccessManagement |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| AccountId |
integer |
The ID of the member account. |
176618589410**** |
| RequestId |
string |
The request ID. |
BD57329E-131A-59F4-8746-E1CD8D7B**** |
| Results |
object |
The evaluation results. This includes the overall evaluation status and the results for each check item. |
|
| EvaluationTime |
string |
The time when the overall evaluation was completed. The time is in UTC. |
2023-12-13T03:35:00Z |
| MetricResults |
array<object> |
The evaluation results. |
|
|
array<object> |
The evaluation result. |
||
| ErrorInfo |
object |
The error message. Note
This parameter is returned when the value of |
|
| Code |
string |
The error code. |
EcsInsightEnableFailed |
| Message |
string |
The error message. |
Unable to enable ECS Insight due to a server error. |
| EvaluationTime |
string |
The time when the evaluation of the check item was completed. The time is in UTC. |
2023-12-13T03:34:02Z |
| Id |
string |
The ID of the check item. |
r7xdcu**** |
| ResourcesSummary |
object |
A summary of the resource evaluation for the check item. |
|
| NonCompliant |
integer |
The number of non-compliant resources. |
2 |
| Result |
number |
The resource compliance rate for the check item. |
0.67 |
| Risk |
string |
The risk level. Valid values:
|
Error |
| Status |
string |
The evaluation status of the check item. Valid values:
|
Running |
| AccountSummary |
object |
A summary of the account evaluation for the check item. |
|
| NonCompliant |
integer |
The number of non-compliant accounts. |
1 |
| PotentialScoreIncrease |
number |
The potential score increase. |
0.2 |
| AvailableRemediation |
array<object> |
A list of available remediations. |
|
|
object |
|||
| RemediationTemplateId |
string |
The ID of the remediation template. |
|
| Status |
string |
The overall evaluation status. Valid values:
|
Running |
| TotalScore |
number |
The total score. |
0.6453 |
Examples
Success response
JSON format
{
"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",
"AccountSummary": {
"NonCompliant": 1
},
"PotentialScoreIncrease": 0.2,
"AvailableRemediation": [
{
"RemediationTemplateId": ""
}
]
}
],
"Status": "Running",
"TotalScore": 0.6453
}
}
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.