component-detection icon indicating copy to clipboard operation
component-detection copied to clipboard

feat: SBOM output format

Open JamieMagee opened this issue 3 years ago • 6 comments

This PR adds support for a new --ManifestFileFormat flag which accepts:

  • ComponentDetection
  • CycloneDx
  • SPDX

Currently ComponentDetection (default) and CycloneDx are implemented, with plans to implement SPDX once the proof-of-concept is accepted.

JamieMagee avatar May 02 '22 21:05 JamieMagee

👋 Hi! It looks like you modified some files in the Detectors folder. You may need to bump the detector versions if any of the following scenarios apply:

  • The detector detects more or fewer components than before
  • The detector generates different parent/child graph relationships than before
  • The detector generates different devDependencies values than before

If none of the above scenarios apply, feel free to ignore this comment 🙂

github-actions[bot] avatar May 02 '22 21:05 github-actions[bot]

@coderpatros does the CycloneDx mapper contain enough information? Is there anything I am missing?

JamieMagee avatar May 17 '22 22:05 JamieMagee

@JamieMagee I can't remember if I've mentioned this to you before. But we also have a CycloneDX.Spdx NuGet package. It has SPDX data models and a JSON serializer implemented. Doco is here https://cyclonedx.github.io/cyclonedx-dotnet-library/api/CycloneDX.Spdx.Models.v2_2.html

coderpatros avatar May 17 '22 23:05 coderpatros

Build failures are related to https://github.com/dotnet/runtime/issues/61602

JamieMagee avatar Jul 04 '22 05:07 JamieMagee

@JamieMagee I'm really interested by this PR. Now that you fully switched to .NET 6, rebasing this work on top of main should solve previous build failures related to Json/.NET Core 3.x. What do you think ? Thanks!

sailro avatar Dec 15 '22 08:12 sailro

👋 Hi! It looks like you modified some files in the Detectors folder. You may need to bump the detector versions if any of the following scenarios apply:

  • The detector detects more or fewer components than before
  • The detector generates different parent/child graph relationships than before
  • The detector generates different devDependencies values than before

If none of the above scenarios apply, feel free to ignore this comment 🙂

github-actions[bot] avatar Jan 04 '23 19:01 github-actions[bot]