Skip to content

Commit 7f19192

Browse files
authored
CodeQL: use "correlationGuid" for finding ID (#937)
CodeQL: use "correlationGuid" for rule ID
1 parent e257a0c commit 7f19192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codemodder/codeql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def from_sarif(
5656
finding=Finding(
5757
id=rule_id,
5858
rule=Rule(
59-
id=rule_id,
59+
id=sarif_result.get("correlationGuid", rule_id),
6060
name=rule_id,
6161
# TODO: map to URL
6262
# url=,

0 commit comments

Comments
 (0)