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

chore: add grype version to application update check headers #2021

Merged

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Jul 31, 2024

In order to better understand which versions of grype are in use, this PR just adds a User-Agent header that is set when grype checks for updates, which only includes the application name and version. This behavior matches what Syft is doing.

Signed-off-by: Keith Zantow <kzantow@gmail.com>
@kzantow kzantow force-pushed the chore/add-update-check-user-agent branch from aac9dc4 to 4926e3b Compare July 31, 2024 02:52
@kzantow kzantow merged commit bada7d5 into anchore:main Aug 1, 2024
10 checks passed
@kzantow kzantow deleted the chore/add-update-check-user-agent branch August 1, 2024 18:16
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