Find vulnerabilities (Web UI)
This tutorial aims to show you how to integrate VulnerableCode with ScanCode.io and
how to discover vulnerable packages using the
This tutorial assumes that you have a working installation of ScanCode.io. If you don’t, please refer to the Installation page.
Configure VulnerableCode integration
find_vulnerabilities pipeline requires access to a VulnerableCode database.
You can either run your own instance of VulnerableCode or connect to the public one. Authentication is provided using an API key that you can obtain by registering at https://public.vulnerablecode.io/account/request_api_key/
- Set the
VULNERABLECODE_API_KEYin your local settings:
docker.envfile if your run with docker
.envfor a local development deployment
Optionally contact nexB support at firstname.lastname@example.org with your API user email if you are doing a larger scale evaluation and need to ease API throttling limitations.
Open any of your existing projects containing a few detected packages.
If you do not have any projects available, please start with this tutorial: Analyze Docker Image (Web UI)
Click on the “Add pipeline” button and select the “find_vulnerabilities” pipeline from the dropdown list. Check the “Execute pipeline now” option and validate with the “Add pipeline” button.
Once the pipeline run completes with success, you can reach the Packages list view by clicking the count number under the “PACKAGES” header:
A red bug icon is displayed next to all packages for which declared vulnerabilities were found:
Click red bug icon to reach the vulnerability details for this package: