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

Add CycloneDX examples of real manifests #42

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add CycloneDX examples of real manifests #42

wants to merge 3 commits into from

Conversation

mprpic
Copy link
Member

@mprpic mprpic commented Nov 20, 2024

Couple items still to-do:

  • Fill in checksums in RPM example
  • Mandrel example is limited to just two components, not the full thing
  • Script all of this out
  • Release manifests for RPM is missing multiple purls for all but one component (to show as an example)
  • Container image example is only done for one arch
  • Docs need to be updated with CDX descriptions
  • Update RPM relationship of SRPM to binary RPMs to use provides instead of dependsOn:
"dependencies": [
  {
  	"ref": "pkg:rpm/redhat/[email protected]_2?arch=src",
    "provides": [
      "pkg:rpm/redhat/[email protected]_2?arch=aarch64",
...

This also bumps CycloneDX to 1.6 so we can use multiple purls and CPEs for one component.

Checksums for RPM in SPDX have been changed to:

  • include the SHA256 checksum in the main hashes object
  • include sigmd5 and sha256 of the header in annotations
    Docs have been updated to explain the values.

Copy link

@kgrant-rh kgrant-rh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

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 this pull request may close these issues.

4 participants