简体   繁体   English

强化重新扫描问题

[英]Fortify Rescan issues

Fortify Real world scenario issue: 强化现实世界场景问题:

The real issues I consistently having is not in actual remediation of fortify issues, but rather in being reliably suppressed any finding that are determined to be false-positives. 我始终存在的真正问题不是在实际纠正要塞问题上,而是在可靠地压制任何被确定为错误肯定的发现时。 I can suppress them in the report - that I confident about that, but that still doesn't prevent the same issues from being identified in a subsequent scan of the code. 我可以在报告中隐瞒它们-我对此很有信心,但这仍然不能防止在随后的代码扫描中发现相同的问题。 And that, in turn, involves significant time on my part to suppress them EVERYtime we run a scan. 反过来,每次我们进行扫描时,都要花费大量时间来抑制它们。

So I may be deploying changes to the same code files several times throughout the year. 因此,我可能会在一年中多次将更改部署到相同的代码文件中。 so every time I need to spend some significant time to remove false positive on the code. 因此,每次我需要花费大量时间来消除代码上的误报。

My flow: - 我的流程:-

scan --> identify fasle positive --> supress in report --> deploy --> again make changes --> scan --> identify fasle positive -->supress in report --> deploy. 扫描->确认正面->报告中的抑制->部署->再次进行更改->扫描->确认正面->报告中的抑制->部署。 this process repeats.. 这个过程重复。

Is there any way to overcome these kinds of repeated problems so that will help me a lot. 有什么方法可以克服这些反复出现的问题,从而对我有很大帮助。

The problem I think you're experiencing requires merging the FPR (Fortify Project Report). 我认为您遇到的问题需要合并FPR(强化项目报告)。 If you perform analysis in one FPR and then do another scan, there needs to be a merge to bring the previous analysis forward. 如果您在一个FPR中执行分析然后进行另一次扫描,则需要进行合并以使先前的分析向前进行。 Some of the Fortify products do this automatically. 一些Fortify产品会自动执行此操作。 Software Security Center, VS Studio Plugin, and Eclipse Plugin automatically merge the new FPR with the old FPR. 软件安全中心,VS Studio插件和Eclipse插件会自动将新的FPR与旧的FPR合并。 You can also manually merge the FPR file using Audit Work Bench (Its under Tools>Merge Audit Projects) or you can use the command line using the FPR Utility. 您也可以使用Audit Work Bench手动合并FPR文件(位于“工具”>“合并审计项目”下),也可以使用FPR Utility使用命令行。 The command would be: 该命令将是:

FPRUtility -merge -project <primary.fpr> -source <secondary.fpr> -f <output.fpr>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM