From 87cb45f16537bc43dd7579458c46bd3901f50b14 Mon Sep 17 00:00:00 2001 From: Jorge Turrado Ferrero Date: Tue, 17 Dec 2024 11:06:56 +0100 Subject: [PATCH] fix: Add required permissions for trivy in the token (#6429) Signed-off-by: Jorge Turrado --- .github/workflows/template-trivy-scan.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/template-trivy-scan.yml b/.github/workflows/template-trivy-scan.yml index 0bee35f0f08..5b26467d30f 100644 --- a/.github/workflows/template-trivy-scan.yml +++ b/.github/workflows/template-trivy-scan.yml @@ -33,6 +33,7 @@ on: permissions: contents: read + security-events: write jobs: trivy-scan: