Skip to content

Commit 189cfd3

Browse files
committed
feat: mark inline PolicyEvaluations predicate field as deprecated
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
1 parent 04844a9 commit 189cfd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • pkg/attestation/renderer/chainloop

pkg/attestation/renderer/chainloop/v02.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const PolicyEvaluationsBundleMediaType = "application/vnd.chainloop.policy-evalu
4343
type ProvenancePredicateV02 struct {
4444
*ProvenancePredicateCommon
4545
Materials []*intoto.ResourceDescriptor `json:"materials,omitempty"`
46-
// Map materials and policies
46+
// Deprecated: use PolicyEvaluationsRef to fetch full data from CAS.
4747
PolicyEvaluations map[string][]*PolicyEvaluation `json:"policyEvaluations,omitempty"`
4848
// Reference to the PolicyEvaluationBundle stored in CAS
4949
PolicyEvaluationsRef *intoto.ResourceDescriptor `json:"policyEvaluationsRef,omitempty"`

0 commit comments

Comments
 (0)