From ac0491f5da8e81ec327f64d3176ca1a6a041527b Mon Sep 17 00:00:00 2001 From: forefy Date: Fri, 16 Feb 2024 12:16:49 +0200 Subject: [PATCH] Fix sarif insight name --- eburger/utils/outputs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eburger/utils/outputs.py b/eburger/utils/outputs.py index 57742e7..4947a21 100644 --- a/eburger/utils/outputs.py +++ b/eburger/utils/outputs.py @@ -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": [], }