Skip to main content

Dependency-Track

img

note

First time using Dependency-Track? Please refer to the following documentation.

Introduction

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain. Dependency-Track takes a unique and highly beneficial approach by leveraging the capabilities of Software Bill of Materials (SBOM). This approach provides capabilities that traditional Software Composition Analysis (SCA) solutions cannot achieve.

Dependency-Track monitors component usage across all versions of every application in its portfolio in order to proactively identify risk across an organization. The platform has an API-first design and is ideal for use in CI/CD environments. The Dependency-Track integration with Conviso Platform is done through this API.

Dependency-Track Setup

In order to set up the Dependency-Track integration, you’re going to need a token that can be generated at your dedicated instance of the Dependency-Track system. To find it, go to Administration at the left sidebar, then select Access Management, and under it, Teams. You’ll be presented with a field showing a few rows of predefined teams, one of them being Administrators:

img

Click on the Administrators row to open the options, and under the API Keys section, click the [+] icon. A new key will be created for you:

img

Conviso Platform Setup

Log in to the Conviso Platform;

On the main menu to the left, click on Integrations. At the panel to the right, click on the SCA option, then click on the Integrate button on the Dependency Track card:

img

You will be presented with the following form that should be filled with the token mentioned in the API Token field and your Dependency Track address in the format of http://<service_ip>:<service_port>/api in the API URL field. After filling all the fields in this modal, click on the Save button to store you integration configuration:

img

If everything goes right, you’ll be presented with the following screen. Check the box of the project you want to import and click Finish on the corner:

img

After this, the import process will be initiated, and depending on the size of the project, this may take a few minutes.

After creating the integration, you can add more assets through the integration configuration page, which can be accessed in two ways:

  1. Through the Asset Management page as shown in the figure below.

img

  1. Configure button on the integrations screen.

img

When accessing the configuration page, here are some explanations about it:

img

  1. Table displaying the projects integrated into the platform, along with the date of the last synchronization and its current status.

  2. Button to add new projects to the platform, leading to the project selection screen as shown earlier in this document.

  3. Information used for the integration, e.g., token and API URL.

  4. Button to remove the integration.

General Information on Operation

In this section, we will address crucial information about the integration's operation. This includes details about the synchronization process, as well as the status mapping between the involved platforms.

Status Mapping

When moving issues from one status to another, the Conviso platform will communicate and mark the issues in Dependency Track according to the following mapping:

img

Given that the issues reported by Dependency Track are of the SCA (Software Component Analysis) type, they are automatically created in the Identified status, not in Created. Therefore, the mapping for the Not Set/Blank state starts from Identified.

The modifications are bidirectional, meaning that when changes are made in the Conviso Platform, these changes will be replicated to Dependency Track, and the same applies in reverse.

Note: The only exception to these status changes is for the FIXED status in the Conviso Platform. In the case of FIXED, it is not allowed for a user to move it to FIXED when the issue was opened by a scanner like Dependency Track. In this scenario, the tool itself should identify the changes and recognize that the issue has been removed. Therefore, in the next synchronization, those issues that are no longer identified by Dependency Track will be marked as FIXED in the Conviso Platform.

When changing the status in the Conviso Platform, these changes will be replicated immediately to Dependency Track. However, if a change is first made in Dependency Track, it will only be replicated to the Conviso Platform after a synchronization between the platforms is performed.

Monitoring and Initiation of Synchronization

To monitor the progress of an import/synchronization or initiate a synchronization, follow the steps below:

  1. Go to Asset Management.
  2. Click on the name of the asset for which you want to initiate or monitor synchronization.
  3. On the asset's details page, click on View All next to Integration, as shown in the image below.

img

  1. A page displaying a progress bar indicating the current status of synchronization, as well as the button to initiate synchronization, will appear. In case of errors during synchronization, they will also be presented on this page.

Discover Conviso Platform!