Fortify file (.fpr file) to PDF convertion

狂风中的少年 提交于 2021-02-07 14:20:30

问题


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.


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/37921252/fortify-file-fpr-file-to-pdf-convertion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!