Created
February 23, 2023 19:58
-
-
Save abdennebi/66ca63082a36e2dd2598bb78dc1bd3e2 to your computer and use it in GitHub Desktop.
Example of a code review attestation (from Kyverno)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"payloadType": "https://example.com/CodeReview/v1", | |
"payload": { | |
"_type": "https://in-toto.io/Statement/v0.1", | |
"predicateType": "https://example.com/CodeReview/v1", | |
"subject": [ | |
{ | |
"name": "registry.io/org/app", | |
"digest": { | |
"sha256": "b31bfb4d0213f254d361e0079deaaebefa4f82ba7aa76ef82e90b4935ad5b105" | |
} | |
} | |
], | |
"predicate": { | |
"author": "alice@example.com", | |
"repo": { | |
"branch": "main", | |
"type": "git", | |
"uri": "https://git-repo.com/org/app" | |
}, | |
"reviewers": [ | |
"bob@example.com" | |
] | |
} | |
}, | |
"signatures": [ | |
{ | |
"keyid": "", | |
"sig": "MEYCIQDtJYN8dq9RACVUYljdn6t/BBONrSaR8NDpB+56YdcQqAIhAKRgiQIFvGyQERJJYjq2+6Jq2tkVbFpQMXPU0Zu8Gu1S" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment