syft icon indicating copy to clipboard operation
syft copied to clipboard

Continue - Option to enable specific language or ecosystem cataloger

Open houdini91 opened this issue 2 years ago • 2 comments

Hi PR is the continue work on https://github.com/anchore/syft/pull/843.

  • Rename flag from enable-catalogers to catalogers 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 group Index, 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 avatar Mar 14 '22 10:03 houdini91

@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.

spiffcs avatar May 26 '22 15:05 spiffcs

Just a quick update - it looks like @wagoodman has pulled in the configuration cataloger work under joint issue #1039 with the PR via #1038.

spiffcs avatar Jun 14 '22 17:06 spiffcs

@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!

wagoodman avatar Jan 11 '23 18:01 wagoodman