diff --git a/lib/Zarn/Sarif.pm b/lib/Zarn/Sarif.pm index e9e4dbb..f529931 100644 --- a/lib/Zarn/Sarif.pm +++ b/lib/Zarn/Sarif.pm @@ -25,8 +25,11 @@ package Zarn::Sarif { foreach my $info (@vulnerabilities) { my $result = { ruleId => $info -> {title}, + properties => { + title => $info -> {title} + }, message => { - text => $info -> {title} + text => $info -> {message} }, locations => [{ physicalLocation => {