From d4c6f882b7157ab812b79a262749d6b667931bfa Mon Sep 17 00:00:00 2001 From: Daisuke Sato Date: Tue, 8 Oct 2024 18:31:52 +0900 Subject: [PATCH] fix: Use template to avoid error --- .github/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0957251..2987597 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -66,7 +66,8 @@ jobs: exit-code: '0' vuln-type: 'os,library' severity: 'CRITICAL,HIGH' - format: 'sarif' + format: 'template' + template: '@/contrib/sarif.tpl' output: 'trivy-results.sarif' cache-dir: "./cache" ## Trivy-db uses `0600` permissions.