A tool to allow CxSAST admins to send custom reports to a given audience and/or store pdf reports. The way CxSAST Custom Reporting is implemented allows admins to provide an ad-hoc report for a given scan, or even automate the generation by executing the application on a post-scan action.
- Generates a summary report giving a overview of a selected project
- Generates a consolidated report with the a aggregation of data of the last scan of multiple projects
- Send report emails to a given mailing list
- Generates reports as a pdf file
- Can be executed as a post-scan action
-
Clone the git repo and run
npm install
-
Go to the releases page and dowload the latest version
-
Extract the config folder a place it on your project root
-
Rename the
config.example.ini
file toconfig.ini
and edit it with your settings -
You are ready to run the folowing commands:
npm run dev:summary
If you want to test a Scan Summary
scan type.
Note: you will have to have to a valid (SAST) xml file on the root named report.xml
. This file wil be used to select the project and the scan id.
or
npm run dev:consolidated
In case you want to generate and develop Consolidated
report type.
Note: in this case the script will look for all the projects which their names starts with ReportTesting
. You can change this of course, see the scripts
section on the package.json
file.
See the Contributing page for more development/code submission details