Skip to content

Expose an interface to list catalogers #4992

Description

@adityasaky

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. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions