Exit codes

The following table describes the possible OpenText SAST exit codes.

Exit code Description
0 Success
1 Generic failure
2

Invalid input files

(this might indicate that an attempt was made to translate a file that has an extension that OpenText SAST does not support)

3 Process timed out
4 Analysis completed with numbered warning messages written to the console and/or to the log file
5 Analysis completed with numbered error messages written to the console and/or to the log file
6 Scan phase was unable to generate issue results
7 Unable to detect a valid license or the LIM license expired at run time

By default, OpenText SAST only returns exit codes 0, 1, 2, 3, or 7.

You can extend the default exit code options by setting the com.fortify.sca.ExitCodeLevel property in the <sast_install_dir>/Core/Config/fortify-sca.properties file.

The valid values are: