Skip to content

Commit

Permalink
Clean unsaved endpoints before comparing them to existing endpoints (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
coheigea authored Jan 16, 2023
1 parent 2f53d3d commit 6ef9a28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dojo/importers/reimporter/reimporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ def process_parsed_findings(self, test, parsed_findings, scan_type, user, active
if service:
item.service = service

if item.dynamic_finding:
for e in item.unsaved_endpoints:
e.clean()

item.hash_code = item.compute_hash_code()
deduplicationLogger.debug("item's hash_code: %s", item.hash_code)

Expand Down

0 comments on commit 6ef9a28

Please sign in to comment.