Migrating from Dependency-Track

Qualor takes the SBOMs your pipelines send to Dependency-Track. It checks their packages for new vulnerabilities and shows where a package is used. You change the upload step: Qualor has no Dependency-Track API, and nothing is imported.

Qualor adds SPDX. It reads SPDX 2.2 and 2.3 JSON besides CycloneDX. Dependency-Track reads CycloneDX only.

The mapping

Dependency-Track Qualor
Project a project, created first
Project version a version of that project, set by --version
One project per image the same: a project of its own for an image (Precedence)
BOM upload (PUT /api/v1/bom) PUT /api/v0/projects/sbom, or qualor upload-sbom (SBOM upload)
API key a project analysis token, or a personal token with the analysis:write scope
Component search the Packages page, and qualor_package_usages in the MCP server (Where used)
Components tab the Dependencies tab
Vulnerability audit: analysis state, justification, comment a status with a VEX reason and a comment
Suppressing a finding the status Not affected (false positive) or Affected, won’t fix
VEX and SBOM export SBOM and VEX export (Business and Enterprise)
Vulnerability notifications Alerts (Business and Enterprise)
The Jira notification publisher Jira: a Jira issue for each new vulnerability at or above a severity, with its status. Every edition

Differences that matter:

  • A Qualor project holds many versions. Dependency-Track keeps one project per name and version.
  • Qualor can open a merge request that bumps a vulnerable dependency, which Dependency-Track does not do (Fix merge requests).
  • A decision covers a package and a vulnerability id for the whole project, not for one version (One decision, a wide scope).
  • The server checks packages against its own copy of the Trivy database, and re-checks tracked versions when it changes (The vulnerability database).
  • Which versions are tracked follows a rule per project (Which versions are tracked).

Change a pipeline

  1. Create the project in Qualor, and a project token.
  2. Replace the upload step.

Before, with Dependency-Track:

curl -fsS -X PUT "$DT_URL/api/v1/bom" -H "X-Api-Key: $DT_API_KEY" \
  -H 'Content-Type: application/json' \
  -d "{\"projectName\":\"shop\",\"projectVersion\":\"$TAG\",\"autoCreate\":true,\"bom\":\"$(base64 -w0 sbom.json)\"}"

After, with Qualor:

docker run --rm -v "$PWD":/work -w /work \
  -e QUALOR_URL -e QUALOR_TOKEN -e QUALOR_PROJECT_KEY=acme/shop \
  qualor/scanner:0.17 upload-sbom sbom.json --version "$TAG"

An image SBOM in CI shows the whole step, with Trivy or Syft.

What Qualor does not do

Dependency-Track feature In Qualor
The upload API (/api/v1/bom, X-Api-Key, the token poll) and tools built on it, such as gh-upload-sbom not offered. Use qualor upload-sbom or the Qualor API
A multipart upload (POST /api/v1/bom with form fields) not offered. The Qualor API takes the file as the request body (With the API)
autoCreate: a project made by the first upload not offered. The project must exist, or the upload answers PROJECT_NOT_FOUND
Parent projects, project tags, isLatest and active not offered. A rule per project decides which versions are tracked (see above)
CycloneDX 1.0 and 1.1 refused. Export CycloneDX 1.2 or later
CycloneDX XML refused. Export CycloneDX JSON
Components without a purl skipped and counted
Component search by CPE or hash, or by a version range such as < 2.17 not offered. Search by package name or purl, and an exact version
Vulnerability sources and analyzers besides one Trivy database: the NVD, GitHub Advisories, OSV, OSS Index, Snyk not offered
Vulnerabilities and VEX sections of the uploaded BOM ignored. Qualor finds the vulnerabilities itself
An SBOM with several distributions refused. Split it, one file per image

Other limits: SBOM upload.