Skip to content

Commit

Permalink
dupe_key update
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-sommer committed Feb 16, 2024
1 parent acfbb02 commit 1746a8a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dojo/tools/mobsf/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,11 @@ def get_findings(self, filename, test):
)
if mobsf_finding["file_path"]:
finding.file_path = mobsf_finding["file_path"]

dupe_key = sev + title
dupe_key = sev + title + description + mobsf_finding["file_path"]
else:
dupe_key = sev + title + description
if mobsf_finding["category"]:
dupe_key += mobsf_finding["category"]
if dupe_key in dupes:
find = dupes[dupe_key]
if description is not None:
Expand Down

0 comments on commit 1746a8a

Please sign in to comment.