Skip to content

Commit cf953bb

Browse files
priteauUbuntu
authored andcommitted
Disable Trivy telemetry and version check
1 parent 39b3ef6 commit cf953bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/scan-images.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env bash
22
set -eo pipefail
33

4+
# Disable telemetry and version check:
5+
# https://github.com/aquasecurity/trivy/discussions/8945
6+
export TRIVY_DISABLE_TELEMETRY=true
7+
export TRIVY_SKIP_VERSION_CHECK=true
8+
49
# Global variables
510
scan_common_args=" \
611
--exit-code 1 \

0 commit comments

Comments
 (0)