查询最近一次成功的治理成熟度检测的详情 - ShowBestPracticeDetails
功能介绍
查询最近一次成功的治理成熟度检测的详情。
授权信息
账号根用户具备所有API的调用权限,如果使用账号下的IAM用户调用当前API,该IAM用户需具备如下身份策略权限,更多的权限说明请参见权限和授权项。
|
授权项 |
访问级别 |
资源类型(*为必须) |
条件键 |
别名 |
依赖的授权项 |
|---|---|---|---|---|---|
|
rgc:bestPractice:getDetails |
Read |
- |
- |
- |
- |
URI
GET /v1/best-practice/detection-details
请求参数
无
响应参数
状态码:200
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
[数组元素] |
Array of BestPracticeCheckItemDetail objects |
最佳实践检测结果 |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
check_item |
Integer |
检查项编号 |
|
check_item_name |
String |
检查项描述 |
|
risk_description |
String |
检查项风险描述 |
|
result |
String |
检测结果 |
|
scene |
String |
八大领域的细分场景 |
|
risk_level |
String |
风险等级 |
状态码:403
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
error_code |
String |
错误码 |
|
error_msg |
String |
错误信息 |
|
request_id |
String |
请求唯一标识 |
|
encoded_authorization_message |
String |
加密的错误信息 |
|
details |
Array of ForbiddenErrorDetail objects |
跨服务调用无权限错误信息 |
请求示例
查询最近一次成功的治理成熟度检测的详情。
GET https://{endpoint}/v1/best-practice/detection-details
响应示例
状态码:200
请求成功。
{
"check_item" : 1102,
"check_item_name" : "string",
"risk_description" : "string",
"result" : "Compliant",
"scene" : "string",
"risk_level" : "high"
}
状态码
|
状态码 |
描述 |
|---|---|
|
200 |
请求成功。 |
|
403 |
请求无权限。 |
错误码
请参见错误码。