SarifIssuesAliases Class

Summary

Contains functionality for reading issues from SARIF files.
Assembly
Cake.Issues.Sarif.dll
Namespace
Cake.Issues.Sarif
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SarifIssuesAliases"] class Type type-node

Syntax

public static class SarifIssuesAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

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

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin