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:
-
On a sensor machine, open the
<sast_install_dir>/Core/config/worker.propertiesfile 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, thisworker.propertiesfile is under the OpenText ScanCentral SAST client installation directory. -
Specify directories for the following properties:
-
The
props_dirproperty specifies where theworker_persist.propertiesfile is saved. -
The
jobs_dirproperty specifies the directory where the job files are created.
-
-
Save and close your
worker.propertiesfile. -
Restart the sensor.