Firegen provides a command-line version of the analysis engine that can be used to scripting or scheduling with special requirements that exceeds the default scheduler service capabilities. Firegen40CLI will also provide a more verbose output and it may be helpful for troubleshooting.

The use the command-line analyzer, open a command-line prompt, navigate to the location where Firegen is installed (by default: C:\Program Files\FireGen40) and type the command:

Firegen40CLI

This command will initiate the analysis of all the analysis profiles that have the “Include in scheduled analysis” option set.

By default, Firegen40CLI will open the report in the default browser as soon as the analysis is finished. For scheduled report this may not be the desired behaviour. To disable the opening of the report in the browser use the following command:

Firegen40CLI -nb

Firegen40CLI can also be used to analyze just on analysis profile, regardless of the “Include in the scheduled analysis” option, by using the “ap” argument. For example, if the name of the defined analysis profile is CiscoASA5585, to run the analysis use the following command:

Firegen40CLI -nb -ap CiscoASA5585

The command line arguments are also described using the /? option:

Firegen40CLI /?

provides the following information:

FireGen 4.0 Command Line Interface
Version: 4.x.x
Copyright: Altair Technologies Ltd. – www.altairtech.ca

Options:
-nb – Runs the analysis and does NOT open the report in the default browser.
-ap analysis_profile_name – Runs the analysis just for the specified profile name. If the profile name contains spaces, please use quotations marks for the name. To be used only with the -nb option.

Firegen40CLI can be used to run the analysis using all the options provided by the Microsoft Task Scheduler or any other scheduling software. The recommended way is to create a batch file (i.e. FiregenSchedule.cmd) and enter the full path to the Firegen40CLI:

“C:\Program Files\FireGen40\Firegen40CLI” -nb

Please enter the full path in quotation marks if it contains spaces (i.e. Program Files).