line numbers - How do you synchornize Fortify report with updated source code? -




my project's source files have changed since last fortify scan made. audit workbench shows issues using new source files causing mismatch. mismatch persists after run scan again fortify project. seems way re-align reported issues correct source code perform scan in new fortify project. not desirable since have re-audit issues have been audited in original project.

is there way fortify re-assign line numbers stored issues match changes made in source files?

there 2 different things going on here.

1) when open fpr, audit workbench on current hard drive see if source code resides on (it knows absolute file paths of code scanned). if finds source code, use display when issue selected instead of using source code has inside of fpr (i assume because of performance).

since have modified source code after scan, need select tools -> extract source code... menu , extract source code temporary location (you can delete later). when happens, audit workbench use code display in audit workbench.

2) mentioned having re-audit issues when scan again. when have new scan open in audit workbench select tools -> merge audit projects... menu. select audited fpr file.

this merge 2 fprs , carryover previous comments , audit tags issues exist in both fprs.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -