Rule properties
The properties for the fortify-sca.properties file in the following table apply to rules (and custom rules) and Rulepacks.
| Property name | Description |
|---|---|
| Sets the directory used to search for the OpenText provided encrypted rules files. Value Type: String (path) Default: |
| Specifies a custom Rulepack or directory. If you specify a directory, all of the files in the directory with the Value Type: String (path) Default: (none) Command-line option: |
| Sets the directory used to search for custom rules. Value Type: String (path) Default: |
| Specifies a list of file extensions for rules files. Any files in Value Type: String Default: |
com.fortify.sca.NoDefaultRules | If set to true, rules from the default Rulepacks are not loaded. OpenText SAST processes the Rulepacks for description elements and language libraries, but no rules are processed. Value Type: Boolean Default: (none) Command-line option: |
| If set to true, disables rules in default Rulepacks that lead directly to issues. OpenText SAST still loads rules that characterize the behavior of functions. This can be helpful when creating custom issue rules. Value Type: Boolean Default: (none) Command-line option: |
com.fortify.sca.NoDefaultSourceRules | If set to true, disables source rules in the default Rulepacks. This can be helpful when creating custom source rules. Characterization source rules are not disabled. Value Type: Boolean Default: (none) Command-line option: |
| If set to true, disables sink rules in the default Rulepacks. This can be helpful when creating custom sink rules. Characterization sink rules are not disabled. Value Type: Boolean Default: (none) Command-line option: |