Skip to content

Commit

Permalink
chore: specify trivy version to avoid issues seen with 0.5x (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
fibble authored Oct 24, 2024
1 parent 65b2dec commit 10fd4a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
with:
image-ref: ${{ steps.build.outputs.imageid }}
skip-dirs: /var/clamav
version: "v0.54.1"
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/security-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
output: "trivy-results.sarif"
severity: "MEDIUM,HIGH,CRITICAL"
limit-severities-for-sarif: true
version: "v0.54.1"
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
- name: Upload Results to GitHub Code Scanning
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/security-terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
output: "trivy-results.sarif"
severity: "CRITICAL"
limit-severities-for-sarif: true
version: "v0.54.1"
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
- name: Upload Results to GitHub Code Scanning
Expand Down

0 comments on commit 10fd4a5

Please sign in to comment.