Skip to content

Commit

Permalink
chore: log false positive result as string (#3582)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgmz authored Nov 10, 2024
1 parent 96e5b01 commit b715613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/detectors/falsepositives.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func FilterKnownFalsePositives(ctx context.Context, detector Detector, results [
}

if isFp, reason := isFalsePositive(result); isFp {
ctx.Logger().V(4).Info("Skipping result: false positive", "result", result.Raw, "reason", reason)
ctx.Logger().V(4).Info("Skipping result: false positive", "result", string(result.Raw), "reason", reason)
continue
}
filteredResults = append(filteredResults, result)
Expand Down

0 comments on commit b715613

Please sign in to comment.