Skip to content
Discussion options

You must be logged in to vote

Good point, and it's a fair one — let me explain what actually happens under the hood.

This is a design specific to how Trivy works: we have only one endpoint, which serves both purposes at once — it receives the telemetry and returns the version information.
There is no separate telemetry-only channel, and the telemetry is sent as headers on that very same request.

So when you disable the version check, you don't disable the request to the endpoint.
What happens is: the telemetry data is still sent, the version is still received and parsed — but afterwards it is simply not compared against your current CLI version, because of the flag.
In other words, --skip-version-check suppresses the …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mtcolman
Comment options

@DmitriyLewen
Comment options

Answer selected by mtcolman
@mtcolman
Comment options

@DmitriyLewen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants