dependency-track icon indicating copy to clipboard operation
dependency-track copied to clipboard

Currently Dependency Track removes 'properties' -fields from the uploaded sbom-file's 'component' -items. Could this be changed?

Open ilarikilkki opened this issue 1 year ago • 2 comments

Current Behavior

In our case we have included the file paths of various components into the 'properties' -field of each component in the sbom-file.

example1

After uploading the sbom-file to DT and downloading the file back, the 'properties' -fields have been removed from it.

example2

Proposed Behavior

Do not remove 'properties' -fields from uploaded sbom-files. Having the option to view the contents of 'properties' -fields in Dependency Track's User Interface next to the found vulnerabilities would make it a lot easier to locate the vulnerable dependencies in our repositories.

Checklist

ilarikilkki avatar Sep 24 '24 12:09 ilarikilkki

What version of DT are you using? Support for component properties was added in v4.11.

nscuro avatar Sep 24 '24 12:09 nscuro

I am seeing this behavior in a locally running the following version:

{
  "system_id": "***",
  "dt_version": "4.13.5",
  "db_type": "PostgreSQL",
  "db_version": "16.10"
}

I've attached the metadata section of the sbom I'm uploaded

metadata-payload-snippet.txt

Though I suspect that metadata properties may require different properties than component properties. I'm expecting these to show up in the project properties in the webview

BrianSurrattDsg avatar Dec 08 '25 22:12 BrianSurrattDsg