Skip to content

Commit b0bb653

Browse files
committed
Use proper finding IDs for sonar and semgrep SARIF
1 parent 3b74eb9 commit b0bb653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core_codemods/sonar/results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def from_result(cls, result: dict) -> Self:
6969
locations=locations,
7070
codeflows=all_flows,
7171
finding=Finding(
72-
id=rule_id,
72+
id=finding_id,
7373
rule=Rule(
7474
id=rule_id,
7575
name=name,

0 commit comments

Comments
 (0)