From 56bcafbec60d92981287741aa64feb195ff4235e Mon Sep 17 00:00:00 2001 From: Tyler Jang Date: Mon, 8 Jul 2024 16:21:16 -0700 Subject: [PATCH] it errors when you do that on first run --- linters/trivy/plugin.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linters/trivy/plugin.yaml b/linters/trivy/plugin.yaml index 0effd330d..de5ac5e1f 100644 --- a/linters/trivy/plugin.yaml +++ b/linters/trivy/plugin.yaml @@ -37,8 +37,8 @@ lint: output: sarif prepare_run: trivy fs --download-db-only --no-progress --cache-dir ${shared_cachedir} run: - trivy fs ${target} --scanners vuln --format json --no-progress --skip-db-update - --cache-dir ${shared_cachedir} + trivy fs ${target} --scanners vuln --format json --no-progress --cache-dir + ${shared_cachedir} success_codes: [0] read_output_from: stdout # Trivy does not support batching