Skip to content

Commit

Permalink
Merge pull request #70 from guidemetothemoon/main
Browse files Browse the repository at this point in the history
Use correct Trivy argument for scanners when options are not provided
  • Loading branch information
srinivasKandukuri authored Jul 24, 2024
2 parents 58fc93f + fcc4321 commit 17eb1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trivy-task/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function configureScan(runner: ToolRunner, type: string, target: string, outputP
if (options.length) {
runner.line(options)
} else {
runner.arg(["--scanner", "vuln,misconfig,secret"])
runner.arg(["--scanners", "vuln,misconfig,secret"])
}

runner.arg(target)
Expand Down

0 comments on commit 17eb1a9

Please sign in to comment.