| 1 |
syntax = "proto3"; |
| 2 |
|
| 3 |
package in_toto_attestation.predicates.vsa.v0; |
| 4 |
|
| 5 |
import "google/protobuf/timestamp.proto"; |
| 6 |
|
| 7 |
option go_package = "github.com/in-toto/attestation/go/predicates/vsa/v0"; |
| 8 |
option java_package = "io.github.intoto.attestation.predicates.vsa.v0"; |
| 9 |
|
| 10 |
|
| 11 |
// Proto representation of predicate type https://slsa.dev/verification_summary/v0.2 |
| 12 |
// Validation of all fields is left to the users of this proto. |
| 13 |
message VerificationSummary { |
| 14 |
message Verifier { |
| 15 |
string id = 1; |
| 16 |
} |
| 17 |
Verifier verifier = 1; |
| 18 |
|
| 19 |
google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"]; |
| 20 |
|
| 21 |
string resource_uri = 3 [json_name = "resource_uri"]; |
| 22 |
|
| 23 |
message Policy { |
| 24 |
string uri = 1; |
| 25 |
map<string, string> digest = 2; |
| 26 |
} |
| 27 |
Policy policy = 4; |
| 28 |
|
| 29 |
message InputAttestation { |
| 30 |
string uri = 1; |
| 31 |
map<string, string> digest = 2; |
| 32 |
} |
| 33 |
repeated InputAttestation input_attestations = 5 [json_name = "input_attestations"]; |
| 34 |
|
| 35 |
string verification_result = 6 [json_name = "verification_result"]; |
| 36 |
string policy_level = 7 [json_name = "policy_level"]; |
| 37 |
map<string, uint64> dependency_levels = 8 [json_name = "dependency_levels"]; |
| 38 |
} |