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

Bug: Creator tool and version could be present in services in the tools section for CDX #264

Closed
riteshnoronha opened this issue Jun 24, 2024 · 2 comments · Fixed by #284
Closed
Assignees

Comments

@riteshnoronha
Copy link
Contributor

Its possible the creator and tool version could be present in the tools->services section for sboms created via api services.

sbom_with_creator_and_version rule should be modified to handle this. This is an CDX only thing.

@viveksahu26
Copy link
Collaborator

Hey @riteshnoronha , few question related to above issue, as I don't have clear understanding of it:

  • Firstly, are you talking about tools present under cdxDoc struct ?
  • Second thing, which rule(sbom_with_creator_and_version) are you talking about ? I am aware of rules or checks that were used for compliance report such as CRA. Or this is something different which I am unaware of ?

@riteshnoronha
Copy link
Contributor Author

We have found that sboms generated via api's in CDX 1.5 and above set the tool used to generate it in the metadata->Tools->Services section. In our current logic we only check Metadata->Tools->Tools and Metatdata->Tools->Components. Yes it impacts sbom_with_creator_and_version rule, so if we parse it correctly and save it in cdxDoc it should just work.

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

Successfully merging a pull request may close this issue.

2 participants