From 77b8b8bd698e1f7d48ada99f12efe686b401ab0c Mon Sep 17 00:00:00 2001 From: Daniel D'Avella Date: Mon, 2 Dec 2024 16:48:59 -0500 Subject: [PATCH] CodeQL: use "correlationGuid" for rule ID --- src/codemodder/codeql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codemodder/codeql.py b/src/codemodder/codeql.py index 041ed3e3..f595edc9 100644 --- a/src/codemodder/codeql.py +++ b/src/codemodder/codeql.py @@ -56,7 +56,7 @@ def from_sarif( finding=Finding( id=rule_id, rule=Rule( - id=rule_id, + id=sarif_result.get("correlationGuid", rule_id), name=rule_id, # TODO: map to URL # url=,