-
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
/api/v1/sbom/{id}/advisory
contains packages without id.
#1043
Comments
At the risk of telling you something you already know, those ID's are universally unique so will never match any other SBOM ingested in anyone else's environment. If you wanted to be pedantic in your already-excellently-detailed steps to reproduce you could do something like:
But it's not necessary. And it's totally fine to refer to your own ID's in your issues, I just wanted to make sure you knew they were meaningless in any db other than your own. Apologies if you already did. 😄 |
yeah, sorry. I was in a hurry and copied and pasted the URLs from my browser. So I used my unique ID from my DB. And thanks for sharing the |
@carlosthe19916 can you try #1048 and see if it works for you |
@JimFuller-RedHat #1041 didn't do the trick, as we need actual component based on name, not the roots. I implemented db version of the functionality for now (#1048) and we can revisit this later if needed. |
Steps to reproduce:
/api/v1/sbom/urn%3Auuid%3A01935352-6dc7-7582-9241-b2577f404d3f/advisory
The response will be similar to
If you see the field
status.packages
then we have a package withoutid
and onlyname
.The problem is that I am using this current data for the image below:
affected dependencies
column you will see a count of packages affected by the Vulnerability.affected dependencies
column then there is supposed to be a table with all packages. Each package is link-able to the PagePackage Details
, which means that for each package it should be possible to go to the Package Details page. For navigating to the UI Package Details page we need an ID for each package.The text was updated successfully, but these errors were encountered: