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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 23:20:01  来源:igfitidea点击:

Fortify Error : "No rules file found"

javafortify

提问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

下载强化规则文件

  1. Navigate to the binfolder of your fortify installation
  2. Enter fortifyupdate.cmd.
  1. 导航到fortify 安装的bin文件夹
  2. 输入 fortifyupdate.cmd。

If your network uses a proxy server, before running fortifyupdate.cmd specify your proxy server as follows

如果您的网络使用代理服务器,请在运行 fortifyupdate.cmd 之前按如下方式指定您的代理服务器

  1. Navigate to the binfolder of your fortify installation
  2. Enter scapostinstall
  3. Enter 2 to select Settings
  4. Enter 2 to select Proxy Server Host
  5. Enter the name of the proxy server
  6. Enter 3 to select Proxy Server Port.
  7. Enter the proxy server's port number.
  8. Exit and run fortifyupdate.cmd
  1. 导航到fortify 安装的bin文件夹
  2. 进入 scapostinstall
  3. 输入2选择设置
  4. 输入2选择代理服务器主机
  5. 输入代理服务器的名称
  6. 输入 3 以选择代理服务器端口。
  7. 输入代理服务器的端口号。
  8. 退出并运行 fortifyupdate.cmd

回答by Ram

Reinstalling fortify by connecting to client vpn resolved the issue.

通过连接到客户端 vpn 重新安装 fortify 解决了该问题。