Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump latest trivy release and remove update db workflow #3319

Merged
merged 3 commits into from
Dec 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/trivy-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
if: github.event.client_payload.image != ''
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 # v0.28.0
with:
version: 'latest'
DaMandal0rian marked this conversation as resolved.
Show resolved Hide resolved
image-ref: ${{ github.event.client_payload.image }}
cache: 'true'
format: "sarif"
Expand All @@ -58,8 +59,6 @@ jobs:
severity: "CRITICAL,HIGH"
env:
TRIVY_CACHE_DIR: .cache/trivy
TRIVY_SKIP_DB_UPDATE: true
TRIVY_SKIP_JAVA_DB_UPDATE: true

# Upload image scan results
- name: Upload Trivy image scan results
Expand All @@ -72,6 +71,7 @@ jobs:
- name: Run Trivy filesystem scan
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 # v0.28.0
with:
version: 'latest'
scan-type: 'fs'
cache: 'true'
format: 'sarif'
Expand All @@ -80,8 +80,6 @@ jobs:
ignore-unfixed: true
env:
TRIVY_CACHE_DIR: .cache/trivy
TRIVY_SKIP_DB_UPDATE: true
TRIVY_SKIP_JAVA_DB_UPDATE: true

# Upload filesystem scan results
- name: Upload Trivy filesystem scan results
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/update-trivy-db.yml

This file was deleted.

Loading