Configuring where to generate job files and the worker_persist.properties file

For containerized deployments, it is useful to determine where files are generated so that you can customize persistence. This enables you to persist the worker_persist.properties file, which you need to maintain sensor pool assignments, without having to keep all the old job files.

If you choose not to configure these locations, the default locations are used. The default location for the worker_persist.properties file is <working_dir>/props. The default location for the job files is <working_dir>/jobs.

To configure where job files and the worker_persist.properties file are generated:

  1. On a sensor machine, open the <sast_install_dir>/Core/config/worker.properties file in a text editor.

    The <sast_install_dir> is only valid if the user installs the OpenText ScanCentral SAST client in the same directory as the OpenText SAST. Otherwise, this worker.properties file is under the OpenText ScanCentral SAST client installation directory.
  2. Specify directories for the following properties:

    • The props_dir property specifies where the worker_persist.properties file is saved.

    • The jobs_dir property specifies the directory where the job files are created.

  3. Save and close your worker.properties file.

  4. Restart the sensor.