DependencyTrack / DependencyTrack/dependency-track
The order of SBOM section affects result display functionality
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior
When the SBOM (Software Bill of Materials) is not ordered according to the sequence of components > dependencies > vulnerabilities, the dependency graph may not be displayed.
### Steps to Reproduce
1. Give a sbom contains components, dependencies and vulnerabilities sections, each section can not be empty.
2. Change order like vulnerabilities > components > dependencies.
3. Upload the sbom.
4. See the result would be different.
If vulnerabilities are placed first, both components and dependency graph cannot be displayed.
If the order is components > vulnerabilities > dependencies, only the dependency graph will be unavailable.
### Expected Behavior
We should remind users of the importance of SBOM file order.
Otherwise, the order should not affect the display.
### Dependency-Track Version
4.10.1
### Dependency-Track Distribution
Container Image
### Database Server
PostgreSQL
### Database Server Version
_No response_
### Browser
Google Chrome
### Checklist
- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this defect was already reported
Contributor guide
Assessment
This issue has not been assessed yet.