Reputation: 77
I'm new to Fortify. I need to add Fortify version and Fortify rules pack version to PDF Fortify report?
I need to add that command to template , such that while running reportGenerator it will pick dynamically the version number and update the PDF, Instead of harcoding the Fortify version.
Could you please let us know the command to check the Fortify version and rules pack version (Not from GUI, through console mode or command line)
Thanks.
Upvotes: 0
Views: 14857
Reputation: 538
grep -n -binary Version= FORTIFY_INSTALL_ROOT/Core/config/rules/*.bin
this will produce output looks like FORTIFY_INSTALL_ROOT/Core/config/rules/core_abap.bin:3:40:Version=2014.4.0.0008
and 2014.4.0.0008 is the rulpack version.
Upvotes: 1
Reputation: 556
For SCA:
sourceanalyzer -version
For checking the rulepacks, either run fortifyupdate or:
cd /Core/config/rules/ head -n11 *.bin
Upvotes: 2
Reputation: 394
HP SCA version:
sourcenanalyzer -v
Fortify Static Code Analyzer 5.13.0.0065
Upvotes: 0