What would you like to be added:
Syft provides a subcommand to list all catalogers but the implementation of this is in internal. I'm filing this to see if it makes sense to provide a public Go function to list all catalogers for API-based Syft usage.
Why is this needed:
Syft provides public Go APIs to create an SBOM and this includes the ability to add catalogers. However, there doesn't seem to be a way, when using Syft this way rather than via the CLI, to get a list of all catalogers for introspection.
Additional context:
I'm happy to work on a PR to add this if the maintainers think this makes sense. :)
What would you like to be added:
Syft provides a subcommand to list all catalogers but the implementation of this is in
internal. I'm filing this to see if it makes sense to provide a public Go function to list all catalogers for API-based Syft usage.Why is this needed:
Syft provides public Go APIs to create an SBOM and this includes the ability to add catalogers. However, there doesn't seem to be a way, when using Syft this way rather than via the CLI, to get a list of all catalogers for introspection.
Additional context:
I'm happy to work on a PR to add this if the maintainers think this makes sense. :)