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

Replace sbom/advisory upload API's with a single doc upload API #1083

Open
jcrossley3 opened this issue Dec 6, 2024 · 0 comments
Open

Replace sbom/advisory upload API's with a single doc upload API #1083

jcrossley3 opened this issue Dec 6, 2024 · 0 comments

Comments

@jcrossley3
Copy link
Contributor

When uploading docs through the UI, I was bothered by it forcing me to choose whether I was uploading an SBOM or an Advisory. This puts an unnecessary burden on the user. We should accept whatever doc they give us and ingest it if we can.

We already have the capability to detect doc formats, but our API for uploading docs predates that ability: it forces the caller to know whether they're uploading an sbom or an advisory.

I think we should simplify the API (reduce the two fn's to a single one) thereby simplifying the UI and hence enhancing the user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant