Cake.Issues.Sarif

The SARIF support for the Cake.Issues addin for Cake allows you to read SARIF compatible files. This addin provides the aliases for reading issues from SARIF compatible files and providing them to the Cake.Issues addin. It also requires the core Cake.Issues addin. There are also additional addins for generating reports or posting issues to pull requests. See the Project Site for an overview of the whole ecosystem of addins for working with issues in Cake scripts. NOTE: This is the version of the addin compatible with Cake Script Runners. For addin compatible with Cake Frosting see Cake.Frosting.Issues.Sarif.

#addin nuget:?package=Cake.Issues.Sarif&version=4.5.1

dotnet add package Cake.Issues.Sarif --version 4.5.1

<PackageReference Include="Cake.Issues.Sarif" Version="4.5.1" />

Aliases

Contains functionality for reading issues from SARIF files.

Issue Providers

SarifIssues(SarifIssuesSettings) Gets an instance of a provider for SARIF compatible files using specified settings.
SarifIssuesFromContent(string) Gets an instance of a provider for SARIF compatible files using file content.
SarifIssuesFromFilePath(FilePath) Gets an instance of a provider for SARIF compatible files using a file from disk.
SarifIssuesProviderTypeName Gets the name of the SARIF issue provider. This name can be used to identify issues based on the ProviderType property.