Debian Codegraph @

protos/in_toto_attestation/v1/statement.proto

raw
1 syntax = "proto3";
2
3 package in_toto_attestation.v1;
4
5 import "google/protobuf/struct.proto";
6 import "in_toto_attestation/v1/resource_descriptor.proto";
7
8
9 option go_package = "github.com/in-toto/attestation/go/v1";
10 option java_package = "io.github.intoto.attestation.v1";
11
12 // Proto representation of the in-toto v1 Statement.
13 // https://github.com/in-toto/attestation/tree/main/spec/v1
14 // Validation of all fields is left to the users of this proto.
15 message Statement {
16 // Expected to always be "https://in-toto.io/Statement/v1"
17 string type = 1 [json_name = "_type"];
18
19 repeated in_toto_attestation.v1.ResourceDescriptor subject = 2;
20
21 string predicate_type = 3;
22
23 google.protobuf.Struct predicate = 4;
24 }