KSC Open API
Kaspersky Security Center API description
|
The following values are defined:
Value | Mnemonic name | Description |
---|---|---|
-1 | KLCLOUD_PLATFORM_UNKNOWN | Unknown platform |
2 | KLCLOUD_PLATFORM_WINDOWS | OS Windows |
6 | KLCLOUD_PLATFORM_LINUX | OS Linux |
Each cloud is set by the settings described on Cloud settings. The main setting is "CLOUD_TYPE". See Cloud type. To edit clouds settings it is needed to write into Section KLSRV_KLCLOUD attributes. To get clouds settings also use SrvCloud.GetCloudsInfo
The scanner of a cloud receives treelike structure where each leaf-node is a "cloud host". Other nodes are called "cloud containers". To get these tree use srvviews SrvView List of server cloud containers and SrvView List of server cloud hosts. Also to get cloud host data use SrvCloud.GetCloudHostInfo
Also each "cloud host" is the common host. See value of "KLHST_CLOUD_HOST_TYPE" attributes. There are some other special attributes that can be used for cloud hosts: "KLHST_CLOUD_CONTAINER", "KLHST_CLOUD_CONTAINER_GP", ...