Current Behavior
In DependencyTrack version 4.12.x and above, after initially creating a project and then updating it with an SBOM, the Project classifier set to APPLICATION in this case gets overwritten to CONTAINER. I’m wondering if this behavior is expected and possibly an undocumented change, as earlier versions of DependencyTrack didn’t overwrite the classifier in this way.
I also tried excluding the SBOM upload request and instead used the bomRef in the project creation step, but this didn’t produce/upload sbom with the same behavior as v1/bom.
Additionally, the SBOM processing neither completes successfully nor returns an error when bomRef is set.
Steps to Reproduce
- Create a project using PUT v1/project with tags.
- Upload the SBOM using v1/bom with autocreate set to false.
The returned project resource shows that the classifier has changed from APPLICATION to CONTAINER.
Expected Behavior
Expected the project resource to remain in the same state as before the SBOM upload to the existing project.
Dependency-Track Version
4.12.1
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
15
Browser
Google Chrome
Checklist
Current Behavior
In DependencyTrack version 4.12.x and above, after initially creating a project and then updating it with an SBOM, the Project
classifierset toAPPLICATIONin this case gets overwritten toCONTAINER. I’m wondering if this behavior is expected and possibly an undocumented change, as earlier versions of DependencyTrack didn’t overwrite the classifier in this way.I also tried excluding the SBOM upload request and instead used the bomRef in the project creation step, but this didn’t produce/upload sbom with the same behavior as
v1/bom.Additionally, the SBOM processing neither completes successfully nor returns an error when
bomRefis set.Steps to Reproduce
The returned project resource shows that the classifier has changed from APPLICATION to CONTAINER.
Expected Behavior
Expected the project resource to remain in the same state as before the SBOM upload to the existing project.
Dependency-Track Version
4.12.1
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
15
Browser
Google Chrome
Checklist