Skip to main content
These instructions apply only to the compressed KB format. If you are using an older uncompressed format, or are unsure of your KB format, please download the full KB as described below, or contact SCANOSS support for assistance.

Download the KB

Connect using the SFTP CLI

You can download the KB and its updates using Secure FTP (SFTP) with the authentication key provided. Run the sftp tool to download files to your current directory:
sftp -P PORT USER@HOST
Example: Connect to the secured KB repository with user SL000:
sftp -P 49322 SL000@sftp.scanoss.com

Downloading Files

Once inside the interactive SFTP shell, you can download files using:
sftp> get {{ file_path }}
To download an entire directory, add the -r flag:
sftp> get -r {{ file_dir }}
Examples:
  • Download all KB tables for version 23.04:
sftp> get -r ldb/compressed/full/23.04/oss/
  • Download a monthly update (23.05):
sftp> get -r ldb/compressed/updates/monthly/23.05

Connect with Your FTP Client

You can also configure your preferred FTP client (e.g. FileZilla) to connect and download files. Use the connection details provided via email. sftp-site-manager-setup

Updating the SCANOSS Platform

After downloading the update from the SFTP server, follow these instructions based on the update type:

Types of KB Updates

Daily Updates

  • Contain the full vulnerability table.
  • Download the latest YY.MM.DD_vulnerability.tar.gz archive.
  • Decompress and overwrite your current ldb/oss/vulnerability folder.

Intermediate Updates

  • Released twice per month, containing frequently updated components.
  • Download YY.MM_<No>.tar.gz from updates/intermediate.
  • Decompress into a mined folder and import into your LDB.
  • Intermediate updates will also be included in the next month’s monthly update.

Monthly Updates

  • Released once per month, include the intermediate updates from the previous month.
  • Download the corresponding YY.MM folder from updates/monthly.
  • Each update includes specific instructions, test files, and latest KB statistics.

Importing the KB Update

Each KB update folder includes an update_instructions_YY.MM.txt file with detailed import instructions. Please refer to the instructions document included in the update folder, as the import process and required LDB versions may vary between updates.