KSC Open API
Kaspersky Security Center API description
array HostTagsApi::GetHostTags ( wstring  szwHostId,
params  pParams = NULL 
)

Get tags for the host.

Parameters:
szwHostId[in] (wstring) - host identifier ( guid )
pParams(params) reserved.
Return values:
ppHostTags(array) collection of (params) objects where each of them has the following structure:
  • "KLHST_TagValue" (wstring). Value of the tag
  • "KLHST_IS_TAG_SET_BY_PRODUCT" (boolean). true if tag has been set by product
  • "KLHST_IS_TAG_SET_BY_HOSTTAGRULE" (boolean). true if tag has been set by host tag rule