Azure Pipelines Task for Verifying Software AttestationsOverviewThe Xygeni Attestation Verifier task can be used to verify software attestations, such as SLSA Provenance, using Xygeni SALT (Software Attestations Layer for Trust), the component for generating, registering and verifying software attestations. The task will receive either the signed attestation file or the ID of the attestation entry in the Attestation Registry, plus the public key or the certificate used to sign the attestation. The subject (typically the final product) could be specified for verification. The subject could be a file or a directory, a container image, the hex-encoded digest (such as the SHA-256 hash of content) of a resource, or a raw string value. Multiple subjects could be specified in a specification of the form
The task will verify the signature of the attestation and the subjects in the attestation passed as arguments. The task will fail if the verification process terminates with error, if the attestation is not found as a local file or in the Attestation Registry, or when the attestation does not verify. When verification succeeds, the task will succeed. When verification fails, the task will terminate with issues. 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 https://docs.xygeni.io/xygeni-products/build-security. Installing the taskGo to the Visual Studio Marketplace, search for Using the task
Task properties
If you want to verify a single subject (e.g. the final build product), you can use the An example is of such an specification for two subject, an executable file and a container image:
LicenseThe task is released under the Apache 2.0 License. |