-
Notifications
You must be signed in to change notification settings - Fork 683
Description
What happened:
grype config
prints this section:
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):
run grype config
Anything else we need to know?:
see also anchore/syft#3624
Environment:
- Output of
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 - OS (e.g:
cat /etc/os-release
or similar):
Ubuntu 24.04
Metadata
Metadata
Assignees
Labels
Type
Projects
Status