查看基线检查的结果统计情况,例如基线检查的服务器数量、基线检查项数量、最近检查通过率等。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
yundun-sas:DescribeCheckWarningSummary |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SourceIp |
string |
否 |
访问源 IP 地址。 |
219.133.XX.XX |
| Lang |
string |
否 |
请求和接收消息的语言类型。取值:
|
zh |
| TypeName |
string |
否 |
基线一级类型。 说明
调用 DescribeRiskType 接口获取该参数。 |
database |
| Status |
string |
否 |
检查项状态。取值:
|
1 |
| RiskStatus |
integer |
否 |
基线检查的状态。取值:
|
1 |
| RiskName |
string |
否 |
基线检查风险项名称。 |
Redis |
| StrategyId |
integer |
否 |
基线检查策略 ID。 |
1 |
| Uuids |
string |
否 |
资产 UUID。 说明
调用 DescribeCloudCenterInstances 接口获取该参数。 |
f03259d8-1e81-4fae-bcbb-275fb5**** |
| PageSize |
integer |
否 |
分页查询时,显示的每页数据的最大条数。 |
10 |
| CurrentPage |
integer |
否 |
分页查询时的页码。 |
1 |
| ClusterId |
string |
否 |
指定要查询的容器集群的 ID。 说明
您可以调用 DescribeGroupedContainerInstances 接口获取该参数。 |
c80dae73bd1be442699766b14ffd0**** |
| ContainerFieldName |
string |
否 |
容器字段。取值:
|
namespace |
| ContainerFieldValue |
string |
否 |
容器字段对应值。 |
c819391d2d520485fa3e81e2dc2ea**** |
| TargetType |
string |
否 |
查询类型。取值:
|
uuid |
| GroupId |
integer |
否 |
指定查询的服务器的分组 ID。 说明
您可调用 DescribeAllGroups 接口获取服务器的分组 ID。 |
123 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| CurrentPage |
integer |
指定返回结果的当前页码。 |
1 |
| PageSize |
integer |
分页查询时,显示的每页数据的最大条数。 |
10 |
| RequestId |
string |
本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。 |
00BD7CE2-284A-4534-BD09-FB69836DD750 |
| TotalCount |
integer |
基线检查项的总数。 |
100 |
| Count |
integer |
当前页显示的检测项条数。 |
10 |
| WarningSummarys |
array<object> |
检查项统计明细。 |
|
|
object |
检查项统计明细。 |
||
| LowWarningCount |
integer |
低危检查项的个数。 |
3 |
| CheckCount |
integer |
基线检查项个数。 |
10 |
| MediumWarningCount |
integer |
中危检查项的个数。 |
2 |
| LastFoundTime |
string |
最近执行基线检查的时间。 |
2019-01-01 12:23:00 |
| RiskId |
integer |
风险项 ID。 |
118 |
| SubTypeAlias |
string |
风险项二级分类。 |
Redis |
| WarningMachineCount |
integer |
检测出基线风险项的资产的数量。 |
11 |
| HighWarningCount |
integer |
高危检查项个数。 |
1 |
| TypeAlias |
string |
基线检查项的分类,例如:数据库、系统、弱密码检测和中间件。 |
databases |
| RiskName |
string |
基线检查风险项名称。 |
Redis |
| Level |
string |
基线检查风险项的危险等级。取值:
|
high |
| CheckExploit |
boolean |
可利用性。取值:
|
false |
| DatabaseRisk |
boolean |
是否数据库风险项。取值:
|
false |
| ContainerRisk |
boolean |
基线是否属于容器运行时类别。取值:
|
false |
示例
正常返回示例
JSON格式
{
"CurrentPage": 1,
"PageSize": 10,
"RequestId": "00BD7CE2-284A-4534-BD09-FB69836DD750",
"TotalCount": 100,
"Count": 10,
"WarningSummarys": [
{
"LowWarningCount": 3,
"CheckCount": 10,
"MediumWarningCount": 2,
"LastFoundTime": "2019-01-01 12:23:00",
"RiskId": 118,
"SubTypeAlias": "Redis",
"WarningMachineCount": 11,
"HighWarningCount": 1,
"TypeAlias": "databases",
"RiskName": "Redis",
"Level": "high",
"CheckExploit": false,
"DatabaseRisk": false,
"ContainerRisk": false
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 400 | ConsoleError | The error message is %s %s. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。