KSC Open API
Kaspersky Security Center API description
Task states
StateDescription
0Task was just created.
1Task is running.
2Task is suspended.
3Task failed.
4Task is completed.
5Task failed via timeout.
6Task is reloading.
7Task is inactive.