cyclonedx-core-java icon indicating copy to clipboard operation
cyclonedx-core-java copied to clipboard

Enhancement: make Vulnerability objects comparable by fields

Open SaberStrat opened this issue 1 year ago • 0 comments

One way to fix https://github.com/DependencyTrack/dependency-track/issues/3834 and make vulnerabilities elements in BOMs and VEXs unique, is to make Vulnerability objects comparable to one another on a fields basis. To get this, we need custom equals and hashCode methods.

This would be part of the fix to the above issue I'm working on in the PR https://github.com/DependencyTrack/dependency-track/pull/3948.

SaberStrat avatar Jul 19 '24 23:07 SaberStrat