Temporary fix for sarif github location issue

dev
Ice3man543 2021-06-05 23:42:37 +05:30
parent 1dc1b9ee73
commit e6db12848f
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ func (i *Exporter) Export(event *output.ResultEvent) error {
WithLevel(sarifSeverity).
WithLocation(sarif.NewLocation().WithMessage(sarif.NewMessage().WithText(event.Host)).WithPhysicalLocation(
sarif.NewPhysicalLocation().
WithArtifactLocation(sarif.NewArtifactLocation().WithUri(os.Getenv("github.action_path"))).
WithArtifactLocation(sarif.NewArtifactLocation().WithUri("README.md")).
WithRegion(sarif.NewRegion().WithStartColumn(1).WithStartLine(1).WithEndLine(1).WithEndColumn(1)),
))
return nil