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

Add flag to disable Syft hitting toolbox-data.anchore.io #1185

Closed
cpendery opened this issue Aug 30, 2022 · 1 comment
Closed

Add flag to disable Syft hitting toolbox-data.anchore.io #1185

cpendery opened this issue Aug 30, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@cpendery
Copy link
Contributor

cpendery commented Aug 30, 2022

What would you like to be added:
A flag to disable Syft's checking of the most recent version of Syft to prompt for potential update

Why is this needed:
Syft tries to hit Anchore's s3 toolbox on every run, which causes a long delay when running in an air gapped environment.

[0030] ERROR failed to fetch latest version: Get "https://toolbox-data.anchore.io/syft/releases/latest/VERSION": dial tcp 111.11.1.111:443: i/o timeout

Additional Information
Grype provides this under the GRYPE_DB_AUTO_UPDATE environment variable

@cpendery cpendery added the enhancement New feature or request label Aug 30, 2022
@joshbressers
Copy link
Contributor

I think this exists

# enable/disable checking for application updates on startup
# same as SYFT_CHECK_FOR_APP_UPDATE env var
check-for-app-update: true

https://github.com/anchore/syft/blob/main/README.md?plain=1#L427

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants