Skip to content

Commit bb08aa3

Browse files
sruehlccojocar
authored andcommitted
1 parent 23597d2 commit bb08aa3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

report/sarif/builder.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ func NewResult(ruleID string, ruleIndex int, level Level, message string, suppre
9191
result.Fixes = []*Fix{
9292
{
9393
Description: &Message{
94+
// Note: Text SHALL be supplied when Markdown is used: https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/sarif-v2.1.0-errata01-os-complete.html#_Toc141790720
95+
Text: autofix, // TODO: ensure this is plain text
9496
Markdown: autofix,
9597
},
9698
},

0 commit comments

Comments
 (0)