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

feat(cli): Add new version checking #8552

Open
owenrumney opened this issue Mar 14, 2025 · 0 comments · May be fixed by #8553
Open

feat(cli): Add new version checking #8552

owenrumney opened this issue Mar 14, 2025 · 0 comments · May be fixed by #8553
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@owenrumney
Copy link
Member

owenrumney commented Mar 14, 2025

Description

Add a mechanism to best efforts get the latest version and report back to the user if there is a newer version of Trivy than the one that they're using.

The version check should not be performed when the user is using the -q/--quiet or --no-notices flags.

https://api.trivy.cloud/check is available to return the payload with latest version and any interesting announcements.

The check process must not be inline with the normal flow of Trivy and should attempt to get the version during running and print the details to stderr at the end of the run if available.

@owenrumney owenrumney added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 14, 2025
@owenrumney owenrumney changed the title feat: Add new version checking feat(cli): Add new version checking Mar 14, 2025
@owenrumney owenrumney self-assigned this Mar 14, 2025
@owenrumney owenrumney linked a pull request Mar 14, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant