Toolset Configuration

Depending on your source code, different toolsets might be required to be installed on the VM where SCA360 is installed. These toolsets basically mimic your (customer's) build environment.

SCA360 carries a set of toolsets to help simplify the process. The toolset configuration is maintained by SCA360 in JSON files. Modify them only if necessary.

# Go inside the directory where CLI is extracted 
$ cd veecli 
# Use jq to see the Toolset JSON content files 
$ cat third_party/runtimes-config.json | jq . | less 
$ cat third_party/tools-config.json | jq . | less 

If your source code requires any toolset that is not carried by Lineaje SCA360, follow the below steps to install the appropriate version of the toolset that your source code needs.

Python Toolset

If your source code requires python, please setup and configure appropriate version of python.

Native python Toolset

SBOM generation can also be done using the default Python available in the system.

# Verify python is available in the environment. 
$ which python 
# Verify the minimum version of pipdeptree available in the environment is 2.3.3 and above 
$ pip show pipdeptree 
# Install “pipdeptree” using the following command, if not installed 
$ sudo pip install pipdeptree==2.3.3 
# Verify that python can be used to create virtual environments 
$ python -m venv /tmp/python-venv 

Setup python for Ubuntu (22.04)

Check what version of python your code requires and install the correct version. Steps to install Python 3.10 for ubuntu 22.04 is shown below for illustration

Last updated