Skip to content

ci: integrate Trivy vulnerability scanning into CI workflow #1

ci: integrate Trivy vulnerability scanning into CI workflow

ci: integrate Trivy vulnerability scanning into CI workflow #1

Workflow file for this run

name: Trivy Vulnerability Scan
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
trivy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/[email protected]
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'table'
exit-code: '1'
severity: 'CRITICAL,HIGH,MEDIUM'