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:

  1. Open the <sast_install_dir>/Core/config/worker.properties file in a text editor.

  2. Look for the delete_sca_build_dir property and set it to false.

  3. 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 jobs directory in the sensor's working directory

  • In the directory configured with the jobs_dir property in the worker.properties file

See also

Configuring Where to Generate Job Files and the worker_persist.properties File