KSC Open API
Kaspersky Security Center API description
Bitmasks of host task states
  • 0x01 - "Pending" - The actual group synchronization associated with the task is not delivered to the target host.
  • 0x02 - "Running".
  • 0x04 - "Finished successfully".
  • 0x08 - "Finished with warning".
  • 0x10 - "Failed".
  • 0x20 - "Scheduled" - The task is ready to start (manually or by the schedule) on the target host.
  • 0x40 - "Paused".

This masks uses the state_code parameter. See Host task state attributes.