Java and Kotlin properties
The properties for the fortify-sca.properties file in the following table apply to the translation of Java and Kotlin code.
| Property name | Description |
|---|---|
|
|
Specifies the class path used to analyze Java or Kotlin source code. Separate multiple paths with semicolons (Windows) or colons (non-Windows). Value type: String (paths) Default: (none) Command-line option: |
com.fortify.sca.
|
Specifies the Java source code version for Java or Kotlin translation. Value type: String Default: Command-line option: |
com.fortify.sca.
|
Specifies a directory that contains a JDK version that is not included in the OpenText SAST installation ( Value type: String (path) Default: (none) Command-line option: |
|
|
Specifies a semicolon- (Windows) or colon-separated (non-Windows) list of Java or Kotlin source file directories that are not included in the scan but are used for name resolution. The source path is similar to class path, except it uses source files rather than class files for resolution. Value type: String (paths) Default: (none) Command-line option: |
com.fortify.sca.
|
Specifies the application server to process JSP files. The valid values are Value type: String Default: (none) Command-line option: |
|
|
Specifies the application server's home directory. For WebLogic, this is the path to the directory that contains Value type: String (path) Default: (none) Command-line option: |
|
|
Specifies the version of the WebLogic or WebSphere application server. Value type: String Default: (none) Command-line option: |
|
|
Specifies directories to include implicitly on the class path for WebLogic and WebSphere application servers. Value type: String Default: (none) Command-line option: |
|
|
If set to true, OpenText SAST only translates Java source files that are referenced by the target file list. Otherwise, OpenText SAST translates all files included in the source path. Value type: Boolean Default: |
com.fortify.sca.
|
Specifies semicolon- or colon-separated list of directories of commonly used JAR files. JAR files located in these directories are appended to the end of the class path option ( Value type: String Default: |
com.fortify.sca.
|
If set to true, Java bytecode is decompiled for the translation. Value type: Boolean Default: |
|
|
If set to true, the JSP parser uses JSP security manager. Value type: Boolean Default: |
|
|
Specifies the encoding for JSPs. Value type: String (encoding) Default: |
com.fortify.sca.
|
If set to true, enables additional filtering on JSP-related dataflow to reduce the amount of spurious false positives detected. Value type: Boolean Default: Command-line option: |
com.fortify.sca.
|
Specifies the generation of the
Value type: String Default: |
com.fortify.sca.
|
If set to true, displays any unresolved types, fields, and functions referenced in translated Java source files at the end of the translation. Value type: Boolean Default: Command-line option: |
See also