Skip to content

Commit

Permalink
Add read permissions for Trivy scan in pipeline
Browse files Browse the repository at this point in the history
RISDEV-4542
  • Loading branch information
hamo225 committed Aug 14, 2024
1 parent 6f3a70c commit 0c7c868
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
trivy-scan:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write # upload-sarif
steps:
- name: Checkout code
Expand Down

0 comments on commit 0c7c868

Please sign in to comment.