Enabling and Disabling Auto-Updates of Clients and Sensors

You can have all ScanCentral SAST clients and sensors check with the Controller after a manual update and following each startup to determine whether updates are available (the clientClosed Requesting program or user in a client/server relationship. For example, the user of a web browser is effectively making client requests for pages from servers all over the web. The browser itself is a client in its relationship with the computer that is getting and returning the requested HTML file. The computer handling the request and sending back the HTML file is a server. or sensor version is earlier than the Controller version). Then, if an update is available, the Controller updates all sensors and clients.

The upgrade paths for clients and sensors as of version 20.2.0 of Fortify ScanCentral SAST are as follows:

To upgrade sensors and embedded clients to the next version, you must install the latest SCA and AppsClosed Installer for Fortify Static Code Analyzer and component applications. version.

About Scan Assignment

Clients can assign scans to Fortify Static Code Analyzer instances that have the same major version and any patch of that version. For example, a 22.1.0 client can send scans to Fortify Static Code Analyzer versions 22.1.0, 22.1.1, 22.1.2, and so on. However, a client cannot assign scans to Fortify Static Code Analyzer of a different major version. For example, 21.2.0 clients cannot send scans to Fortify Static Code Analyzer version 22.2.0.

Important! ScanCentral SAST clients and sensors check for updates only if you use the -url or -sscurl options. The package command will not start the update process.

To enable or disable automatic updates of your clients and sensors:

  1. Navigate to the <controller_dir>/tomcat/webapps/scancentral-ctrl/WEB-INF/classes directory and open the config.properties file in a text editor.

  2. Locate the client_auto_update property.

  3. To enable auto-updates, set client_auto_update to true. To disable auto-updates, set the value to false (the default).

  4. Save and close the file.

The update process (and its resulting success or failure status) is printed to the console.

Important! If Fortify Static Code Analyzer and applications is installed in a location that requires that you have administrator privileges to modify it (for example, program files), in order to update the sensor, you must start it with administrator privileges. Otherwise, the sensor cannot write files to disk. If auto-update is enabled, major updates on standalone clients must finish successfully before the sensor can start. With auto-update enabled, patch updates allow sensors and clients to start unless the upgrade fails.

See Also

About Upgrading ScanCentral SAST Components

Upgrading the ScanCentral SAST Controller