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

Offer Cyclonedx Builder interface #346

Open
thompson-tomo opened this issue Sep 1, 2024 · 0 comments
Open

Offer Cyclonedx Builder interface #346

thompson-tomo opened this issue Sep 1, 2024 · 0 comments

Comments

@thompson-tomo
Copy link
Contributor

thompson-tomo commented Sep 1, 2024

There should be the ability to chain extension methods together which are used to build a cyclonedx bom.

Primary extension method is otel & spdx

var CycloneDxBom = new CycloneDxBuilder()
.AddMetaData(new MetaData(){})
.AddSdpx(new SpdxBom())
.AddOtelResourceInfo(new Resource(){})
.AddNPMPackages(new String())
.AddNugetPackages(new String())
......
.Build();

Developers can then implement packages of extensions to add custom info to the bom & then eventually the cli could switch to this builder.

As part of this the SPDX extension should be using https://github.com/microsoft/sbom-tool

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

1 participant