-
Notifications
You must be signed in to change notification settings - Fork 21
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
SBOMs using package
tab in the Package details page looks broken
#1163
Comments
@carlosthe19916 explained (in the matrix channel)
|
This commit 52fce44#diff-abdf786058d674c66d96b4193ca72745bdc4d422f077278f649ec7b89ce48b81 changed the API, so that it now requires either purl or cpe for this API endpoint. We can:
@ctron was the change intentional? |
Yes it was. As it was a pain passing through the |
@carlosthe19916 can you give a try with the change to pass the purl to the endpoint? |
Hi guys, However is it possible to pass Reasons:
I think |
I think that the idea of "ID" is flawed. Which came up when adding the "CPE". If we'd add "ID" back, we'd also need a "CPE ID" in addition. Also, there actually is an ID, which is the ID of the package (not the PURL). In those other cases you mentioned, IDs actually are IDs. I think all places returning purls, actually do return purls, which you can use directly. If we have another endpoint which returns the UUID of a PURL, we might want to amend that to return the actual PURL in addition. |
Ok. The UI now is aligned with those changes. We can close this ticket |
The error message suggests the UI is calling using the UUID, i.e. http://localhost:3000/api/v2/sbom/by-package?id=1ac154ff-3a4b-5263-8479-8759d20ef066&limit=10&offset=0, but the API is expecting a purl or a cpe, i.e.
The text was updated successfully, but these errors were encountered: