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(image): Set User-Agent header for Trivy container registry requests #6868

Merged
merged 2 commits into from
Jun 10, 2024

Commits on Jun 6, 2024

  1. Set User-Agent header for Trivy container registry requests

    - Added functionality to set the User-Agent header in Trivy when making requests to container registries.
    - Updated tests to cover the new functionality and ensure that the User-Agent header is properly set.
    
    This enhancement is important for distinguishing requests to container registries, especially when operating Kubernetes clusters at scale in enterprise environments. It aids in tracking and managing Trivy requests more effectively.
    
    Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
    nabokihms committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    3b74bf6 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Satisfy linter

    nabokihms committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    f8eace0 View commit details
    Browse the repository at this point in the history