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

Validate the Trivy data cache before scanning #4034

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

cbandy
Copy link
Member

@cbandy cbandy commented Nov 15, 2024

The upstream action caches its data once per date, while Trivy considers the data invalid 24 hours after it was generated. As a result, the action cache is invalid for a significant portion of each day.

Checklist:

  • Have you added an explanation of what your changes do and why you'd like them to be included?
  • Have you updated or added documentation for the change, as applicable?
  • Have you tested your changes on all related environments with successful results, as applicable?
    • Have you added automated tests?

Type of Changes:

  • Testing enhancement

@cbandy cbandy force-pushed the trivy-cache branch 2 times, most recently from 5ec3ea8 to 0172ef4 Compare November 15, 2024 19:01
The upstream action caches its data once per date, while Trivy considers
the data invalid 24 hours after it was generated. As a result, the action
cache is invalid for a significant portion of each day.

Issue: PGO-1893
@cbandy cbandy merged commit 2112c3c into CrunchyData:main Nov 15, 2024
17 checks passed
@cbandy cbandy deleted the trivy-cache branch November 15, 2024 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants