grafeas-v1 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66b47c0840786cdfbf34a7f0ef43b4576dab2bf462c917020e97e1907bca47a5
4
- data.tar.gz: 67f79748d315429c17fbd9af9b435968edcca94145bf4ce45f756a691d9509c2
3
+ metadata.gz: f064820d9841b6ed77978c13ee9a550c1a859c904f69fa7246e0b8bc5b5978d8
4
+ data.tar.gz: 799a01a0a93446547a89cc9becdd7b8a5d78daacea716eed5fe09abf6618f11a
5
5
  SHA512:
6
- metadata.gz: 7c54ff4d82cb0f8b6af8df18ec4b8ffda5a4c95a8da05e565185c1dbd7d3b66f8ef9a7b1dc75d448b3792a1ce9526b14eb07e899ea2907e41e76b2caac66a7a5
7
- data.tar.gz: d769e0380628751bdc2de6dbbb510016afeb9a6e3a50898370f9a70996763b4386d781420a3795da0c8f9dd0a96d97e2f633d8c64a735388c35ed5c34ade0da7
6
+ metadata.gz: 29f9456863cb097541edb9d36c15ccbac1f34c548beb29399bfe8bbf27814c98808c4945a0436b2ced8d3a6b15bf7f418476d6ea5fefccbf6a35a710f81b2906
7
+ data.tar.gz: d6a5504631412ff384cb7cd0629491fc163673b8b19e50288c713cb8475f955feb12e698abbf025d9b0ab20a924984330aa7db9bf039d658265d3012dcd0d3c2
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: grafeas/v1/attestation.proto
3
3
 
4
+ require 'grafeas/v1/common_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'grafeas/v1/common_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_file("grafeas/v1/attestation.proto", :syntax => :proto3) do
9
9
  add_message "grafeas.v1.AttestationNote" do
@@ -12,9 +12,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  add_message "grafeas.v1.AttestationNote.Hint" do
13
13
  optional :human_readable_name, :string, 1
14
14
  end
15
+ add_message "grafeas.v1.Jwt" do
16
+ optional :compact_jwt, :string, 1
17
+ end
15
18
  add_message "grafeas.v1.AttestationOccurrence" do
16
19
  optional :serialized_payload, :bytes, 1
17
20
  repeated :signatures, :message, 2, "grafeas.v1.Signature"
21
+ repeated :jwts, :message, 3, "grafeas.v1.Jwt"
18
22
  end
19
23
  end
20
24
  end
@@ -23,6 +27,7 @@ module Grafeas
23
27
  module V1
24
28
  AttestationNote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.AttestationNote").msgclass
25
29
  AttestationNote::Hint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.AttestationNote.Hint").msgclass
30
+ Jwt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Jwt").msgclass
26
31
  AttestationOccurrence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.AttestationOccurrence").msgclass
27
32
  end
28
33
  end
@@ -1,9 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: grafeas/v1/build.proto
3
3
 
4
+ require 'grafeas/v1/intoto_provenance_pb'
5
+ require 'grafeas/v1/intoto_statement_pb'
6
+ require 'grafeas/v1/provenance_pb'
4
7
  require 'google/protobuf'
5
8
 
6
- require 'grafeas/v1/provenance_pb'
7
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
10
  add_file("grafeas/v1/build.proto", :syntax => :proto3) do
9
11
  add_message "grafeas.v1.BuildNote" do
@@ -12,6 +14,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
12
14
  add_message "grafeas.v1.BuildOccurrence" do
13
15
  optional :provenance, :message, 1, "grafeas.v1.BuildProvenance"
14
16
  optional :provenance_bytes, :string, 2
17
+ optional :intoto_provenance, :message, 3, "grafeas.v1.InTotoProvenance"
18
+ optional :intoto_statement, :message, 4, "grafeas.v1.InTotoStatement"
15
19
  end
16
20
  end
17
21
  end
@@ -13,6 +13,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
13
13
  optional :signature, :bytes, 1
14
14
  optional :public_key_id, :string, 2
15
15
  end
16
+ add_message "grafeas.v1.Envelope" do
17
+ optional :payload, :bytes, 1
18
+ optional :payload_type, :string, 2
19
+ repeated :signatures, :message, 3, "grafeas.v1.EnvelopeSignature"
20
+ end
21
+ add_message "grafeas.v1.EnvelopeSignature" do
22
+ optional :sig, :bytes, 1
23
+ optional :keyid, :string, 2
24
+ end
16
25
  add_enum "grafeas.v1.NoteKind" do
17
26
  value :NOTE_KIND_UNSPECIFIED, 0
18
27
  value :VULNERABILITY, 1
@@ -23,6 +32,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
23
32
  value :DISCOVERY, 6
24
33
  value :ATTESTATION, 7
25
34
  value :UPGRADE, 8
35
+ value :COMPLIANCE, 9
36
+ value :DSSE_ATTESTATION, 10
26
37
  end
27
38
  end
28
39
  end
@@ -31,6 +42,8 @@ module Grafeas
31
42
  module V1
32
43
  RelatedUrl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.RelatedUrl").msgclass
33
44
  Signature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Signature").msgclass
45
+ Envelope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Envelope").msgclass
46
+ EnvelopeSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.EnvelopeSignature").msgclass
34
47
  NoteKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.NoteKind").enummodule
35
48
  end
36
49
  end
@@ -0,0 +1,48 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: grafeas/v1/compliance.proto
3
+
4
+ require 'grafeas/v1/vulnerability_pb'
5
+ require 'google/protobuf'
6
+
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_file("grafeas/v1/compliance.proto", :syntax => :proto3) do
9
+ add_message "grafeas.v1.ComplianceNote" do
10
+ optional :title, :string, 1
11
+ optional :description, :string, 2
12
+ repeated :version, :message, 3, "grafeas.v1.ComplianceVersion"
13
+ optional :rationale, :string, 4
14
+ optional :remediation, :string, 5
15
+ optional :scan_instructions, :bytes, 7
16
+ oneof :compliance_type do
17
+ optional :cis_benchmark, :message, 6, "grafeas.v1.ComplianceNote.CisBenchmark"
18
+ end
19
+ end
20
+ add_message "grafeas.v1.ComplianceNote.CisBenchmark" do
21
+ optional :profile_level, :int32, 1
22
+ optional :severity, :enum, 2, "grafeas.v1.Severity"
23
+ end
24
+ add_message "grafeas.v1.ComplianceVersion" do
25
+ optional :cpe_uri, :string, 1
26
+ optional :version, :string, 2
27
+ end
28
+ add_message "grafeas.v1.ComplianceOccurrence" do
29
+ repeated :non_compliant_files, :message, 2, "grafeas.v1.NonCompliantFile"
30
+ optional :non_compliance_reason, :string, 3
31
+ end
32
+ add_message "grafeas.v1.NonCompliantFile" do
33
+ optional :path, :string, 1
34
+ optional :display_command, :string, 2
35
+ optional :reason, :string, 3
36
+ end
37
+ end
38
+ end
39
+
40
+ module Grafeas
41
+ module V1
42
+ ComplianceNote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ComplianceNote").msgclass
43
+ ComplianceNote::CisBenchmark = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ComplianceNote.CisBenchmark").msgclass
44
+ ComplianceVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ComplianceVersion").msgclass
45
+ ComplianceOccurrence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ComplianceOccurrence").msgclass
46
+ NonCompliantFile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.NonCompliantFile").msgclass
47
+ end
48
+ end
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: grafeas/v1/deployment.proto
3
3
 
4
+ require 'google/protobuf/timestamp_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/protobuf/timestamp_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_file("grafeas/v1/deployment.proto", :syntax => :proto3) do
9
9
  add_message "grafeas.v1.DeploymentNote" do
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: grafeas/v1/discovery.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/protobuf/timestamp_pb'
7
5
  require 'google/rpc/status_pb'
8
6
  require 'grafeas/v1/common_pb'
7
+ require 'google/protobuf'
8
+
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("grafeas/v1/discovery.proto", :syntax => :proto3) do
11
11
  add_message "grafeas.v1.DiscoveryNote" do
@@ -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