Skip to content

performance do_not_reactivate: adding a note doesn't need a finding save#12901

Merged
mtesauro merged 1 commit into
DefectDojo:bugfixfrom
valentijnscholten:perf2.5-note-add-doesnt-need-save
Aug 9, 2025
Merged

performance do_not_reactivate: adding a note doesn't need a finding save#12901
mtesauro merged 1 commit into
DefectDojo:bugfixfrom
valentijnscholten:perf2.5-note-add-doesnt-need-save

Conversation

@valentijnscholten

Copy link
Copy Markdown
Member

When adding a note to a finding to state that it was not reactivated, we don't need to call save on the finding itself.
The same approach was taken in the past for close_old_findings.

@valentijnscholten valentijnscholten added this to the 2.49.0 milestone Aug 1, 2025
@valentijnscholten valentijnscholten marked this pull request as ready for review August 1, 2025 19:38
@dryrunsecurity

dryrunsecurity Bot commented Aug 1, 2025

Copy link
Copy Markdown

DryRun Security

No security concerns detected in this pull request.


All finding details can be found in the DryRun Security Dashboard.

@valentijnscholten valentijnscholten modified the milestones: 2.49.0, 2.49.1 Aug 4, 2025
@Maffooch Maffooch requested review from blakeaowens and dogboat August 7, 2025 06:09

@mtesauro mtesauro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@mtesauro mtesauro merged commit ce05b71 into DefectDojo:bugfix Aug 9, 2025
85 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants