Skip to content

Commit

Permalink
Fix sarif insight name
Browse files Browse the repository at this point in the history
  • Loading branch information
forefy committed Feb 16, 2024
1 parent 07fc469 commit ac0491f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eburger/utils/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def save_as_sarif(output_file_path: Path, insights: dict):
"ruleIndex": rule_index,
"level": convert_severity_to_sarif_level(insight["severity"]),
"message": {
"text": new_rule["name"]
"text": insight["name"]
}, # TODO: display an instruction instead of the finding name
"locations": [],
}
Expand Down

0 comments on commit ac0491f

Please sign in to comment.