Configuring Job Cleanup Timing on Sensors

To prevent the progressive loss of disc space as job files accumulate, Fortify ScanCentral SAST sensors automatically clean up internal job files (packages received from the Controller, FPRs, logs, and so on), and Fortify Static Code Analyzer build files related to cleaned ScanCentral jobs. Although you cannot disable this feature, you can configure its timing.

To configure the timing of job file cleanup on a sensor:

  1. Navigate to the <sca_install_dir>/Core/config directory, and then open the worker.properties file in a text editor.

  2. Configure the following properties based on your scheduling needs:

    Property Name

    Description

    Default Value (hours)

    worker_cleanup_age

    Age (in hours) job files must be before they are removed from the sensor working directory

    168
    (or, one week)

    worker_cleanup_interval

    Frequency with which the cleanup process runs

    1
  3. Save and close your worker.properties file.

  4. Restart the sensor.