From 7a35a813e0b960eaea76aed0176e555c8f309a4f Mon Sep 17 00:00:00 2001 From: Kayla Reopelle Date: Thu, 31 Oct 2024 15:55:42 -0700 Subject: [PATCH] Grant security-events write permissions for Trivy --- .github/workflows/security.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 18423fbf79..e03e3ea65a 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -12,6 +12,8 @@ jobs: build: name: Trivy Scan runs-on: ubuntu-latest + permissions: + security-events: write steps: - name: Install Ruby 3.3 uses: ruby/setup-ruby@f26937343756480a8cb3ae1f623b9c8d89ed6984 # tag v1.196.0