Contents
Commands for managing application tasks and settings
-T is a prefix indicating that the command belongs to the group of commands for managing application settings and tasks.
-N is a prefix indicating that the command belongs to the group of commands for managing secure connections scan settings.
kfl-control --export-settings
This command outputs all application settings to the console or exports to a configuration file. These settings include encrypted connections scan settings, general application settings, and task settings.
Command syntax
kfl-control [-T] --export-settings [--file <
configuration file path
>] [--json]
Arguments and options
--file <
configuration file path
>
is the full path to the configuration file where the application settings will be saved.
--json
is specified to output the settings in JSON format. If the --json
option is not specified, the settings are output in the INI format.
kfl-control --import-settings
This command imports all application settings from a configuration file, including encrypted connections scan settings, general application settings, and task settings.
Command syntax
kfl-control [-T] --import-settings -
-
file <
configuration file path
> [--json]
Arguments and options
--file <
configuration file path
>
is the full path to the configuration file from which you want to import settings into the application.
--json
is specified to import the settings from the configuration file in JSON format. If the --json
option is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.
Commands for managing general application settings
kfl-control --get-app-settings
The command outputs the current values of the general application settings to the console or a configuration file.
Command syntax
kfl-control [-T] --get-app-settings [--file <
configuration file path
>] [--json]
Arguments and keys
--file <
configuration file path
>
is the path to the configuration file where the application general settings will be written. If you do not specify the --file
option, settings will be output to the console.
If you specify the name of a file without its path, the file will be created in the current directory. If a file already exists in the specified path, it will be overwritten. If the specified directory does not exist, no configuration file will be generated.
--json
is specified to output the settings in JSON format. If the --json
option is not specified, the settings are output in the INI format.
kfl-control --set-app-settings
This command configures the general application settings via command options or by importing settings from a configuration file.
Command syntax
Define settings via command options:
kfl-control [-T] --set-app-settings <
option name
>=<
option value
> [<
option name
>=<
option value
>]
Define settings via a configuration file:
kfl-control [-T] --set-app-settings --file <
configuration file path
> [--json]
Arguments and options
<
option name
>=<
option value
>
: the name and value of a general application setting.
--file <
configuration file path
>
is the full path to the configuration file from which you want to import settings into the application.
--json
is specified to import the settings from the configuration file into the application in JSON format. If the --json
option is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.
Commands for managing task settings
kfl-control --get-settings
This command outputs the current settings for a specified task to the console or a configuration file.
Command syntax
kfl-control [-T] --get-settings <
task ID/name
> [--file <
configuration file path
>] [--json]
Arguments and options
<
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.
--file <
configuration file path
>
is the path to the configuration file into which the task settings will be written. If you do not specify the --file
option, settings will be output to the console.
If you specify the name of a file without its path, the file will be created in the current directory. If a file already exists in the specified path, it will be overwritten. If the specified directory does not exist, no configuration file will be generated.
--json
is specified to output the settings in JSON format. If the --json
option is not specified, the settings are output in the INI format.
kfl-control --set-settings
This command defines the settings for a specified task via command options or by importing settings from a configuration file.
Command syntax
Define settings via command options:
kfl-control [-T] --set-settings
<
task name/ID
> <
setting name
>=<
setting value
> [<
setting name
>=<
setting value
>] [--add-path <
path
>] [--del-path <
path
>] [--add-exclusion <
path
>] [--del-exclusion <
path
>]
Define settings via a configuration file:
kfl-control [-T] --set-settings
<
task ID/name
> --file <
configuration file path
> [--json]
Arguments and options
<
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.
<
setting name
>=<
setting value
>
is the name and value of one of the task settings.
--add-path <
path
>
adds the path to the directory with the objects to be scanned.
--del-path <
path
>
deletes the path to the directory with the objects to be scanned.
--add-exclusion <
path
>
: add the path to the directory with objects to exclude from scanning.
--del-exclusion <
path
>
deletes the path to the directory with the objects to be excluded.
--file <
configuration file path
>
is the full path to the configuration file from which the task settings will be imported.
--json
is specified to import the settings from the configuration file in JSON format. If the --json
option is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.
kfl-control --set-to-default
The command restores the default settings for the specified task.
Command syntax
kfl-control [-T] --set-settings
<
task ID/name
> --set-to-default
Arguments and options
<
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.
kfl-control --get-schedule
The command outputs the current schedule of the specified task to the console or a configuration file.
Command syntax
kfl-control [-T] --get-schedule <
task ID/name
> [--file <
configuration file path
>] [--json]
Arguments and options
<
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.
--file <
configuration file path
>
is the path to the configuration file in which the settings for the task run schedule will be written. If you do not specify the --file
option, settings will be output to the console.
If you specify the name of a file without its path, the file will be created in the current directory. If a file already exists in the specified path, it will be overwritten. If the specified directory does not exist, no configuration file will be generated.
--json
is specified to output the settings in JSON format. If the --json
option is not specified, the settings are output in the INI format.
kfl-control --set-schedule
The command defines a schedule for the specified task via command options or by importing settings from a configuration file.
Command syntax
Define settings via command options:
kfl-control [-T] --set-schedule <
task ID/name
> <
setting name
>=<
setting value
> [<
setting name
>=<
setting value
>]
Define settings via a configuration file:
kfl-control [-T] --set-schedule <
task ID/name
> --file <
configuration file path
> [--json]
Arguments and options
<
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.
<
setting name
>=<
setting value
>
is the name and value of one of the settings for the task schedule.
--file <
configuration file path
>
is the full path to the configuration file from which the task schedule settings will be imported.
--json
is specified to import the settings from the configuration file in JSON format. If the --json
option is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.
Commands for managing tasks
kfl-control --get-task-list
This command outputs a list of existing tasks.
Command syntax
kfl-control [-T] --get-task-list [--json]
Arguments and options
--json
is specified to output the settings in JSON format.
kfl-control --get-task-state
This command outputs the status of the specified task.
Command syntax
kfl-control [-T] --get-task-state <
task ID/name
> [--json]
Arguments and options
<
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.
kfl-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:
kfl-control [-T] --create-task <
task name
> --type <
task type
>
Create a task with the settings from a configuration file:
kfl-control [-T] --create-task <
task name
> --type <
task type
> [--file <
configuration file path
>] [--json]
Arguments and options
<
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
option is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.
kfl-control --delete-task
This command deletes a task.
Command syntax
kfl-control [-T] --delete-task <
task ID/name
>
Arguments and options
<
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.
kfl-control --start-task
This command starts a task.
Command syntax
kfl-control [-T] --start-task <
task ID/name
> [-W] [--progress]
Arguments and options
<
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.
kfl-control --stop-task
This command stops a task.
Command syntax
kfl-control [-T] --stop-task <
task ID/name
> [-W]
Arguments and options
<
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.
kfl-control --suspend-task
This command pauses a task.
Command syntax
kfl-control [-T] --suspend-task <
task ID/name
>
Arguments and options
<
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.
kfl-control --resume-task
This command resumes a task.
Command syntax
kfl-control [-T] --resume-task <
task ID/name
>
Arguments and options
<
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.
kfl-control --scan-file
This command creates and runs a custom scan task.
Command syntax
kfl-control [-T] --scan-file <
path
> [--action <
action
>]
Arguments and options
<
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
option, the application performs the recommended action.
Commands for managing encrypted connections scan settings
-N is a prefix indicating that the command belongs to the group of commands for managing secure connections scan settings.
kfl-control -N --query
The command outputs lists of exclusions from encrypted connections scanning:
- a list of exclusions added by the user;
- a list of exclusions added by the application;
- list of exclusions received from the application databases.
Command syntax
kfl-control -N --query user
kfl-control -N --query auto
kfl-control -N --query kl
kfl-control --clear-web-auto-excluded
This command clears the list of domains that the application has automatically excluded from scanning.
Command syntax
kfl-control -N --clear-web-auto-excluded
kfl-control --get-net-settings
The command outputs the current encrypted connections scan settings to the console or a configuration file.
Command syntax
kfl-control [-N] --get-net-settings [--file <
configuration file path
>] [--json]
Arguments and options
--file <
configuration file path
>
: the path to the configuration file to output the encrypted connections scan settings to. If you do not specify the --file
option, settings will be output to the console.
If you specify the name of a file without its path, the file will be created in the current directory. If a file already exists in the specified path, it will be overwritten. If the specified directory does not exist, no configuration file will be generated.
--json
is specified to output the settings in JSON format. If the --json
option is not specified, the settings are output in the INI format.
kfl-control --set-net-settings
The command configures the encrypted connections scan settings with command options or by importing settings from a configuration file.
Command syntax
Define settings via command options:
kfl-control [-N] --set-net-settings <
setting name
>=<
setting value
> [<
setting name
>=<
setting value
>]
Define settings via a configuration file:
kfl-control [-N] --set-net-settings --file <
configuration file path
> [--json]
Arguments and options
<
option name
> = <
option value
>
: the name and value of an encrypted connections scan option.
--file <
configuration file path
>
: the full path to the configuration file to import encrypted connections scan settings from.
--json
is specified to import the settings from the configuration file into the application in JSON format. If the --json
option is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.
kfl-control --list-certificates
This command outputs a list of trusted root certificates.
Command syntax
kfl-control [-N] --list-certificates
kfl-control --add-certificate
This command adds a certificate to the list of trusted root certificates.
Command syntax
kfl-control [-N] --add-certificate <
path to certificate
>
Arguments and options
<
path to certificate
>
is the path to the certificate file that you want to add (PEM or DER format).
kfl-control --remove-certificate
This command removes a certificate from the list of trusted root certificates.
Command syntax
kfl-control [-N] --remove-certificate <
certificate subject
>