You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because DependencyTrack's integration sets active: true and verified: true, when a finding is reimported, it is opened again in DefectDojo.
This adds a lot of work because we cannot remove false positives and they keep clogging up DD's UI.
Proposed Behavior
Adding the do_not_reactivate flag to Dependency-Track's upload would change this behavior so that findings that got closed on the DD side stay closed.
This way, I have both plenty of time to go through all the findings and remove noise from the findings before passing them to the devs, and findings that are not going to be fixed do not keep reappearing.
The core of the change is very simple, but it is a breaking change and one that likely should be configurable, so I figured I'd open this issue first, in order to discuss the best way of implementing this.
The core of the change is very simple, but it is a breaking change
True, but I as I do not use DD myself, I'm wondering what a valid use case would be for reactivating. I'll share this issue in Slack, maybe some folks who use this integration can chime in.
DD normally always assumes that the imported report is the source of truth. The do_not_reactivate flag was added recently for cases like this I assume. There's possibly a potential for false negatives if a finding was closed at some point and then later reappeared because somebody downgraded a library or something like that. I haven't tested this scenario.
To be honest I was expecting it to be a tag on a finding to avoid reactivating a finding, which might be a safer option.
Either way I think it should be configurable and not set by default.
It would be nice to have a 2-way integration with defect dojo so that audit decisions in DD are reflected in DT and vice versa.
I created a proposed solution for this problem. The pull request I propose is just a quick fix, I also think that in the long term a feature such as: #1926 or something similar (as @valentijnscholten mentioned a 2-way integration with Defectdojo) would be needed.
Activity
nscuro commentedon Jan 30, 2023
True, but I as I do not use DD myself, I'm wondering what a valid use case would be for reactivating. I'll share this issue in Slack, maybe some folks who use this integration can chime in.
Edit: https://owasp.slack.com/archives/C6R3R32H4/p1675101495785349
valentijnscholten commentedon Jan 30, 2023
DD normally always assumes that the imported report is the source of truth. The
do_not_reactivateflag was added recently for cases like this I assume. There's possibly a potential for false negatives if a finding was closed at some point and then later reappeared because somebody downgraded a library or something like that. I haven't tested this scenario.To be honest I was expecting it to be a tag on a finding to avoid reactivating a finding, which might be a safer option.
Either way I think it should be configurable and not set by default.
It would be nice to have a 2-way integration with defect dojo so that audit decisions in DD are reflected in DT and vice versa.
lme-nca commentedon Feb 27, 2023
I created a proposed solution for this problem. The pull request I propose is just a quick fix, I also think that in the long term a feature such as: #1926 or something similar (as @valentijnscholten mentioned a 2-way integration with Defectdojo) would be needed.
Squashed commit of the following:
Squashed commit of the following:
Squashed commit of the following:
github-actions commentedon Apr 7, 2023
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Squashed commit of the following:
Merge pull request DependencyTrack#2532 from lme-nca/bugfix/issue_242…