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.
1 parent 23dfe52 commit 03a160bCopy full SHA for 03a160b
.github/workflows/unit-sec-test.yml
@@ -63,12 +63,11 @@ jobs:
63
docker build -t awesome-fastapi:${{ github.sha }} . ###- This section needed to be added becasue the image was not persisting between jobs--##
64
65
- name: Run Trivy vulnerability scanner
66
- uses: aquasecurity/trivy-action@7b7aa264d83dc58691451798b4d117d53d21edfe
+ uses: aquasecurity/trivy-action@0.28.0
67
with:
68
image-ref: 'awesome-fastapi:${{ github.sha }}'
69
- format: 'template'
70
- template: '@/contrib/sarif.tpl'
71
- output: 'GitHub Actions/Trivy Automation'
+ format: 'sarif'
+ output: 'trivy-results.sarif'
72
severity: 'CRITICAL,HIGH'
73
74
- name: Upload Trivy scan results to GitHub Security tab
0 commit comments