KSC Open API
Kaspersky Security Center API description
Settings for host status calculation

Below is a list of parameters that are used while calculating the host status ('Critical' or 'Warning').

"KLSRV_HSTSTAT_INHERITED"paramBoolStatus settings are inherited from parent. 
"KLSRV_HSTSTAT_INHERITABLE"paramBoolStatus settings may be inherited from parent.Read-only.
"KLSRV_HSTSTAT_LOCKED"paramBoolStatus settings are locked (by policy).Read-only.
"KLSRV_HSTSTAT_MASK"paramIntExtended status mask, bit set. 
"KLSRV_HSTSTAT_SP_RPT_INACTIVE"paramIntMaximum number of seconds RTP may stay in the 'not running' state without switching out the host from the OK status. 
"KLSRV_HSTSTAT_SP_VIRUSES"paramIntMaximum number of viruses. 
"KLSRV_HSTSTAT_SP_RPT_DIFFERS"paramInt

Set of bits. Each bit means allowable RTP state (bits are numbered from zero):

  • bit 16: RTP stopped
  • bit 17: RTP suspended
  • bit 18: RTP starting
  • bit 19: RTP is running in normal mode
  • bit 20: RTP is running in 'max protection mode'
  • bit 21: RTP is running in 'max speed mode'
  • bit 22: RTP is running in 'recommended mode'
  • bit 23: RTP is running in 'custom mode'
  • bit 24: RTP failed to run

 
"KLSRV_HSTSTAT_OLD_FSCAN"paramIntMaximum days ago full host scanning was completed. 
"KLSRV_HSTSTAT_OLD_AV_BASES"paramIntMaximum days ago anti-virus database was released for the host. 
"KLSRV_HSTSTAT_OLD_LAST_CONNECT"paramIntMaximum days ago the host connected to Administration Server. 
"KLSRV_HSTSTAT_OLD_LICENSE"paramIntMaximum days before the license expires. 
"KLSRV_HSTSTAT_SP_UNCURED"paramIntMaximum number of uncured objects. 
"KLSRV_HSTSTAT_SP_BOOT_REASONS"paramInt

Set of bits, each bit means reboot reason:

  • bit 0: Unspecified reason
  • bit 1: The anti-virus product is not functional until system reboot
  • bit 2: Reboot is needed to complete update procedure but the anti-virus product is functional
  • bit 3: Reboot is needed to initiate update procedure
  • bit 4: Reboot is needed to complete scanning or curing
  • bit 5: Reboot is needed to complete remote installation/uninstallation task(s)
  • bit 6: Reboot is needed to complete encryption process

 
"KLSRV_HSTSTAT_SP_BOOT_EXPIRED"paramIntMaximum number of seconds after system reboot has been requested. 
"KLSRV_HSTSTAT_SP_VULNERABILITY"paramInt

Severity rating of the vulnerability, set of bits:

  • bit 0: Warning
  • bit 1: High
  • bit 2: Critical

 
"KLSRV_HSTSTAT_SP_VULN_FLAGS"paramInt

Vulnerability extra properties, set of bits:

  • bit 0: Patching of the vulnerability is impossible
  • bit 1: A patch to fix the vulnerability is assigned

 
"KLSRV_HSTSTAT_SP_UASEARCH"paramIntMaximum days after the operating system updates search has been completed. 
"KLSRV_HSTSTAT_SP_ENCRYPTION"paramInt

A bit set. Each bit is an allowable encryption state:

  • bit 0: Encryption is not supported
  • bit 1: No encryption rules
  • bit 2: Encrypting process is running
  • bit 3: Encrypting process has been cancelled
  • bit 4: Encrypting process failed
  • bit 5: Reboot is required to complete encryption

 

"KLSRV_HSTSTAT_SP_DISKSPACE"paramIntMaximum number of free space, in megabytes