Skip to content

Commit 523e68b

Browse files
Apply suggestion from @valentijnscholten
Co-authored-by: valentijnscholten <valentijnscholten@gmail.com>
1 parent 1e25b8d commit 523e68b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dojo/tools/anchore_grype/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def get_findings(self, file, test):
198198
if self.mode == "detailed":
199199
dupe_key = f"{vuln_id}|{artifact_name}|{artifact_version}|{file_path}"
200200
else:
201-
dupe_key = finding_title
201+
dupe_key = f"{vuln_id}|{artifact_name}|{artifact_version}"
202202
if dupe_key in dupes:
203203
finding = dupes[dupe_key]
204204
finding.nb_occurences += 1

0 commit comments

Comments
 (0)