Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dedupe managament command: ensure ordering #11964

Conversation

valentijnscholten
Copy link
Member

Description
Fixes #11948
For deduplication it's important to start with the newest findings first to make sure the old(est) existing finding is selected as the original. This is already working correctly inside Defect Dojo, but not in the dedupe management command. This PR fixes that.

Copy link

dryrunsecurity bot commented Mar 6, 2025

DryRun Security Summary

The PR updates the dedupe management command to process findings in reverse order by ID, marking newer findings as duplicates of older ones.

Expand for full summary

The PR modifies the dedupe management command to process findings in reverse order by ID, ensuring newer findings are marked as duplicates of older ones. No security vulnerabilities were found in this patch.

View PR in the DryRun Dashboard.

Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

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

Approved

@valentijnscholten
Copy link
Member Author

Closing this as the ordering already is in DESC order, no need for the PR (see above).

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