Java 强化错误:“找不到规则文件”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18209159/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Fortify Error : "No rules file found"
提问by blue-sky
When I run a Fortify analysis against a Java project I receive this error :
当我对 Java 项目运行 Fortify 分析时,我收到此错误:
[warning]: No rules files found
[error]: No rules files found
Where can I configure the rules file ?
我在哪里可以配置规则文件?
采纳答案by bvamos
The folder \Core\config\rules contains the rules files which can be dowloaded from update.fortify.com by invoking the command (on Windows):
文件夹 \Core\config\rules 包含可以通过调用命令(在 Windows 上)从 update.fortify.com 下载的规则文件:
bin\fortifyupdate.cmd
回答by Anwuna
To download the fortify rules files
下载强化规则文件
- Navigate to the binfolder of your fortify installation
- Enter fortifyupdate.cmd.
- 导航到fortify 安装的bin文件夹
- 输入 fortifyupdate.cmd。
If your network uses a proxy server, before running fortifyupdate.cmd specify your proxy server as follows
如果您的网络使用代理服务器,请在运行 fortifyupdate.cmd 之前按如下方式指定您的代理服务器
- Navigate to the binfolder of your fortify installation
- Enter scapostinstall
- Enter 2 to select Settings
- Enter 2 to select Proxy Server Host
- Enter the name of the proxy server
- Enter 3 to select Proxy Server Port.
- Enter the proxy server's port number.
- Exit and run fortifyupdate.cmd
- 导航到fortify 安装的bin文件夹
- 进入 scapostinstall
- 输入2选择设置
- 输入2选择代理服务器主机
- 输入代理服务器的名称
- 输入 3 以选择代理服务器端口。
- 输入代理服务器的端口号。
- 退出并运行 fortifyupdate.cmd
回答by Ram
Reinstalling fortify by connecting to client vpn resolved the issue.
通过连接到客户端 vpn 重新安装 fortify 解决了该问题。