Skip to content

Checking the Scanner Version and Updating#

Features that require support on the scanner side are available only with a scanner of the supporting version or later. For releases that require a scanner update, the "Release Notes" include a "Scanner update required" note and a scanner version table.

There are two update targets: the scanner binary and the scan script. With the default settings applied at installation, each scan checks for the latest version and automatically updates the scanner binary if a newer version is available. The scan script is not updated automatically.

Update Target Linux Scanner Windows Scanner Trivy Scanner (Standard Version) Update Method
Scanner binary /opt/vuls-saas/vuls C:\Program Files\vuls-saas\vuls.exe trivy, trivy-to-vuls, and future-vuls under the /opt/vuls-trivy-saas directory Automatic updates (default settings), or re-running the installation command
Scan script /opt/vuls-saas/vuls-saas.sh C:\Program Files\vuls-saas\vuls-saas.bat /opt/vuls-trivy-saas/vuls-trivy-saas.sh Re-running the installation command

Checking the Version and Whether an Update Is Needed#

Use the following flow to decide whether an update is needed.

Flow for deciding whether the scanner needs an update

Checking the Scanner Version#

The version of the scanner installed on the server can be checked in the "Server Information" section of "Server / Product Details". If the scanner version is older than the latest version, an alert is displayed in the "Server Type" field. What to do when the alert is displayed depends on the automatic update setting. See "Determining Whether to Update the Scanner Binary" below.

The scanner version and the alert displayed in Server Type under Server Information

The scanner version can also be checked on the scanner server.

OS Execution Directory Command to Execute
Linux /opt/vuls-saas ./vuls -v
Windows C:\Program Files\vuls-saas vuls.exe -v

Determining Whether to Update the Scanner Binary#

Check the "Scanner Version" column in the list on the Server / Product tab (you can display this column from "Columns" above the list). Servers with old in this column are being scanned with a scanner binary that is not the latest.

Check whether automatic updates are enabled in the settings on the scanner server (for where to check, see the table in "Automatic Updates During Each Scan").

Automatic Update Setting Action When old Is Shown
Enabled (default) Normally no action is required, because the scanner binary is updated automatically at the next scan. If old is still shown after the next scan, the download of the scanner binary may have failed. Check the log listed in the table below, and if the download has failed, check the communication to installer.vuls.biz ("Checking Connectivity") and the proxy settings
Disabled Update manually by following "Updating the Scanner Binary"

If the download fails, a message is output to the following log.

Scanner Log to Check Message on Download Failure
Linux scanner /opt/vuls-saas/vuls-saas.log Failed to download binary
Windows scanner C:\Program Files\vuls-saas\vuls-saas.log Failed to download binary
Trivy scanner (standard version) /opt/vuls-trivy-saas/vuls-trivy-saas.log Failed to download scanner

Determining Whether to Update the Scan Script#

Check whether the scan script needs to be updated with the following procedure.

  1. Open the "Release Notes" from newest to oldest and find the latest release notes that include the scanner version table (the table below the "Scanner update required" note).
  2. In the table, check the "Scan Execution Script" column in the row for the same type of scanner as the one you use (for Linux, for Windows, or Trivy). Items updated in that release are marked with [NEW].

    The scanner version table in the release notes. NEW and Version are displayed in the Scan Execution Script column

  3. Open the scan script on the scanner server and check the value of Version: at the beginning.

  4. If the Version in the column from step 2 does not match the value from step 3, the scan script needs to be updated.

Example of vuls-saas.sh for the Linux scanner:

1 #!/bin/bash
2
3 # Version: 2025/10
        :

Updating the Scanner Binary#

Automatic Updates During Each Scan#

When a scan is executed, it checks for the latest version and, if a newer version is available, automatically replaces the scanner binary (this is enabled by default). If the download fails, the scan continues with the existing scanner binary. Enable or disable automatic updates in the following location for each scanner type. Set true to enable them or false to disable them.

Scanner File to Configure Setting
Linux scanner Scan script /opt/vuls-saas/vuls-saas.sh Variable AUTO_REFRESH_BINARY
Windows scanner Configuration file C:\Program Files\vuls-saas\batch_config.toml AutoRefreshBinary
Trivy scanner (standard version) Configuration file /opt/vuls-trivy-saas/config.toml refreshScanner under [scanner]

The relevant part of vuls-saas.sh for the Linux scanner is as follows.

        :
8 ## If you do not want to refresh the scanner, set "false" ##
9 AUTO_REFRESH_BINARY=${AUTO_REFRESH_BINARY:=true}
        :

To disable automatic updates, change line 9 to AUTO_REFRESH_BINARY=false. If you re-run the installation command, this value reverts to the value specified in the installation command (see "Notes on Reinstallation").

For the Windows scanner, if the automatic update of the scanner binary takes too long and regularly times out, increase the value of TimeoutRefreshBinary in the same file. This value controls the waiting time for file retrieval by bitsadmin. Setting an extremely large value is not recommended because, whenever the scanner binary is updated, the process always waits the full configured duration.

Manual Updates When Needed#

As with the initial "installation", copy the installation command from the FutureVuls UI and run it on the scanner server. Specify the options on the screen (such as the scan mode, proxy, and automatic updates) to match your current settings. Before running it, read "Notes on Reinstallation".

Updating the Scan Script#

The procedure is the same as manually updating the scanner binary. Copy the installation command from the FutureVuls UI and run it on the scanner server. Before running it, read "Notes on Reinstallation".

Notes on Reinstallation#

When you re-run the installation command (reinstall), the settings that are kept and the settings that are replaced are as follows.

Scanner Settings Kept Settings Replaced
Linux scanner /opt/vuls-saas/config.toml, cron settings The scan script vuls-saas.sh. Manually edited PROXY and AUTO_REFRESH_BINARY values revert to the values specified in the installation command. Any other manual edits (such as changing ./vuls saas to ./vuls saas "$@" when dividing servers into multiple groups, or specifying timeouts) are also lost, so note the changed lines before reinstalling and reapply the same changes after reinstalling
Windows scanner C:\Program Files\vuls-saas\config.toml, C:\Program Files\vuls-saas\batch_config.toml (if there is no Proxy line, the value specified in the installation command is appended) The scan script vuls-saas.bat, the vuls-saas-scan task in Task Scheduler. The run time reverts to about 5 minutes after the reinstallation
Trivy scanner (standard version) /opt/vuls-trivy-saas/config.toml (if the scan target specified during installation is not registered, the scan target is added), cron settings The scan script vuls-trivy-saas.sh, /etc/sudoers.d/vuls-trivy-saas

If you have modified sudoers for the Linux scanner (e.g., for scanning WordPress), it is overwritten when you reinstall in fast-root mode, which may cause the next scan to fail. After reinstallation, edit /etc/sudoers.d/vuls-saas again.

Troubleshooting#

Check the common causes and fixes on the following pages.