You can start a Custom Scan task on a protected virtual machine by specifying the list of files to scan, the file names (or paths to them) or templates of file names (or paths to them) using masks. You can also start a Full Scan of all objects in the file system of the protected virtual machine.
The /dev, /sys, /proc and /.snapshots file system objects are excluded from scanning.
You can start a scan task with additional settings. These settings allow logging task-related events to file or using configuration file settings when running a task.
To start a task, execute the following command:
lightagent scan [<path to file or folder>] [<path to file or folder>...] [--@:<filelist.lst>] [--R[A]:<path to report file>]\
[--C:<path to configuration file>]
where:
<path to file or folder> – path to file or folder that you want to scan for viruses and other malware. You can use masks to specify the path to a file or folder. If you do not specify the paths to files or folders, the application scans all objects of the file system of the protected virtual machine.
@:<filelist.lst> – list of files to scan. In the text file, specify the files or folders that you want to scan for viruses and other malware by typing them from a new line.
R:<path to report file> – log in the report file only important events occurring during the scan task. Specify the full path to the file for logging events. The application creates this file and logs events in it.
RA:<path to report file> – log in the report file all events occurring during the scan task. Specify the full path to the file for logging events. The application creates this file and logs events in it.
C:<path to configuration file> – use the settings specified in the configuration file during the scan task. Specify a full path to the configuration file.