We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ead103 + 8f6f9fa commit 75df6d5Copy full SHA for 75df6d5
.github/workflows/container-scan.yml
@@ -8,6 +8,11 @@ jobs:
8
container-scan:
9
name: Container Scan
10
runs-on: ubuntu-latest
11
+ permissions:
12
+ security-events: write
13
+ actions: read
14
+ contents: read
15
+
16
steps:
17
- name: Checkout code
18
uses: actions/checkout@v4
@@ -20,11 +25,12 @@ jobs:
20
25
- name: Run Trivy
21
26
uses: aquasecurity/trivy-action@master
22
27
with:
28
+ scan-type: image
23
29
image-ref: 'githubexporter/github-exporter:${{ steps.get-current-version.outputs.version }}'
24
30
format: 'sarif'
31
output: 'trivy-results.sarif'
32
33
- name: Upload Trivy scan results to GitHub Security tab
- uses: github/codeql-action/upload-sarif@v2
34
+ uses: github/codeql-action/upload-sarif@v3
35
36
sarif_file: 'trivy-results.sarif'
0 commit comments