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
Fix bulk risk acceptance for active findings (#14281) (#14292)
Allow simple risk acceptance of active findings via bulk edit menu,
matching the behavior of individual finding risk acceptance.
Previously, bulk risk acceptance incorrectly rejected active findings
with a warning message, even though individual risk acceptance worked
fine. This was inconsistent with DefectDojo Pro and the individual
risk acceptance feature.
Changes:
- Remove the check that prevented active findings from being risk
accepted in bulk operations
- Update test to verify active findings can now be risk accepted
- Remove obsolete warning message about active findings
- Simplify return value of _bulk_update_risk_acceptance helper
The simple_risk_accept helper already handles setting finding.active
to False when accepting risk, so there's no need for an additional
check in the bulk update flow.
0 commit comments