Skip to content

input validation

input validation #59

Workflow file for this run

---
name: Trivy Security Check
on:
push:
branches:
- main
pull_request:
jobs:
trivy-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/[email protected]
with:
scan-type: "fs"
ignore-unfixed: true
exit-code: '1'
format: "sarif"
output: "trivy-results.sarif"
severity: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL"
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: "trivy-results.sarif"