Skip to content
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

Populate known unknowns using standard methods, not by way of error returns #3416

Open
kzantow opened this issue Nov 4, 2024 · 0 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@kzantow
Copy link
Contributor

kzantow commented Nov 4, 2024

Functionality for returning "known unknowns" was implemented in a fairly nonstandard way by bubbling unknowns with errors in order to keep compatibility with the Syft 1.0 APIs.

Assuming we end up with an approach similar to what some discussions revolved around: tasks and catalogers are passed an SBOM object to populate, which has thread-safe functions to perform common tasks like: adding packages, adding relationships, and adding unknowns. This is a placeholder for the latter function: adding unknowns.

@kzantow kzantow added the enhancement New feature or request label Nov 4, 2024
@kzantow kzantow added this to the Syft 2.0 milestone Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant