Skip to content

Add support for attestations #192

Closed

Description

@stevespringett

Myself and others in the OWASP community have been thinking about the need for a general purpose attestation format. Many of us have searched for existing format, without much success. Several industry-specific formats, many human readable formats, both no general purpose machine readable formats seem to exist. Having a standardized attestation format is crucial to scale many of the U.S. and world government efforts around SBOM and secure development and operational practices. Fortunately for us, someone in our very own community has started work on this very thing. It's simple, flexible, and prescriptive, just like CycloneDX is.

This ticket is an enhancement request to add BoA (Bill of Attestations) support to the core spec.

CycloneDX v1.5 has already added support for an attestation external reference, so externalizing BoA from the SBOM would already be possible with v1.5. So it should fit in nicely.

Activity

  1. added this to the 1.5 milestone on Mar 16, 2023
  2. stevespringett commented on Mar 16, 2023

    @stevespringett
    MemberAuthor
  3. johnandersen777 commented on Mar 27, 2023

    @johnandersen777

    Related: in-toto/attestation#165

    We're exploring alignment across in-toto, DIDs, and Verifiable Credentials as well. Would be great if verification of in-toto and CycloneDX style attestations could be consumed by the Verifiable Credentials ecosystem as well.

    Curious to see the POC mentioned :)

    Ping @marcelamelara

  4. planetlevel commented on Mar 27, 2023

    @planetlevel

    What are next steps here? OMB-22-18, PCI, OWASP ASVS, CSF, and many other standards/frameworks could be represented in this manner, including custom assurance cases. Can we convene a working group to make sure we have all the use cases identified?

  5. idunbarh commented on Mar 29, 2023

    @idunbarh
    Contributor

    Awesome to see! Some of the in-toto maintainers are starting a new project called SBOMit with the intent of tracking attestations for components to support cyclonedx/spdx sboms. It would be worthwhile to comparing notes.

    @mnm678 @JustinCappos

  6. colek42 commented on Mar 29, 2023

    @colek42

    Have you seen the in-toto Attestation Framework project? https://github.com/in-toto/attestation

    This project currently has maintainers from Google, VMWare, Intel, TestifySec, and Kusari. Would it make sense to combine efforts? Figuring out how to include or reference in-toto attestation from a cycloneDX document would be my goal from the collaboration.

    I'll add your meeting to my calendar.

  7. adityasaky commented on Mar 29, 2023

    @adityasaky

    I definitely think the in-toto attestations maintainers have incorporated what's described here. We also support cyclonedx documents already as a type of attestation and include semantics for attestations to point out to other ones and so on. cc in-toto/attestation-maintainers (@TomHennen @marcelamelara @pxp928 @joshuagl @mikhailswift)

    Would it make sense to combine efforts? Figuring out how to include or reference in-toto attestation from a cycloneDX document would be my goal from the collaboration.

    +1!

  8. marcelamelara commented on Mar 29, 2023

    @marcelamelara

    I've been following along silently so far. I'd like to understand the requirements here and see how in-toto attestations might support/interoperate this. I don't think I can attend the meeting unfortunately, but am available to discuss offline.

  9. pxp928 commented on Mar 29, 2023

    @pxp928

    I've been following along silently so far. I'd like to understand the requirements here and see how in-toto attestations might support/interoperate this. I don't think I can attend the meeting unfortunately, but am available to discuss offline.

    I can attend the meeting. I am curious to hear the motivations and use cases around this and how we can help.

  10. stevespringett commented on Mar 29, 2023

    @stevespringett
    MemberAuthor

    @colek42 regarding referencing in-Toto attestations, I completely agree that CDX should be able to reference them if available. In fact, CDX v1.5 has nearly doubled the types of external references (relationships) it supports, and one of the new types is attestation which could refer to externalized CDX attestations or in-toto attestations, or both.

    Most of the new reference types are #189

    In general, I see CDX and in-Toto attestations complimenting each other quite well. They both try to solve different things and together could be a powerful combo.

    Would love to get your feedback on viability of this approach.

  11. JustinCappos commented on Mar 30, 2023

    @JustinCappos

    At a glance, this is a near perfect match for what we're trying to do in the SBOMit project, by building on in-toto attestations. To avoid unnecessary NIH-based competition, would it make sense to have someone from your group meet with SBOMit maintainers to discuss the use cases and goals?

    This way both sides can either walk away with a better understanding of what makes their efforts unique or we can figure out how to combine efforts to avoid needless duplication...

  12. stevespringett commented on Mar 30, 2023

    @stevespringett
    MemberAuthor

    @JustinCappos the readme for SBOMit doesn't state the project goals and the term SBOM in the spec is severely limiting. I really dont know what the project is attempting to do. But our aim has nothing to do with SBOM but since CDX isn't an SBOM standard, rather a BOM standard, it makes sense to support bill of attestation use cases. Does SBOMit have clearly articulated goals?

  13. 2 remaining items

  14. added this to the milestone on May 20, 2023
  15. stevespringett commented on May 20, 2023

    @stevespringett
    MemberAuthor

    The working groups have made a ton of progress over the past few months. The idea is to create a dedicated schema specific to attestations. It will all fall under the CycloneDX umbrella, but will initially not be part of the CycloneDX BOM standard. The goal is to have an independent CycloneDX Attestation standard with support in existing CycloneDX tooling to support it. We may incorporate the attestation standard into the BOM standard in a future release. TBD.

    Therefore, moving this out from v1.5 and into its own milestone.

  16. linked a pull request that will close this issue1.6 dev attestations #348on Dec 27, 2023
  17. added a commit that references this issue on Jan 14, 2024
  18. added
    tc54 reviewed
    tc54 accepted
    on Jan 14, 2024
  19. stevespringett commented on Jan 14, 2024

    @stevespringett
    MemberAuthor

    The attestation implementation in #348 has been approved by TC54. Thank you everyone for your contributions.

  20. modified the milestones: , 1.6 on Jan 14, 2024
  21. added a commit that references this issue on Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

proposed core enhancementtc54 acceptedtc54 reviewed

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions