syft
syft copied to clipboard
Continue - Option to enable specific language or ecosystem cataloger
Hi PR is the continue work on https://github.com/anchore/syft/pull/843.
- Rename flag from
enable-catalogers
tocatalogers
configuration - Add
-C
--cataloger
command line argument. - Flags support remove of cataloger suffix.
syft packages busybox:latest -C java-cataloger -C apkdb
- Added
cataloger-group
flag which selects the group catalogers. Supported groupIndex, installed, all
. - Empty group - select default group ( Dir:Index, Image:installed)
syft packages busybox:latest -C javascript-lock-cataloger --cataloger-group all -vv
syft packages dir:./cmd --cataloger-group install -vv
@houdini91 I have not forgotten about this PR. I just added it to our internal board now so I'll start working on getting you a review as soon as I can carve out some time.
Just a quick update - it looks like @wagoodman has pulled in the configuration cataloger work under joint issue #1039 with the PR via #1038.
@houdini91 I'm going to close this PR since we have another PR that hooks into the new API proposed in #558 (#1383). The new PR lacks some features from this PR (such as cataloger groups) but this PR would essentially need to be rewritten based on the upcoming changes.
If you're still interested in some of these features please feel free to reach out and I'd be happy to work with you!