Debian Codegraph @

protos/in_toto_attestation/predicates/scai/v0/scai.proto

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