From 9ca611106f86b7bd7209261fc1bd61d722348596 Mon Sep 17 00:00:00 2001 From: htrgouvea Date: Sun, 28 Jan 2024 11:52:44 -0300 Subject: [PATCH] return title --- lib/Zarn/Sarif.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/Zarn/Sarif.pm b/lib/Zarn/Sarif.pm index f529931..e9e4dbb 100644 --- a/lib/Zarn/Sarif.pm +++ b/lib/Zarn/Sarif.pm @@ -25,11 +25,8 @@ package Zarn::Sarif { foreach my $info (@vulnerabilities) { my $result = { ruleId => $info -> {title}, - properties => { - title => $info -> {title} - }, message => { - text => $info -> {message} + text => $info -> {title} }, locations => [{ physicalLocation => {