Can a CIS-CAT Pro Assessor centralized script also generate a csv or html report?
Product Name
CIS-CAT Pro Assessor v4
Product Version
all
Date
Jul 21, 2020
Ā
Problem
We use the cis-cat-centralized-ccpd.bat file to add assessment to CIS-CAT Pro Dashboard but we also want to generate an assessment csv (or html) file at the same time.
Ā
Solution
This example will create an assessment .csv file in the configured directory for the cis-cat-centralized-ccpd.bat. Edit that centralized batch file with the following changes;
Add the -csv option to
SET CISCAT_OPTS=-narf -ui
Add this new line to the .bat file
SET ReportsPath=C:\CIS\Reports
Modify this line to remove everything after the =
SET mReportsPath=%MapDrive%%ReportsPath%
Append the
-rd %ReportsPath%
option to those already inSET FULL_CISCAT_CMD=
Modify
ECHO Reports: %NetworkShare%\%ReportsPath%
to remove %NetworkShare%\
Ā