Trivy compliant

This commit is contained in:
Samuel Huang
2024-10-03 21:36:40 +10:00
parent a9c25bbf1f
commit 4d3a971d17
2 changed files with 20 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
name: Trivy-scanning
on:
workflow_dispatch:
push:
branches:
- master
@@ -16,13 +17,12 @@ jobs:
with:
ref: ${{ github.ref }}
-
name: Run Trivy fs vulnerability scanner
name: Run Trivy fs vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@0.20.0
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'template'
template: '@/contrib/sarif.tpl'
format: 'sarif'
output: 'trivy-results.sarif'
#severity: 'CRITICAL'
-