Skip to content

Commit

Permalink
feat: Update permissions + add upload step
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekMasher committed Nov 18, 2024
1 parent ee717ff commit 3dc8ff4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/container-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:

permissions:
contents: read
security-events: write

steps:
- name: Checkout repository
Expand Down Expand Up @@ -62,6 +63,12 @@ jobs:
only-fixed: true
fail-build: ${{ inputs.scanning-block }}

- name: Upload SARIF artifact
uses: actions/upload-artifact@v4
with:
name: sarif
path: ${{ steps.scan.outputs.sarif }}

- name: Upload vulnerability report
uses: github/codeql-action/upload-sarif@v3
with:
Expand Down

0 comments on commit 3dc8ff4

Please sign in to comment.