tektoncd / chains

Supply Chain Security in Tekton Pipelines
Apache License 2.0
248 stars 135 forks source link

Support SLSA 1.0 provenance storage #889

Open chitrangpatel opened 1 year ago

chitrangpatel commented 1 year ago

The formatting for slsa v1.0 provenance was added in Chains Release 0.17.0. However, before declaring that Chains now produces SLSA v1.0 provenance, we need to add support for storage.

This issue highlights all the storage options we need to add support for:

/kind feature

tekton-robot commented 1 year ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale with a justification. Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with /close with a justification. If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle stale

Send feedback to tektoncd/plumbing.

annelled commented 8 months ago

Hi @chitrangpatel I would like to follow up on the status of this ticket since it has been marked as stale.

Has support for storage for OCI been added? I see that the documentation states that "Tekton Chains supports both SLSA v0.2 and v1.0 provenance for both task-level and pipeline-level provenance."

chitrangpatel commented 8 months ago

A lot of these should apply as is to the new provenance type as well. We haven't verified that though. I t might be worth trying if storing the provenance in OCI works out of the box.

annelled commented 8 months ago

@chitrangpatel thank you for your response. I can confirm that we were able to store attestations as OCI (GCR) in the SLSA v1.0 format.

chitrangpatel commented 8 months ago

Thank you for reporting that! I've checked that off the list.