From fcc432186dbb1bd61888549e699c57b352adf497 Mon Sep 17 00:00:00 2001 From: Kristina Devochko Date: Wed, 24 Jul 2024 09:27:46 +0200 Subject: [PATCH] fix: use correct Trivy argument for scanners Signed-off-by: Kristina Devochko --- trivy-task/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trivy-task/index.ts b/trivy-task/index.ts index 838c12b..84a28b8 100644 --- a/trivy-task/index.ts +++ b/trivy-task/index.ts @@ -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)