SAST代审工具Fority进阶使用
去除扫描静态文件
1 | \Fortify\Core\config\fortify-sca.properties |
找到com.fortify.sca.DefaultFileTypes行 进行去除
1 | jsp jspx jspf html js |
扫描maven项目
refer:https://anemone.top/whitebox-Fortify%E4%BD%BF%E7%94%A8%E5%88%9D%E6%8E%A2/
若为maven项目,先在.../Fortify/Fortify_SCA_and_Apps_{version}/plugins/maven
文件夹下找到maven-plugin-bin.zip
解压,然后maven clean install
安装到本地仓库:
1 | unzip maven-plugin-bin.zip -d /tmp/maven-plugin-bin |
然后在用ScanWizard时第二步,勾选Maven,再简单配置一下maven即可
maven扫描测试WebGoat
1 | Fortify_Apps_and_Tools_23.2.0\bin\auditworkbench.cmd |
__END__