基线事件三级列表查询
接口功能介绍
用户执行基线检测后,展示具体基线包含的检测项通过情况。
接口约束
此功能为收费功能。确认已经购买系统配额,并且开启基线扫描配置。如果没有购买配额,可按照页面提示进行购买。如果没有开启防护,请在服务器列表页开启机器防护
URI
POST /v1/sca/event/thirdLevel//
路径参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
currentNum | 是 | Integer | 列表当前页 | 1 | |
pageSize | 是 | Integer | 列表每页记录数 | 10 |
Query参数
无
请求参数
请求头header参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
regionid | 是 | String | 资源池id | 100054c0416811e9a6690242ac110002 | |
urlType | 是 | String | 请求地址类型。CTAPI | CTAPI | |
Content-Type | 是 | String | Content-Type | application/json |
请求体body参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
scaRuleId | 是 | Integer | 基线策略Id | 1 | |
scaId | 是 | Integer | 基线id | 9 | |
scanId | 是 | String | 扫描ID,二级列表返回 | 1606786530 | |
scaStatus | 否 | Integer | 基线状态,1:通过,2:未通过,3:失败 | 1 |
响应参数
参数 | 参数类型 | 说明 | 示例 | 下级对象 | |
---|---|---|---|---|---|
statusCode | String | 状态码 200-成功 | |||
error | String | 返回码CTCSSCN_000000 :成功;CTCSSCN_000001:失败;CTCSSCN_000003:用户未签署协议,安全卫士系统无法正常使用;CTCSSCN_000004:鉴权错误;CTCSSCN_000005:用户没有付费版配额,功能不可用 | CTCSSCN_000000 | ||
message | String | 返回信息 | 成功 | ||
returnObj | Object | 返回对象 | baseScaMongoDtoPageInfo |
表 baseScaMongoDtoPageInfo
参数 | 参数类型 | 说明 | 示例 | 下级对象 | |
---|---|---|---|---|---|
pageNum | Integer | 当前页 | 1 | ||
pageSize | Integer | 每页记录数 | 10 | ||
pages | Integer | 总页数 | 2 | ||
total | Integer | 总记录数 | 20 | ||
isFirstPage | Boolean | 是否为首页 | false | ||
isLastPage | Boolean | 是否为末页 | false | ||
list | Object | 基线列表 | list |
表 list
参数 | 参数类型 | 说明 | 示例 | 下级对象 | |
---|---|---|---|---|---|
checkId | String | 检测项Id | 1 | ||
white | Boolean | 是否加白。false:未加白,true:加白 | false | ||
title | String | 检测项名称 | 2 | ||
osType | String | 操作系统类型 | |||
timestamp | String | 最后检测时间 | 2022-05-26 16:55:50 |
枚举参数
无
请求示例
请求url
无
请求头header
{"regionid": "100054c0416811e9a6690242ac110002","Content-Type":"application/json","urlType": "CTAPI"}
请求体body
{"scanId":1606786530,"scaId":9,"scaRuleId":"230"}
响应示例
{"statusCode": "200","error": "CTCSSCN_000000","message": "查询成功!","returnObj":{"total": 71,"list": [{"id": "61dd216eb3aa31714094dfde","checkId": "14551","white": false,"title": "Ensure 'Turn off Internet download for Web publishing and online ordering wizards' is set to 'Enabled'","result": null,"name": "测试"},{"id": "61dd216eb3aa31714094dfdd","checkId": "14549","white": false,"title": "Ensure 'Configure registry policy processing: Do not apply during periodic background processing' is set to 'Enabled: FALSE'","result": null,"name": "测试"},{"id": "61dd216eb3aa31714094dfdc","checkId": "14550","white": false,"title": "Ensure 'Turn off downloading of print drivers over HTTP' is set to 'Enabled'","result": null,"name": "测试"},{"id": "61dd216eb3aa31714094dfdb","checkId": "14548","white": false,"title": "Ensure 'MSS: (WarningLevel) Percentage threshold for the security event log at which the system will generate a warning' is set to 'Enabled: 90% or less'","result": null,"name": "测试"},{"id": "61dd216eb3aa31714094dfda","checkId": "14547","white": false,"title": "Ensure 'MSS: (ScreenSaverGracePeriod) The time in seconds before the screen saver grace period expires (0 recommended)' is set to 'Enabled: 5 or fewer seconds'","result": null,"name": "测试"},{"id": "61dd216eb3aa31714094dfd9","checkId": "14546","white": false,"title": "Ensure 'MSS: (SafeDllSearchMode) Enable Safe DLL search mode (recommended)' is set to 'Enabled'","result": null,"name": "测试"},{"id": "61dd216eb3aa31714094dfd8","checkId": "14545","white": false,"title": "Ensure 'MSS: (DisableIPSourceRouting) IP source routing protection level (protects against packet spoofing)' is set to 'Enabled: Highest protection, source routing is completely disabled'","result": null,"name": "测试"},{"id": "61dd216eb3aa31714094dfd7","checkId": "14544","white": false,"title": "Ensure 'MSS: (DisableIPSourceRouting IPv6) IP source routing protection level (protects against packet spoofing)' is set to 'Enabled: Highest protection, source routing is completely disabled'","result": null,"name": "测试"},{"id": "61dd216eb3aa31714094dfd6","checkId": "14543","white": false,"title": "Ensure 'MSS: (AutoAdminLogon) Enable Automatic Logon (not recommended)' is set to 'Disabled'","result": null,"name": "测试"},{"id": "61dd216eb3aa31714094dfd5","checkId": "14542","white": false,"title": "Ensure Winpcap packet filter driver is not present","result": "passed","name": "测试"}],"pageNum": 1,"pageSize": 10,"size": 0,"startRow": 0,"endRow": 0,"pages": 8,"prePage": 0,"nextPage": 0,"isFirstPage": false,"isLastPage": false,"hasPreviousPage": false,"hasNextPage": false,"navigatePages": 0,"navigatepageNums": null,"navigateFirstPage": 0,"navigateLastPage": 0}}