-
Notifications
You must be signed in to change notification settings - Fork 130
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
Remove TaskRunResults from slsa/v2alpha1
#750
Comments
/kind bug |
Runtime information, like TaskRun results, is super valuable when writing advanced policies. The new SLSA spec will have a place for this under byproducts, see #649. But I think that may not be sufficient. For instance, tracking the order the TaskRuns were executed might be challenging. We may want to introduce a new predicate that includes pretty much the whole TaskRun/PipelineRun resource. That way, Chains can generate a very clean SLSA Provenance attestation which makes most users happy. But also a Chains specific attestation for those of us who need additional information in their policies. |
+1 to what @lcarva said. There's still value in storing the result values, though I'm fine if we move them out of I like the idea of attaching the full spec as it's own separate attestation that's linked to from the main SLSA attestation. This is also a nice pattern to let us eventually attach additional attestations like Pod spec as well. |
The challenge is that in If we need more information then we can do what @lcarva suggested - i.e. implement a chains specific attestation (which provides more information on top of what SLSA is recommending)? |
Since SLSA v1 sounds like it is imminent (last I heard ETA for final v1 spec was mid-late April), one option is we freeze support for SLSA v0.2 in our v1 spec, and focus on SLSA v1 for v2. This would sidestep the issue for v0.2. If we have a reason to keep developing against SLSA v0.2 - we could find another home like extending |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
PR #663 added
taskRunResults
to thebuildConfig
.However, the buildConfig should only be static information from the build configuration, not the runtime info too and taskRunResults is definitely runtime information.
Having said that, I'm not sure where we would fit the
taskRunResults
in this case because there is no obvious place in theSLSAv0.2 predicate
.We could reach out to the SLSA folks and ask for guidance on this. But as is, I don't think
taskRunResults
belongs in thebuildConfig
should probably be removed.Thoughts???
The text was updated successfully, but these errors were encountered: