后門檢測白名單根據id查詢接口
更新時間 2025-07-09 15:36:14
最近更新時間: 2025-07-09 15:36:14
分享文章
接口功能介紹
后門檢測-白名單根據id查詢接口。
接口約束
此功能為收費功能。確認已經購買服務器配額,并且開啟服務器防護。如果沒有購買配額,可按照頁面提示進行購買。如果沒有開啟防護,請在服務器列表頁開啟機器防護。
URI
GET /v1/backdoor/queryWhite/*
路徑參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| id | 是 | String | id |
Query參數
無
請求參數
請求頭header參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| regionid | 是 | String | 資源池id | 100054c0416811e9a6690242ac110002 | |
| urlType | 是 | String | 請求地址類型。CTAPI | CTAPI | |
| Content-Type | 是 | String | Content-Type | application/json |
請求體body參數
無
響應參數
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| statusCode | String | 狀態碼 200-成功 | ||
| error | String | 返回碼 CTCSSCN_000000:成功 CTCSSCN_000001:失敗 CTCSSCN_000003:用戶未簽署協議,安全衛士系統無法正常使用 CTCSSCN_000004:鑒權錯誤 CTCSSCN_000005:用戶沒有付費版配額,功能不可用 |
CTCSSCN_000000 | |
| message | String | 返回信息 | 成功 | |
| returnObj | Object | 返回對象 | data |
表 data
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| id | String | 主鍵 | ||
| ctyunUserId | String | 主機名稱 | ||
| alertName | String | 告警類型名稱 | ||
| alertType | String | 告警類型 | ||
| description | String | 描述 | ||
| agentGuids | Array of Strings | 主機列表id | ||
| hostCount | Integer | 同一用戶,相同告警類型統計 | ||
| status | String | 標記狀態,狀態 0:未處理1:已處理 | ||
| remark | String | 備注 | ||
| hostsDtoList | Array of Objects | hostsDtoList | hostsDtoList |
表 hostsDtoList
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| id | String | 主鍵 | ||
| custName | String | 主機名稱 | ||
| agentGuid | String | agentGuid主機id | ||
| privateIp | String | 私網ip | ||
| osType | String | 操作系統類型 linux/windows | ||
| publicIp | String | 公網ip |
枚舉參數
無
請求示例
請求url
無
請求頭header
{"regionid": "100054c0416811e9a6690242ac110002","Content-Type":"application/json","urlType": "CTAPI"}
請求體body
無
響應示例
{"statusCode": "200","error": "CTCSSCN_000000","message": "查詢成功!","returnObj": {"id": 4,"agentGuidList": ["123"],"hostsDtoList": [{"custName": "win2012-az1-2","agentGuid": "6910579D-1477-4966-AD0B-E9CDF52D1E0B","privateIp": "192.168.0.207","osType": "linux","publicIp": null}],"ctyunUserId": "1","alertName": "check_dev","alertType": "check_dev","description": "測試數據","hostCount": 1}}
狀態碼
請參考
錯誤碼
請參考