This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Issues.Sarif.
Summary
Gets an instance of a provider for SARIF compatible files using specified settings.
- Assembly
- Cake
.Issues .Sarif .dll - Namespace
- Cake
.Issues .Sarif - Containing Type
- SarifIssuesAliases
Syntax
public static IIssueProvider SarifIssues(this ICakeContext context, SarifIssuesSettings settings)
Examples
Read issues from a SARIF compatible file:
var settings =
new SarifIssuesSettings(
@"c:\build\log.sarif));
var issues =
ReadIssues(
SarifIssues(settings),
@"c:\repo");
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
settings | SarifIssuesSettings | Settings for reading the SARIF compatible file. |
Return Value
Type | Description |
---|---|
IIssueProvider | Instance of a provider for SARIF compatible files. |