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

Add SBOM update mechanism #7

Open
javihernandez opened this issue Sep 20, 2022 · 2 comments
Open

Add SBOM update mechanism #7

javihernandez opened this issue Sep 20, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@javihernandez
Copy link
Member

In the near future, and as the artifacts that the AlmaLinux Build System produces change over time, we should need to provide a way to update already existing SBOMs.

I've made a question to cyclonedx-python-lib guys and apparently, this is something they're already working on. We should keep an eye on them and include their work on that as soon as is released.

@javihernandez javihernandez added the enhancement New feature or request label Sep 20, 2022
@javihernandez
Copy link
Member Author

javihernandez commented Sep 21, 2022

I've taken some time to briefly test the WIP on the support for deserialization from JSON and XML that CycloneDX people are working on and so far:

  • They provide a new way to create an SBOM model by using either Bom.from_json and Bom.from_xml
  • Also, the version field is now editable
  • I tested that with the output we provide already, everything works as expected

As far as I can tell, the only missing thing when reusing an already generated SBOM is that the bom-ref field ends up like this "bom-ref": {}, and the dependencies block ends up like this

"dependencies": [
    {
        "ref": {}
    }
]

Which is maybe related to the fact that the PR is still a draft 😅

@stevespringett
Copy link

Thanks for adding support for CycloneDX, @javihernandez. Not sure if the maintainers are aware of the few issues you've outlined, but I'd recommend adding them to the ticket so they're addressed.

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: Backlog
Development

No branches or pull requests

2 participants