The following application tasks are provided for managing Kaspersky Endpoint Security using the command line:
kesl-control --scan-file
command. As a result of the command execution, the application creates and starts a temporary file scan task. kesl-control [-T] --scan-container
command. As a result of the command execution, the application creates and starts a temporary Container Scan task.Each application task has a name used on the command line, an ID, and a type (see the table below).
IDs are unique for all tasks, including deleted tasks. The application does not reuse the identifiers of the deleted tasks. The identifier of a new task is the next successive number to the identifier of the latest created task.
Task names are not case-sensitive.
During installation of the application, predefined tasks are created. These tasks cannot be deleted. Each predefined task has a name and ID.
Tasks that you create while working with the application are called user tasks. When you create the task, you specify the name for it. IDs for user tasks are defined and assigned by the application when the task is created. IDs for user tasks are starting from 100.
During operation, the application creates temporary scan tasks. Temporary task names and IDs are assigned by the application. Temporary tasks are automatically deleted when completed.
Application tasks
Task |
Task name in command line |
Task ID |
Task type |
---|---|---|---|
File_Threat_Protection |
1 |
OAS |
|
Scan_My_Computer |
2 |
ODS |
|
Malware Scan (user task) |
user-defined |
starting from 100 |
ODS |
Scan_File |
3 |
ODS |
|
Critical_Areas_Scan |
4 |
ODS |
|
Update |
6 |
Update |
|
Update (user task) |
user-defined |
starting from 100 |
Update |
Rollback |
7 |
Rollback |
|
Rollback (user task) |
user-defined |
starting from 100 |
Rollback |
Licensing |
License |
9 |
License |
Backup |
10 |
Backup |
|
System_Integrity_Monitoring |
11 |
OAFIM |
|
System Integrity Monitoring (user task) |
user-defined |
starting from 100 |
ODFIM |
Firewall_Management |
12 |
Firewall |
|
Anti_Cryptor |
13 |
AntiCryptor |
|
Web_Threat_Protection |
14 |
WTP |
|
Device_Control |
15 |
DeviceControl |
|
Removable_Drives_Scan |
16 |
RDS |
|
Network_Threat_Protection |
17 |
NTP |
|
Container_Scan |
18 |
ContainerScan |
|
Container Scan (user task) |
user-defined |
starting from 100 |
ContainerScan |
Custom_Container_Scan |
19 |
ContainerScan |
|
Behavior_Detection |
20 |
BehaviorDetection |
|
Application_Control |
21 |
AppControl |
|
Inventory_Scan |
22 |
InventoryScan |
|
Inventory (user task) |
user-defined |
starting from 100 |
InventoryScan |
Kaspersky Endpoint Detection and Response (KATA) Integration |
KATAEDR |
24 |
KATAEDR |
Web_Control |
26 |
WebControl |
You can perform the following actions with tasks:
If the application is used in Light Agent mode to protect virtual environments, the settings of the predefined Update task also cannot be edited.