Skip to content

Commit

Permalink
Reimport: Set Vulnerability ID from incoming finding (#10870)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maffooch authored Sep 6, 2024
1 parent bbc68db commit 20513ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dojo/importers/default_reimporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,8 @@ def finding_post_processing(
finding.unsaved_files = finding_from_report.unsaved_files
self.process_files(finding)
# Process vulnerability IDs
if finding_from_report.unsaved_vulnerability_ids:
finding.unsaved_vulnerability_ids = finding_from_report.unsaved_vulnerability_ids
finding = self.process_vulnerability_ids(finding)

return finding
Expand Down

0 comments on commit 20513ba

Please sign in to comment.