基線事件三級列表查詢
更新時間 2025-05-08 16:01:47
最近更新時間: 2025-05-08 16:01:47
分享文章
接口功能介紹
用戶執行基線檢測后,展示具體基線包含的檢測項通過情況。
接口約束
此功能為收費功能。確認已經購買系統配額,并且開啟基線掃描配置。如果沒有購買配額,可按照頁面提示進行購買。如果沒有開啟防護,請在服務器列表頁開啟機器防護
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": "61dd216eb3
狀態碼
請參考
錯誤碼
請參考