docs: clarify debug logs when version check or telemetry is disabled - #10984
Open
DmitriyLewen wants to merge 1 commit into
Open
docs: clarify debug logs when version check or telemetry is disabled#10984DmitriyLewen wants to merge 1 commit into
DmitriyLewen wants to merge 1 commit into
Conversation
DmitriyLewen
marked this pull request as ready for review
July 22, 2026 12:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
When
--skip-version-checkis used without--disable-telemetry, the request tocheck.trivy.devis still sent to deliver anonymous telemetry, but the debug log misleadingly saysRunning version check.This confused a user in discussion #10971 into thinking the flag does not work.
This PR makes the debug log messages accurately reflect the actual flag combination:
Skipping update check and metric pingVersion check and telemetry are disabled, skipping request--skip-version-checkonlyRunning version checkVersion check is disabled, sending anonymous telemetry only--disable-telemetryonlyRunning version checkTelemetry is disabled, running version check onlyRunning version checkRunning version check and sending anonymous telemetry--skip-version-checkVersion check completed latest_version=...Telemetry sentVersion check completed latest_version=...Version check completed latest_version=...(unchanged)The docs are also updated: the
Check for updatesandTelemetrysections now cross-reference each other and note that both features share a single request tocheck.trivy.dev, linking to the Check updates service section of the air-gap guide.Before
$ trivy config -d --skip-version-check . ... DEBUG [notification] Running version checkAfter
$ trivy config -d --skip-version-check . ... DEBUG [notification] Version check is disabled, sending anonymous telemetry onlyRelated issues
Checklist