Skip to content

2.3.0

2.3.0 #3580

Workflow file for this run

name: PR Creation Scan
on:
pull_request:
branches: [ "main" ]
jobs:
# https://github.com/marketplace/actions/aqua-security-trivy
trivy-repo:
name: Trivy-Repo
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/[email protected]
with:
scan-type: "fs"
ignore-unfixed: true
format: "sarif"
output: "trivy-results.sarif"
severity: "CRITICAL"
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: "trivy-results.sarif"