Skip to content

Commit 13de81b

Browse files
xdxxxdxcaspervg
authored andcommitted
Update Trivy-secrete-scan.yaml
1 parent 5c8348d commit 13de81b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/Trivy-secrete-scan.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88
build:
99
name: Build
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
security-events: write
1114
steps:
1215
- name: Checkout code
1316
uses: actions/checkout@v4
@@ -24,4 +27,4 @@ jobs:
2427
- name: Upload Trivy scan results to GitHub Security tab
2528
uses: github/codeql-action/upload-sarif@v3
2629
with:
27-
sarif_file: 'trivy-results.sarif'
30+
sarif_file: 'trivy-results.sarif'

0 commit comments

Comments
 (0)