kesl-control --get-task-list
This command outputs a list of existing tasks.
Command syntax
kesl-control [-T] --get-task-list [--json]
Arguments and keys
--json
is specified to output the settings in JSON format.
kesl-control --get-task-state
This command outputs the status of the specified task.
Command syntax
kesl-control [-T] --get-task-state <
task ID/name
> [--json]
Arguments and keys
<
task ID/name
>
is the ID assigned to the task at the time of its creation, or the name of the task in the command line.
--json
is specified to output the settings in JSON format.
kesl-control --create-task
This command creates a task of the specified type with the default settings or settings specified in a configuration file.
Command syntax
Create a task with the default settings:
kesl-control [-T] --create-task <
task name
> --type <
task type
>
Create a task with the settings from a configuration file:
kesl-control [-T] --create-task <
task name
> --type <
task type
> --file <
path to the configuration file
> [--json]
Arguments and keys
<
task name
>
is the name that you specify for the new task.
<
task type
>
is the identifier for the type of the created task.
--file <
configuration file path
>
: the full path to the configuration file to import settings from.
--json
is specified to import the settings from the configuration file in JSON format. If the --json
key is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.
kesl-control --delete-task
This command deletes a task.
Command syntax
kesl-control [-T] --delete-task <
task ID/name
>
Arguments and keys
<
task ID/name
>
is the ID assigned to the task at the time of its creation, or the name of the task in the command line.
kesl-control --start-task
This command starts a task.
Command syntax
kesl-control [-T] --start-task <
task ID/name
> [-W] [--progress]
Arguments and keys
<
task ID/name
>
is the ID assigned to the task at the time of its creation, or the name of the task in the command line.
[-W]
: enable current events output.
[--progress]
: display task progress.
kesl-control --stop-task
This command stops a task.
Command syntax
kesl-control [-T] --stop-task <
task ID/name
> [-W]
Arguments and keys
<
task ID/name
>
is the ID assigned to the task at the time of its creation, or the name of the task in the command line.
[-W]
: enable current events output.
kesl-control --suspend-task
This command pauses a task.
Command syntax
kesl-control [-T] --suspend-task <
task ID/name
>
Arguments and keys
<
task ID/name
>
is the ID assigned to the task at the time of its creation, or the name of the task in the command line.
kesl-control --resume-task
This command resumes a task.
Command syntax
kesl-control [-T] --resume-task <
task ID/name
>
Arguments and keys
<
task ID/name
>
is the ID assigned to the task at the time of its creation, or the name of the task in the command line.
kesl-control --scan-file
This command creates and runs a custom scan task.
Command syntax
kesl-control [-T] --scan-file <
path
> [--action <
action
>]
Arguments and keys
<
path
>
: the path to the file or directory to scan. You can specify multiple paths by separating them with a space.
--action <
action
>
is the action to be performed by the application on the infected objects. If you do not specify the --action
key, the application performs the recommended action.
kesl-control --scan-container
This command creates and runs a custom container or image scan task.
Command syntax
kesl-control [-T] --scan-container <
container/image
[:
tag
]>
Arguments and keys
<
container/image
[:
tag
]>
: container/image ID/name You can use masks to scan several objects.