Skip to content

Commit c5fb246

Browse files
committed
use trivy for sbom scan
1 parent 2b3ddfd commit c5fb246

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/quality-checks.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,14 @@ jobs:
174174
run: make test
175175

176176
- name: Generate and check SBOMs
177-
uses: NHSDigital/eps-action-sbom@7684ce6314e515df7b7929fac08b4464f8a03d06
177+
uses: aquasecurity/trivy-action@0.33.1
178+
with:
179+
scan-type: "fs"
180+
scan-ref: "."
181+
severity: "CRITICAL,HIGH"
182+
format: "table"
183+
output: "dependency-results.txt"
184+
exit-code: "1"
178185

179186
- name: "check is SONAR_TOKEN exists"
180187
env:

0 commit comments

Comments
 (0)