Skip to content

feat: Rtsp output

feat: Rtsp output #36

Workflow file for this run

name: trivy code scan
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
trivy_scan:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
name: trivy scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@0.28.0
with:
scan-type: 'fs'
scan-ref: '.'
format: 'sarif'
output: 'trivy-results.sarif'
trivy-config: ./github/.trivyConf.yaml
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3.27.3
with:
sarif_file: 'trivy-results.sarif'