KSC Open API  13.1
Kaspersky Security Center API description
Instance platform type in public cloud

The following values are defined:

ValueMnemonic nameDescription
-1KLCLOUD_PLATFORM_UNKNOWNUnknown platform
2KLCLOUD_PLATFORM_WINDOWSOS Windows
6KLCLOUD_PLATFORM_LINUXOS 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", ...