Skip to content

refactor: trivy scan to table format #4

refactor: trivy scan to table format

refactor: trivy scan to table format #4

Workflow file for this run

name: trivy check
on:
pull_request:
branches:
- master
- feature/trivy_remove_upload
push:
branches:
- master
- feature/trivy_remove_upload
jobs:
trivy:
permissions:
# for github/codeql-action/upload-sarif to upload SARIF results
security-events: write
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@0.24.0
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'table'
exit-code: '1'
severity: 'CRITICAL,HIGH'