Skip to content

enable in-toto attestation for job's artifacts

Pierrick Seite requested to merge slsa-job-artifacts into main

What does this MR do and why?

This MR adds attestation metadata for all build artifacts to enable SLSA provenance (metadata about how an artifact was produced)

Provenance is the verifiable information about software artifacts describing where, when, and how something was produced.

Limitation: the attestation is not yet digitally signed (cf. gitlab-org/gitlab-runner#29063), the signature is covered by !664 (closed).

At the end, the attestation is added to the artifacts. The provenance file is named artifacts-metadata.json.

Related reference(s)

Test coverage

check a job's artifact named artifacts-metadata.json or {ARTIFACT_NAME}-metadata.json

Edited by Pierrick Seite

Merge request reports