dependency-track icon indicating copy to clipboard operation
dependency-track copied to clipboard

Add property to control "Verified" flag in DefectDojo integration

Open mekras opened this issue 1 year ago • 9 comments

Current Behavior

Dependency-Track always sets "Verified" flag when uploading findings to DefectDojo. And this is hard-coded:

  • https://github.com/DependencyTrack/dependency-track/blob/4.10.1/src/main/java/org/dependencytrack/integrations/defectdojo/DefectDojoClient.java#L69
  • https://github.com/DependencyTrack/dependency-track/blob/4.10.1/src/main/java/org/dependencytrack/integrations/defectdojo/DefectDojoClient.java#L176

Proposed Behavior

Usually, the "Verified" flag is set when testers have successfully exploited a vulnerability, i.e. it is set only manually. The automatic setting of the flag disrupts the vulnerability analysis process.

I suggest adding another property to the project settings to control the desired state of the flag.

Checklist

mekras avatar Jan 17 '24 10:01 mekras

See also https://github.com/DependencyTrack/dependency-track/discussions/2431

mekras avatar Jan 17 '24 10:01 mekras

This is from DefectDojo: image

mekras avatar Jan 17 '24 13:01 mekras