Skip to content

Commit 920fad2

Browse files
authored
docs: document how to disable check.trivy.dev connections (aquasecurity#10623)
1 parent d4ac98a commit 920fad2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/guide/advanced/air-gap.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,11 @@ There's no way to leverage Maven Central in a network-restricted environment, bu
8080

8181
Trivy [checks for updates](../configuration/others.md#check-for-updates) and [collects usage telemetry](../advanced/telemetry.md) by connecting to the following domain: `https://check.trivy.dev`.
8282
Connectivity with this domain is entirely optional and is not necessary for the normal operation of Trivy.
83+
84+
To prevent Trivy from connecting to `check.trivy.dev`, disable both the version check and telemetry collection explicitly:
85+
86+
```bash
87+
trivy image --skip-version-check --disable-telemetry <image>
88+
```
89+
90+
Note that these are two independent features controlled by separate flags — using only one of them is not sufficient to prevent all connections to this domain.

0 commit comments

Comments
 (0)