grafeas-v1 0.1.4 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +188 -190
  3. data/README.md +3 -3
  4. data/lib/grafeas/v1/attestation_pb.rb +6 -1
  5. data/lib/grafeas/v1/build_pb.rb +5 -1
  6. data/lib/grafeas/v1/common_pb.rb +13 -0
  7. data/lib/grafeas/v1/compliance_pb.rb +48 -0
  8. data/lib/grafeas/v1/deployment_pb.rb +1 -1
  9. data/lib/grafeas/v1/discovery_pb.rb +2 -2
  10. data/lib/grafeas/v1/dsse_attestation_pb.rb +31 -0
  11. data/lib/grafeas/v1/grafeas/client.rb +390 -136
  12. data/lib/grafeas/v1/grafeas_pb.rb +9 -2
  13. data/lib/grafeas/v1/grafeas_services_pb.rb +1 -1
  14. data/lib/grafeas/v1/intoto_provenance_pb.rb +49 -0
  15. data/lib/grafeas/v1/intoto_statement_pb.rb +31 -0
  16. data/lib/grafeas/v1/package_pb.rb +1 -0
  17. data/lib/grafeas/v1/provenance_pb.rb +1 -1
  18. data/lib/grafeas/v1/slsa_provenance_pb.rb +54 -0
  19. data/lib/grafeas/v1/upgrade_pb.rb +2 -2
  20. data/lib/grafeas/v1/version.rb +1 -1
  21. data/lib/grafeas/v1/vulnerability_pb.rb +13 -2
  22. data/proto_docs/google/api/field_behavior.rb +7 -1
  23. data/proto_docs/grafeas/v1/attestation.rb +21 -0
  24. data/proto_docs/grafeas/v1/build.rb +11 -1
  25. data/proto_docs/grafeas/v1/common.rb +31 -2
  26. data/proto_docs/grafeas/v1/compliance.rb +98 -0
  27. data/proto_docs/grafeas/v1/dsse_attestation.rb +59 -0
  28. data/proto_docs/grafeas/v1/grafeas.rb +15 -0
  29. data/proto_docs/grafeas/v1/intoto_provenance.rb +134 -0
  30. data/proto_docs/grafeas/v1/intoto_statement.rb +65 -0
  31. data/proto_docs/grafeas/v1/package.rb +8 -0
  32. data/proto_docs/grafeas/v1/slsa_provenance.rb +152 -0
  33. data/proto_docs/grafeas/v1/vulnerability.rb +38 -0
  34. metadata +26 -10
@@ -0,0 +1,31 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: grafeas/v1/dsse_attestation.proto
3
+
4
+ require 'grafeas/v1/common_pb'
5
+ require 'grafeas/v1/intoto_statement_pb'
6
+ require 'google/protobuf'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("grafeas/v1/dsse_attestation.proto", :syntax => :proto3) do
10
+ add_message "grafeas.v1.DSSEAttestationNote" do
11
+ optional :hint, :message, 1, "grafeas.v1.DSSEAttestationNote.DSSEHint"
12
+ end
13
+ add_message "grafeas.v1.DSSEAttestationNote.DSSEHint" do
14
+ optional :human_readable_name, :string, 1
15
+ end
16
+ add_message "grafeas.v1.DSSEAttestationOccurrence" do
17
+ optional :envelope, :message, 1, "grafeas.v1.Envelope"
18
+ oneof :decoded_payload do
19
+ optional :statement, :message, 2, "grafeas.v1.InTotoStatement"
20
+ end
21
+ end
22
+ end
23
+ end
24
+
25
+ module Grafeas
26
+ module V1
27
+ DSSEAttestationNote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.DSSEAttestationNote").msgclass
28
+ DSSEAttestationNote::DSSEHint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.DSSEAttestationNote.DSSEHint").msgclass
29
+ DSSEAttestationOccurrence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.DSSEAttestationOccurrence").msgclass
30
+ end
31
+ end