查询最近一次成功的治理成熟度检测的总览 - ShowBestPracticeOverview
功能介绍
查询最近一次成功的治理成熟度检测的总览。
授权信息
账号根用户具备所有API的调用权限,如果使用账号下的IAM用户调用当前API,该IAM用户需具备如下身份策略权限,更多的权限说明请参见权限和授权项。
| 授权项 | 访问级别 | 资源类型(*为必须) | 条件键 | 别名 | 依赖的授权项 |
|---|---|---|---|---|---|
| rgc:bestPractice:getOverview | Read | - | - | - | - |
URI
GET /v1/best-practice/detection-overview
请求参数
无
响应参数
状态码:200
| 参数 | 参数类型 | 描述 |
|---|---|---|
| total_score | Number | 总分数 |
| detect_time | String | 检测完成时间 |
| organization_account | BestPracticeOverviewItem object | 最佳实践检测结果中某个场景的概览。 |
| identity_permission | BestPracticeOverviewItem object | 最佳实践检测结果中某个场景的概览。 |
| network_planning | BestPracticeOverviewItem object | 最佳实践检测结果中某个场景的概览。 |
| compliance_audit | BestPracticeOverviewItem object | 最佳实践检测结果中某个场景的概览。 |
| financial_governance | BestPracticeOverviewItem object | 最佳实践检测结果中某个场景的概览。 |
| data_boundary | BestPracticeOverviewItem object | 最佳实践检测结果中某个场景的概览。 |
| om_monitor | BestPracticeOverviewItem object | 最佳实践检测结果中某个场景的概览。 |
| security_management | BestPracticeOverviewItem object | 最佳实践检测结果中某个场景的概览。 |
| 参数 | 参数类型 | 描述 |
|---|---|---|
| score | Number | 分数 |
| detection_count | Integer | 检测项个数 |
| high_risk_count | Integer | 高风险项个数 |
| medium_risk_count | Integer | 中风险项个数 |
| low_risk_count | Integer | 低风险项个数 |
| risk_item_description | Array of strings | 风险描述 |
状态码: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-overview 响应示例
状态码:200
请求成功。
{
"total_score" : 50,
"detect_time" : "string",
"organization_account" : [ {
"score" : 50,
"detection_count" : 0,
"high_risk_count" : 0,
"medium_risk_count" : 0,
"low_risk_count" : 0,
"risk_item_description" : [ ]
} ],
"identity_permission" : [ {
"score" : 50,
"detection_count" : 0,
"high_risk_count" : 0,
"medium_risk_count" : 0,
"low_risk_count" : 0,
"risk_item_description" : [ ]
} ],
"network_planning" : [ {
"score" : 50,
"detection_count" : 0,
"high_risk_count" : 0,
"medium_risk_count" : 0,
"low_risk_count" : 0,
"risk_item_description" : [ ]
} ],
"compliance_audit" : [ {
"score" : 50,
"detection_count" : 0,
"high_risk_count" : 0,
"medium_risk_count" : 0,
"low_risk_count" : 0,
"risk_item_description" : [ ]
} ],
"financial_governance" : [ {
"score" : 50,
"detection_count" : 0,
"high_risk_count" : 0,
"medium_risk_count" : 0,
"low_risk_count" : 0,
"risk_item_description" : [ ]
} ],
"data_boundary" : [ {
"score" : 50,
"detection_count" : 0,
"high_risk_count" : 0,
"medium_risk_count" : 0,
"low_risk_count" : 0,
"risk_item_description" : [ ]
} ],
"om_monitor" : [ {
"score" : 50,
"detection_count" : 0,
"high_risk_count" : 0,
"medium_risk_count" : 0,
"low_risk_count" : 0,
"risk_item_description" : [ ]
} ],
"security_management" : [ {
"score" : 50,
"detection_count" : 0,
"high_risk_count" : 0,
"medium_risk_count" : 0,
"low_risk_count" : 0,
"risk_item_description" : [ ]
} ]
} 状态码
| 状态码 | 描述 |
|---|---|
| 200 | 请求成功。 |
| 403 | 请求无权限。 |
错误码
请参见错误码。