DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.61k stars 552 forks source link

Allow export and import of vulnerability and policy violation analysis #3806

Open jimklimov opened 4 months ago

jimklimov commented 4 months ago

Originated at https://owasp.slack.com/archives/C6R3R32H4/p1717514754874479

Current Behavior

We have several supported release branches of the project which use some same versions of dependencies. A known vulnerability appears that suddenly affects many of our DT projects, but effectively it is the same error and verdict for many of them. After a human analyzes one branch in detail and confirms that other cases are identical, it makes sense to somehow export that data and apply to the other branches in one operation (as opposed to lots of checkbox and drop-down clicking and text copy-pasting).

We played with Export VEX and Export VDR, but those files seem to lack much of the information entered manually.

Per Slack discussion, "at the moment, VEX will have the current state, but lacks the entire audit trail and any comments made by users. If you need a complete export/import functionality, please raise an enhancement request on GitHub."

Proposed Behavior

It would also be great if the document format for storage of these verdicts can be mergeable and de-duplicatable (e.g. using the CycloneDX spec and cyclonedx-cli tool), so the growing collection of verdicts can be applied to different DT instances used by the organization, tracked in Git for historic audit and reference, etc.

Checklist