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

Import CycloneDx request from sFractal #3

Closed
sparrell opened this issue Sep 20, 2020 · 6 comments
Closed

Import CycloneDx request from sFractal #3

sparrell opened this issue Sep 20, 2020 · 6 comments
Assignees

Comments

@sparrell
Copy link

Many build tools create CycloneDx SBOMs. Having import-CycloneDx button (similar to import-spdx and import-excel) would save me typing them into form or making fake SBoM and using hierarchy features.

@sei-vsarvepalli
Copy link
Contributor

Hi Duncan,

Thanks for creating this. I know you had asked for it I had dropped the ball! Can you provide samples apart from what I generate so I can have a wider corpus to test import of CycloneDx. CylconeDX JSON and XML if possible for each scenario below will be helpful

  1. Simple SBOM with one product and two sub-components included in a single-tier relationship
  2. SBOM with three or more levels of relationship between sub-components.
  3. SBOM with an external relationship either embedded into one CycloneDX file or as two distinct CycloneDX files

Thanks

@sei-vsarvepalli sei-vsarvepalli self-assigned this Sep 20, 2020
@sparrell
Copy link
Author

sparrell commented Sep 20, 2020 via email

@sei-vsarvepalli
Copy link
Contributor

Hi Duncan,

I have been running some sample parsers on CycloneDX. There are a number of challenges in reliably parsing CycloneDX both XML and JSON.

  1. There are too many options for the same information - like vendor/supplier/manufacture/publisher these are not tags but distinct fields making it sort of difficult to look for both or either or
  2. The XML and JSON parsers with verification to the XML Namespace and JSON Schema require a number of schema information downloaded and then loaded in memory. This opens so many other issues like performance, cross-site security, unparseable errors.

I am going to put this "on hold" for now, due to all these challenges.

Vijay

@sparrell
Copy link
Author

sparrell commented Sep 24, 2020 via email

@sei-vsarvepalli
Copy link
Contributor

Yes,
Correct Duncan. Parsing CycloneDX is put on hold for now as it involves quite a bit of development and a corpus of documents to test against. I believe these will be both happen eventually, as demand increases, then I can put in time or muster up resources internally to take this up.

Vijay

@sei-vsarvepalli
Copy link
Contributor

Cyclone DX JSON is available for output now.

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

No branches or pull requests

2 participants