Skip to content

Commit

Permalink
provide path to WF file
Browse files Browse the repository at this point in the history
Signed-off-by: David Korczynski <[email protected]>
  • Loading branch information
DavidKorczynski committed Dec 13, 2023
1 parent 5789512 commit 15f2dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion probes/sastToolSnykInstalled/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func Run(raw *checker.RawResults) ([]finding.Finding, string, error) {
for _, wf := range r.Workflows {
if wf.Type == checker.SnykWorkflow {
f, err := finding.NewWith(fs, Probe,
"SAST tool installed: Snyk", nil,
fmt.Sprintf("SAST tool installed: Snyk at location '%v'", wf.File.Path), nil,
finding.OutcomePositive)
if err != nil {
return nil, Probe, fmt.Errorf("create finding: %w", err)
Expand Down

0 comments on commit 15f2dcc

Please sign in to comment.