Skip to content

Commit

Permalink
Update trivy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjingz authored Nov 26, 2024
1 parent 6a072fc commit 6775b37
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
sudo systemctl daemon-reload
sudo systemctl restart docker
cd ./ivsr_ffmpeg_plugin
./build_docker.sh --enable_ov_patch false --ov_version 2023.2
./build_docker.sh --enable_ov_patch false
- name: Check disk space
run: df -h

Expand All @@ -64,14 +64,17 @@ jobs:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db
with:
image-ref: 'ffmpeg_ivsr_sdk_ov2023.2'
scan-type: 'image'
image-ref: 'ffmpeg_ivsr_sdk_ov2022.3'
#format: 'template'
#template: '@/contrib/sarif.tpl'
security-checks: vuln
#cache: 'true'
format: 'sarif'
ignore-unfixed: true
vuln-type: 'os,library'
output: 'trivy-ivsr-results.sarif'
severity: 'CRITICAL,HIGH'
severity: 'CRITICAL'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
Expand Down

0 comments on commit 6775b37

Please sign in to comment.