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 a file from disk.
- Assembly
- Cake
.Issues .Sarif .dll - Namespace
- Cake
.Issues .Sarif - Containing Type
- SarifIssuesAliases
Syntax
public static IIssueProvider SarifIssuesFromFilePath(this ICakeContext context, FilePath logFilePath)
Examples
Read issues from a SARIF compatible file:
var issues =
ReadIssues(
SarifIssuesFromFilePath(@"c:\build\log.sarif"),
@"c:\repo");
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
logFilePath | FilePath | Path to the SARIF file. |
Return Value
Type | Description |
---|---|
IIssueProvider | Instance of a provider for SARIF compatible files. |