-
Notifications
You must be signed in to change notification settings - Fork 69
/
scai.proto
34 lines (20 loc) · 903 Bytes
/
scai.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Protobuf definition for the SCAI Attribute Report predicate
// (predicateType = https://in-toto.io/attestation/scai/attribute-report/v0.2)
//
// Validation of all fields is left to the users of this proto.
syntax = "proto3";
package in_toto_attestation.predicates.scai.v0;
import "google/protobuf/struct.proto";
import "in_toto_attestation/v1/resource_descriptor.proto";
option go_package = "github.com/in-toto/attestation/go/predicates/scai/v0";
option java_package = "io.github.intoto.attestation.predicates.scai.v0";
message AttributeAssertion {
string attribute = 1; // required
in_toto_attestation.v1.ResourceDescriptor target = 2;
google.protobuf.Struct conditions = 3;
in_toto_attestation.v1.ResourceDescriptor evidence = 4;
}
message AttributeReport {
repeated AttributeAssertion attributes = 1;
in_toto_attestation.v1.ResourceDescriptor producer = 2;
}