ci: update vulnerability check to use Trivy scan
Some checks failed
CI/CD Pipeline / Quick Checks (pull_request) Successful in 20s
CI/CD Pipeline / ESLint (pull_request) Successful in 11s
CI/CD Pipeline / Build Application (pull_request) Has been cancelled
CI/CD Pipeline / Security Audit (pull_request) Has been cancelled
CI/CD Pipeline / Test & Coverage (pull_request) Has been cancelled

This commit is contained in:
2025-05-27 13:14:11 +02:00
parent 91ecb445fc
commit b8f32308c0

View File

@ -198,8 +198,10 @@ jobs:
- name: Install dependencies (if cache miss)
run: bun install --frozen-lockfile
- name: Run security audit
run: bun audit --audit-level moderate
- name: Run dependency vulnerability check
run: bunx audit-ci --moderate --report-type summary
- name: Run Trivy vulnerability scan
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
format: 'sarif'
output: 'trivy-results.sarif'