Configuring advanced settings for scan tasks

January 10, 2024

ID 178906

You can use a configuration file to run a scan task or start this task with advanced settings, allowing to log task-related events to file.

To configure advanced scan settings, execute the following command:

lightagent scan [--R[A]:<path to the report file>][--C:<path to the configuration file>]

where:

  • R:<path to the report file> – save only important events that occur during the scan task in the report file. Specify the full path to the file for logging events. The application creates this file and logs events in it.
  • RA:<path to the report file> – save all events that occur during the scan task in the report file. Specify the full path to the file for logging events. The application creates this file and logs events in it.
  • C:<path to the configuration file> – use the settings specified in the configuration file during the scan task. Specify a full path to the configuration file.

    Examples:

    Run a scan task using the settings from the configuration file named config:

    lightagent scan --C:/temp/config

    Example of a configuration file with settings that prescribe a scan of a file named example, while saving information about events that occur during the scan in the file named report.log:

    ./example --RA:/tmp/report.log

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.