Preserving the OpenText SAST project root directory
By default, the Fortify ScanCentral SAST sensor creates a temporary working directory to unpack the project package and store temporary files for the scan including the OpenText SAST project root directory. This working directory is automatically deleted after the scan unless the -debug option is provided in the scan request. You can also configure an option to prevent the OpenText SAST project root directory from being deleted. To preserve the OpenText SAST project root directory:
Open the
<sast_install_dir>/Core/config/worker.propertiesfile in a text editor.Look for the
delete_sca_build_dirproperty and set it tofalse.Save the changes.
After the scan is complete, you can find the OpenText SAST project root directory in the job directory, which is in one of the following locations:
The
jobsdirectory in the sensor's working directoryIn the directory configured with the
jobs_dirproperty in theworker.propertiesfile
See also
Configuring Where to Generate Job Files and the worker_persist.properties File