Comment

Comment by medunes

Like many of you, I struggled with automating Dependency-Track. Using curl was messy, and my dashboard was flooded with hundreds of "Active" versions from old CI builds, destroying my metrics.

I built a small CLI tool (Go) to solve this. It handles the full lifecycle in one command:

Uploads the SBOM.

Tags the new version as Latest.

Auto-archives old versions (sets active: false) so only the deployed version counts toward risk scores.

It’s open source and works as a single binary (or Docker image). Hope it saves you some bash-scripting headaches!

Repo: https://github.com/MedUnes/dtrack-cli

parent medunes 9 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton