snyk / parlay

Enrich SBOMs with data from third party services
Apache License 2.0
124 stars 19 forks source link

[DRAFT] feat: add support for CycloneDX XML #24

Closed mcombuechen closed 1 year ago

mcombuechen commented 1 year ago

This adds support for CycloneDX XML as an input format. Format detection is being done by introspecting the bytes of the given document.

In addition to this, an abstract SBOMDocument was introduced which will make it possible to add additional SBOM formats (SPDX 2.x, JSON, YAML etc.) later on.

For now, only the ecosystems command has been extended. If this approach is deemed fine I can extend other commands as well.

TODO

garethr commented 1 year ago

👍 on the approach here. Good stuff.

mcombuechen commented 1 year ago

cheers @garethr , now ready for review.