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 support for SBOM attestations #730

Closed
wants to merge 3 commits into from
Closed

Commits on Aug 11, 2023

  1. Add support for SBOM attestations

    This commit teaches Chains to create SBOM attestations based on type
    hinting results from TaskRuns.
    
    The general idea is that a Task generates the SBOM, then uploads it as a
    blob to an OCI registry. Chains then downloads the blob and uses it as
    the payload when creating the SBOM in-toto attestation.
    
    Multiple SBOMs per image are allowed. They may be of different formats.
    
    Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
    lcarva committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    4c99afa View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Disable multi-image SBOM support

    The IMAGES type-hinting result allows a TaskRun to provide a dynamically
    sized list of images to be processed by Chains. In the case of SLSA
    Provenance, one statement is created which contains in its list of
    subjects all the images from the result. This makes sense as these
    images do share provenance.
    
    The SBOMS type-hinting result was meant to add support for SBOM when
    the IMAGES result is used. However, unlike SLSA Provenance, an SBOM is
    usually descriptive of a single image. This means that the order of the
    items in the SBOMS result must match the order of the images in the
    IMAGES result. This can be problematic.
    
    This commit drops support for the SBOMS type-hinting result, and the
    corresponding SBOMS_FORMAT, to avoid confusion. If we want to
    re-introduce it, let's make sure that Chains can provide some sort of
    assurance regarding the order of the SBOMs matching the order of the
    images.
    
    Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
    lcarva committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    436fd2f View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Remove appContext

    Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
    lcarva committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    c6069f5 View commit details
    Browse the repository at this point in the history