cake-contrib / Cake.Issues.Reporting.Sarif

:cake: :jigsaw: :mag_right: Addin for creating SARIF compatible output of issues

Home Page:https://cakeissues.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Populate rule metadata with helpUri.

opened this issue · comments

The method SarifIssueReportGenerator.GetResult places IIssue.RuleUrl into the result's "property bag". SARIF actually has a slot for this: Tool.Driver.Rules is an array of SARIF ReportingDescriptor objects, and a ReportingDescriptor has a HelpUri property.

You can find out more about this in the SARIF Tutorials under the topic Rule metadata.