From eed7e9d2c28f8f3901b2d124794ce59618330639 Mon Sep 17 00:00:00 2001 From: strangelookingnerd <49242855+strangelookingnerd@users.noreply.github.com> Date: Thu, 8 Aug 2024 12:16:45 +0200 Subject: [PATCH] Update Jenkins Security Scan action --- .github/workflows/jenkins-security-scan.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/jenkins-security-scan.yml b/.github/workflows/jenkins-security-scan.yml index 39cc6805..79b42c8c 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' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate. - java-version: 17 # What version of Java to set up for the build. + # java-version: 21 # Optionally specify what version of Java to set up for the build, or remove to use a recent default.