Skip to content

Commit

Permalink
bump Trivy version from 0.24 to 0.28; run hourly until problem is fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
brucehoff committed Nov 4, 2024
1 parent 491d981 commit fe0fa7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
IMAGE_NAME:
required: true
type: string
EXIT_CODE: # # return code for failed scan. 0 means OK. Non-zero will fail the build when there are findings.
EXIT_CODE: # return code for failed scan. 0 means OK. Non-zero will fail the build when there are findings.
required: false
type: number
default: 0
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
}} | docker import - ${{ inputs.IMAGE_NAME }}

- name: Run Trivy vulnerability scanner for any major issues
uses: aquasecurity/trivy-action@0.24.0
uses: aquasecurity/trivy-action@0.28.0
id: trivy
with:
image-ref: ${{ inputs.IMAGE_NAME }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/trivy_periodic_image_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ name: Trivy Periodic Image Scan

on:
schedule:
# run daily
- cron: "0 0 * * *"
# run hourly, 10 minutes after the hour
- cron: "10 * * * *" # daily "0 0 * * *"

jobs:
lower-case:
Expand Down

0 comments on commit fe0fa7d

Please sign in to comment.