DependencyTrack / DependencyTrack/dependency-track
Add option to deactivate old project versions on BOM upload
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior
In a continuous delivery scenario every commit to a software project creates a new version (and therefore project) in Dependency-Track. Over time there will be hundreds of "active" versions, even though they are actually not "active".
### Proposed Behavior
The `POST /v1/bom` resource has another flag in addition to the already existing `isLatest` parameter: `isActiveExclusively`.
When both arguments are `true` all "old" versions are deactivated and do not clutter the UI anymore.
### 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 enhancement was already requested
Contributor guide
Assessment
This issue has not been assessed yet.