Skip to content

Commit

Permalink
Set up critical CVE scan
Browse files Browse the repository at this point in the history
  • Loading branch information
J4bbi committed Dec 16, 2024
1 parent 0f9f858 commit ca569c9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/cve-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Trivy CVE Scan

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
trivy-scan:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run Trivy vulnerability scan
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
severity: 'CRITICAL'
ignore-unfixed: true
format: 'table'
exit-code: '1'

0 comments on commit ca569c9

Please sign in to comment.