Azure Pipelines Task for Xygeni Build AttestationOverviewThis task can be used to generate a SLSA Provenance attestation for a build in Azure Pipelines. The task uses Xygeni SALT (Software Attestations Layer for Trust), the component for generating, registering and verifying software attestations. Need some help to understand Software Attestations? Visit Build Security Concepts, where Software Attestations and SLSA Provenance are described. For more information on Xygeni Build Attestation (SALT), visit Xygeni Build Security. Software Attestations and SLSA ProvenanceA software attestation is an assertion made about a piece of software. A software attestation is an authenticated statement (metadata) about a software artifact or collection of software artifacts. Attestations provide a verifiable record of the steps done for building the final software artifacts, including input materials for each step and the build commands run. A provenance attestation is a statement about how, when and where a software artifact was built. The SLSA standard defines a provenance attestation format and model. This task automates the process of generating SLSA Provenance attestations using Xygeni SALT, linking input sources with generated artifacts such as executables and images. Installing the taskGo to the Visual Studio Marketplace, search for Using the task
Task propertiesThe task has the following properties:
Keyless mode (ephemeral key will be generated, certified and registered in a transparency log) is the default mode. If you prefer to use your own keys for signing and verification of attestations, set The 'keyless' mode is described in Keyless signing and in using keyless signatures. Working with attestationsOnce the provenance attestation is generate, it could be distributed along with the software artifact(s) referenced. The attestation is by default registered in the transparency log of Xygeni, and stored as a local file that could be published as artifacts for the build, and also stored in your registry of choice. For example, a container image could have the provenance attestation co-located with the image in the same OCI registry, so consumers of the image may use it to verify the provenance and use it as a source of trust. Xygeni SALT supports other attestation formats. LicenseThe task is released under the Apache 2.0 License. |