Skip to content

Commit

Permalink
scope permissions and pin version
Browse files Browse the repository at this point in the history
  • Loading branch information
bschimke95 committed Jul 1, 2024
1 parent 56013ae commit 08b35a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ jobs:
strategy:
matrix:
branch: [master]
permissions: write-all
permissions:
security-events: write
steps:
- name: Checking out repo
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@0.23.0
with:
scan-type: "fs"
ignore-unfixed: true
Expand Down

0 comments on commit 08b35a4

Please sign in to comment.