DependencyTrack / DependencyTrack/dependency-track

Dependency Track ignores dependsOn tag in CycloneDX format

Open
#1,599 8 comments 0 reactions 0 assignees View on GitHub
enhancement p2
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior: Security Vulnerabilities do not include the dependsOn tag of the CycloneDX file. For example, suppose that we have the following reference and dependsOn field, where component-a has no security vulnerability but b and c have vulnerabilities:
```JSON
{
"ref" : "pkg:maven/component/component-a@0.0.1?type=jar",
"dependsOn" : [
"pkg:maven/component/component-b@0.0.1?type=jar",
"pkg:maven/component/component-c@0.0.1?type=jar"
]
},
```
Dependency Track will not show these relationships to component-a in the vulnerabilities tab. You will only see the component-b/c with a vulnerability risk and component-a will not yield any information that it depends on this software module with the given vulnerability.

### Proposed Behavior: Given the above CycloneDX file and scenario, Dependency Track should log the vulneribility inside component-a too or reference the vulnerability of component-b/c in component-a.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.