請求有關網路隔離以及具有 Kaspersky Endpoint Agent 元件的主機是否存在防禦規則的資訊

HTTP 方法 GET 用於建立請求以顯示網路隔離以及具有 Endpoint Agent 元件的主機是否存在防禦規則的資訊。

命令語法

GET "<Central Node 伺服器的 URL> :<連接埠,預設為 443>/kata/response_api/v1/<external_system_id> /settings?sensor_id=<sensor_id> &settings_type=<network_isolation 或 Prevention> "

如果請求成功處理,則會顯示具有 Endpoint Agent 元件的主機清單,其中列出了在處理請求時應用了防禦規則或網路隔離規則的主機。

設定

參數

類型

敘述

external_system_id

UUID

用於 Kaspersky Anti Targeted Attack Platform 授權的外部系統的唯一 ID。

sensor_id

UUID

具有 Endpoint Agent 元件的主機的唯一 ID。

settings_type

enum

規則類型:network_isolation 或預防。

使用開關輸入命令的範例

GET "https://10.10.0.22:443/kata/response_api/v1/15301050-0490-4A41-81EA-B0391CF21EF3/settings?sensor_id=DF64838B-B518-414B-B769-2B8BE341A2F0&settings_type=network_isolation"

Response

HTTP 代碼:200

格式:JSON

type Response []Settings

 

type Settings struct {

ExcludedRules array `json:"excludedRules"`

AutoTurnoffTimeoutInSec int `json:"autoTurnoffTimeoutInSec"`

}

 

返回值

返回碼

敘述

400

需要授權。

401

參數不正確。

404

未找到具有 Endpoint Agent 元件的指定主機。

500, 502, 503, 504

內部錯誤。稍後重複該請求。

頁面頂部