From e45cd47b1162fb1ea42aaca4696d4decdf451764 Mon Sep 17 00:00:00 2001 From: strangelookingnerd <49242855+strangelookingnerd@users.noreply.github.com> Date: Thu, 8 Aug 2024 13:42:32 +0200 Subject: [PATCH] Update Jenkins Security Scan action (#281) --- .github/workflows/jenkins-security-scan.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/jenkins-security-scan.yml b/.github/workflows/jenkins-security-scan.yml index 6890641d..a6712817 100644 --- a/.github/workflows/jenkins-security-scan.yml +++ b/.github/workflows/jenkins-security-scan.yml @@ -7,9 +7,14 @@ on: types: [ opened, synchronize, reopened ] workflow_dispatch: +permissions: + security-events: write + contents: read + actions: read + jobs: security-scan: uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2 with: - java-cache: 'maven' - java-version: 17 # What version of Java to set up for the build. + java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate. + # java-version: 21 # Optionally specify what version of Java to set up for the build, or remove to use a recent default.