-
Notifications
You must be signed in to change notification settings - Fork 575
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 cataloger list command #2366
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wagoodman
added
enhancement
New feature or request
WIP
work in progress / do not merge
labels
Nov 28, 2023
wagoodman
force-pushed
the
add-cataloger-command
branch
2 times, most recently
from
December 1, 2023 17:21
b61ad23
to
6af5062
Compare
wagoodman
force-pushed
the
refactor-cataloging-api
branch
from
December 15, 2023 22:25
b01001f
to
473605c
Compare
wagoodman
force-pushed
the
add-cataloger-command
branch
from
December 18, 2023 22:40
e1613bd
to
4ec140f
Compare
wagoodman
force-pushed
the
add-cataloger-command
branch
from
January 3, 2024 20:06
4ec140f
to
cf844f8
Compare
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
wagoodman
force-pushed
the
add-cataloger-command
branch
from
January 12, 2024 22:53
cf844f8
to
a84d32d
Compare
Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
spiffcs
approved these changes
Jan 16, 2024
GijsCalis
pushed a commit
to GijsCalis/syft
that referenced
this pull request
Feb 19, 2024
* add cataloger list command Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * add tests Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * chore: tidy go mod Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com> Co-authored-by: Christopher Angelo Phillips <32073428+spiffcs@users.noreply.github.com> Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a command to list out what catalogers are available and what organizational tags you can select them by:
Also allows you to test cataloger selection expressions with
-s
/--select
:Additionally supports being able to get the same information out in json form:
$ syft cataloger list -o json | jq
Where
expressions
show the selection expressions used to get the result:$ syft cataloger list --override-default-catalogers image --select-catalogers -java,-r --select-catalogers -ruby,-rust,-python -o json | jq
Must be merged after #1383