"grype config" output swaps comments for search-indexed-archives / search-unindexed-archives · Issue #2409 · anchore/grype · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
search:
# selection of layers to analyze, options=[squashed all-layers] (env: GRYPE_SEARCH_SCOPE)
scope: 'squashed'
# search within archives that do contain a file index to search against (zip)
# note: for now this only applies to the java package cataloger (env: GRYPE_SEARCH_UNINDEXED_ARCHIVES)
unindexed-archives: false
# search within archives that do not contain a file index to search against (tar, tar.gz, tar.bz2, etc)
# note: enabling this may result in a performance impact since all discovered compressed tars will be decompressed
# note: for now this only applies to the java package cataloger (env: GRYPE_SEARCH_INDEXED_ARCHIVES)
indexed-archives: true
What you expected to happen:
the following section instead:
search:
# selection of layers to analyze, options=[squashed all-layers] (env: GRYPE_SEARCH_SCOPE)
scope: 'squashed'
# search within archives that do not contain a file index to search against (tar, tar.gz, tar.bz2, etc)
# note: enabling this may result in a performance impact since all discovered compressed tars will be decompressed
# note: for now this only applies to the java package cataloger (env: GRYPE_SEARCH_INDEXED_ARCHIVES)
unindexed-archives: false
# search within archives that do contain a file index to search against (zip)
# note: for now this only applies to the java package cataloger (env: GRYPE_SEARCH_UNINDEXED_ARCHIVES)
indexed-archives: true
How to reproduce it (as minimally and precisely as possible):
e4711s
changed the title
grypeconfig output swaps comments for search-indexed-archives / search-unindexed-archives
grype config output swaps comments for search-indexed-archives / search-unindexed-archives
Jan 28, 2025
e4711s
changed the title
grype config output swaps comments for search-indexed-archives / search-unindexed-archives
"grype config" output swaps comments for search-indexed-archives / search-unindexed-archives
Jan 28, 2025
What happened:
grype config
prints this section:What you expected to happen:
the following section instead:
How to reproduce it (as minimally and precisely as possible):
run
grype config
Anything else we need to know?:
see also anchore/syft#3624
Environment:
grype version
:Application: grype
Version: 0.87.0
BuildDate: 2025-01-22T20:51:16Z
GitCommit: 247f5d7
GitDescription: v0.87.0
Platform: linux/amd64
GoVersion: go1.23.4
Compiler: gc
Syft Version: v1.19.0
cat /etc/os-release
or similar):Ubuntu 24.04
The text was updated successfully, but these errors were encountered: