On Tuesday, November 12, as part of a company wide initiative to bring all corporate websites under the OpenText brand, the Community will be down briefly around 11am Eastern / 8am Pacific as we transition to a new domain name.  The community will be offline while we make the change and when it comes back online it will be located at community.opentext.com and the old domain will redirect to this new location.  Thank you for your patience as we make this important change.

Wikis - Page

Troubleshooting: Encountered an exception while trying to read rule pack

0 Likes

If you have imported rulepacks but got the following exception when scan source files, such as
” Encountered an exception while trying to read rule pack C:\ Program Files\Fortify\Fortify_SCA_and_Apps_22.2.1\Core\config\rules\site.xml”,
You can try the following steps to troubleshoot the error.

1.Use the the following command line to check if you imported the Rulepacks correctly:
fortifyupdate -showInstalledRules --Displays the currently installed Rulepacks including any custom rules or metadata.
fortifyupdate -showInstalledExternalMetadata --Displays the currently installed external metadata.
#Please make sure that run fortifyupdate as an administrator on Windows.


2.If the version info is not correct, you can remove the extra files under C:\ Program Files\Fortify\Fortify_SCA_and_Apps_22.2.1\Core\config\rules\, and run fortifyupdate commandline to import the correct rulepacks again.
fortifyupdate -import <file>.zip
Please note, backup the rulepacks related folders(\rules\, \ExternalMetadata\,\customrules\) before you execute fortifyupdate commandline.

Labels:

Support Tips/Support Tips/Knowledge Docs
Support Tips/Knowledge Docs
Comment List
Related
Recommended