SarifIssueReportFormatAliases.

SarifIssueReportFormat(ICakeContext) Method

Summary

Gets an instance of the SARIF report format using default settings.

Syntax

public static IIssueReportFormat SarifIssueReportFormat(this ICakeContext context)

Examples

Create SARIF compatible file:

CreateIssueReport(
        issues,
        SarifIssueReportFormat(),
        @"c:\repo",
        @"c:\export.sarif");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.

Return Value

Type Description
IIssueReportFormat Instance of a SARIF report format.