Fortify file (.fpr file) to PDF convertion - code-coverage

Basically I am trying to generate the PDF file from the Fortify report file which is in .fpr formate.
Can any one suggest me some utility tool which can be accessed by the .bat file.
I am trying to execute the following command :
i.e,.. ReportGenerator -format pdf -f MyProject.pdf -source MyProject.fpr
Can anyone help me to generate the PDF file from the .fpr file??
Thanks in advance.

There is a command-line utility to generate an Report from the FPR file.
Currently there are two report generators: Legacy and BIRT. The BIRT report engine was introduced into Audit Workbench with version 4.40.
Here is an example using the BIRT Report engine to generate a DISA STIG report
BIRTReportGenerator -template "DISA STIG" -source HelloWorld_second.fpr
-output BirtReport.pdf -format PDF -showSuppressed --Version "DISA STIG 3.9"
-UseFortifyPriorityOrder
The different versions are specified in the SCA Users Guide.
Using the legacy one is a little more involved. The command is:
ReportGenerator -format pdf -f LegacyReport.pdf -source HelloWorld_second.fpr
-template DisaStig3.10.xml -showSuppressed -showHidden
You can either use one of the predefined template reports located in the /Core/config/reports directory or generate one using the Report Wizard and saving the template which gets stored in the C:\Users\<USER>\AppData\Local\Fortify\config\AWB-XX.XX\reports\ directory in Windows.
On Linux/Mac look at the configuration file <SCA Install Dir>/Core/config/fortify.properties for the com.fortify.WorkingDirectory property, this is where the reports will be stored

Report generator is part of Audit workbench installation. Please make sure to install Audit workbench as part of Fortify SCA installation.

Related

Fortify audit workbench stoped working after Big Sur is update

I am using fortify audit workbench, and I have generated fpr file and when I try open it in fortify a window show operation in progress and keep like this
Nothing changed but updating Big Sur is image of the error showing
A decent workaround is to use the pdf report generator to turn your fpr into a pdf:
ReportGenerator -format pdf -f MyReport.pdf -source MyApp.fpr -showSuppressed -showHidden

How to setup and use lua squish?

I know it can be a dumb question , but how i can setup and use squish to compile my lua scripts.
I'm tired searching google and i can't find anything to explain me how to use
Someone can point me on right direction
I use lua 5.1 on windows OS
Thank you
First download and unpack the archive containing Squish's code. Alternatively, you may clone the repository. The change into the directory containing the squish.lua file. You will also need a Lua 5.1 executable (which I'll assume is called lua51.exe in the commands below).
The Unix Makefile in the archive contains roughly the following commands (translated to Windows) to build the squish tool:
bootstrap squish tool (without gzip compression or debug support for now)
lua51.exe squish.lua -q --with-minify --with-uglify --with-compile --with-virtual-io
prepare gzip compression modules
lua51.exe squish -q gzip
prepare debug support
lua51.exe squish -q debug
build final tool (with gzip compression and debug support)
lua51.exe squish -q --with-minify --with-uglify --with-compile --with-virtual-io --with-gzip --with-debug
The result is a Lua script squish (without the .lua extension) in the current directory. To use it you have to write a squishy file for your project and execute a command line similar to the last one above in the directory containing your squishy file.

How to add watermark to the doxygen generated PDF file

I am generating the PDF file using doxygen on a Linux system.
I am using "make" in the latex folder. This generates the refman.pdf. I want to add a "INTERNAL ONLY" watermark to this. How can I achieve this? Is there a configuration item in the doxygen config file?

How do I generate a report that has all the issues?

I have a Fortify FPR scan file that I open in AWB. I want to generate a report that has all the instances of where the issues are found. When I generate a report it generates the report with the issues by type and their count and below the type I also get names and code snippets of some files where the issue was found. I want to generate s report which has names and code snippets from all files in which issues were found. Is there any way to do that?
The template files can be found in Core/config/reports of your fortify directory.
Copy DeveloperWorkbook.xml to a new file AllIssues.xml and near <title>Results Outline</title> edit limit="5" to limit="-1".
Then run:
ReportGenerator -template AllIssues.xml -format pdf -f output.pdf -source input.fpr
From the Audit Workbench, generate your report and under the 'Results Outline' panel Open up the Listings section and then uncheck the Limit number of issues in each group setting if checked.
had you look at the following command:
$ ReportGenerator -format PDF -f abcd.pdf -source abcd.fpr
Thanks,
Marcelo Muzilli

how to generate javadocs of my blackberry java files

I have developed one blackberry simple application and wants to generate javadocs of my source code. How to generate javadocs of my java file?
I don't know much about blackberry, but if they are (at least syntactically) normal Java source files, you can use this command:
javadoc -d outputdir -sourcepath src my.first.package my.second.package ...
Have a look at the Javadoc documentation for more options. It might be that you have to add the blackberry library jar files with -classpath.

Resources