How to configure exclusions for on-demand tasks in Kaspersky Endpoint Security for Linux ARM Edition
Any creatable task has default settings that can be used for creation. For more information, see Online Help.
File format for task settings is «ini».
- The command for creation of an on-demand task with default settings and name ‘my_ods’:
kesl-control --create-task my_ods --type ODS
- Get the settings as described in the Online Help article:
kesl-control --get-settings my_odsor to file
kesl-control --get-settings my_ods --file ods.ini
- Modify the ods.ini file ods.ini and push it back:
kesl-control --set-settings my_ods --file ods.ini
On-demand tasks and the File Monitoring task (id = 1) have several types of exclusions:
- by file names
- by directory paths
- by threat names
Exclusions by file names are described in this Online Help article, see options UseExcludeMasks and ExcludeMasks.
Also, the options of tasks could be changed by a direct command.
kesl-control --set-settings my_ods UseExcludeMasks=Yes ExcludeMasks.item_0000=myfile
Excludes from checking all files with name ‘myfile’.
Exclusions by directory paths are described in this Online Help article.
The most convenient way of creating a new block of options is using the command described in this Online Help article.
kesl-control --set-settings my_ods --add-exclusion /my/path
The command excludes from checking the whole path /my/path.
Exclusions by threat names are described in this Online Help article, see UseExcludeThreats and ExcludeThreats.