-
Notifications
You must be signed in to change notification settings - Fork 605
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
Supplier information missing in the SBOM #3049
Comments
It looks like we are pulling vendor info syft/syft/pkg/cataloger/redhat/parse_rpm_archive.go Lines 29 to 34 in 034a98f
syft/syft/format/internal/spdxutil/helpers/originator_supplier.go Lines 94 to 101 in 034a98f
We should at the very list start capturing errors to a trace log (they are currently being thrown away) so we can get more visibility into this. |
Hi Alex, If we could have a fix, it would be helpful for us. Regards |
Hi @Naranthiran -- are you able to provide a public image or other steps to reproduce this problem? We have test RPMs that include the vendor information and this information gets properly output as SPDX suppliers, so there may be something else going on here. Example (from this repo):
... includes:
I've added a PR that logs errors when parsing these, it would need debug logging enabled ( It's possible the RPMs you are scanning simply may be missing this information, but there could be something else going on here. Without more information it will be hard to make any more changes to improve this, though. |
HI Keith Zantow, I am trying to generate the SBOM with RedHat 7.9 packages. Steps to reproduce: 2)Run the below command to generate the SBOM. 3)Import the SBOM generated in the SBOM editor and check the supplier info against the package. Regards |
Hi Keith Zantow, Were you able to reproduce the issue? Please let me know if any inputs are required from my side.. Regards |
Since BlackDuck team does not have a separate to analyze the SBOM I was not able to give you an update.
But I have one more query regarding the SBOM generated using the syft tool.
I am using the below command to generate the SBOM. I have also attached the SBOM for your reference.
#syft dir:/home/RHEL7WORK/ -o spdx-json=071724minimalos.spdx.json
We have not able to get the supplier information in the SBOM generated. We are using SBOM editor for reviewing the SBOM.
Can you check SBOM and confirm what could be the issue with supplier information or it's available in SBOM and not visible only in the SBOM editor. And are there any tools to check the supplier information?
071724minimalos.spdx.json
Regards
Naranthiran Duraisamy
Originally posted by @Naranthiran in #2840 (comment)
The text was updated successfully, but these errors were encountered: