google-apis-binaryauthorization_v1 0.32.0 → 0.33.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: a9eab914ac1276e01cb916e54a9881f569df020e965a249713e4ff6d66efc329
4
- data.tar.gz: 28ce189392613712706387c83b72d268d1b3a073b539693f06bf9e00e950a5ac
3
+ metadata.gz: e51a9140378f94c47bfbf9ec2025883b527d975456970e103855fbbb813f2166
4
+ data.tar.gz: 453a3ca9e31a9402156e20324f7ce676a4687251e1f0b5b98569845e61f2cbea
5
5
  SHA512:
6
- metadata.gz: ba550e93d7fcf2279caff6d5de1383754d4c807daf1e075eb42167f34cd65bd1b6a1bb80a94fdcb2d0f8229c0039d93465da2c62c6529780c8be0f1d1b2f2aa4
7
- data.tar.gz: a592259f268cb1c8798856689bdbf11a10cb3a523a997810d1726e048933c96162532bc3358c7dc952565734a4e5f94c0a964b9aae9d4b442c03c8248ff29b8c
6
+ metadata.gz: c0565bb75d4840228b6533b1241bed5060dfb7638b0eeab375bde8f601b61382e7942441e35b8c5c02dd244c4743276abc73b5ec6067343690e88a3a4ae5a88a
7
+ data.tar.gz: 582f0c1a74bce0f40ad4a2353904ea201075ef0a757a8e47ab5e4b8fb8564a2d63eb1c0da6b03ae156e6c2c361a326100b2e30c4cda9ed5df87895ba9263f749
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-binaryauthorization_v1
2
2
 
3
+ ### v0.33.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240209
6
+
3
7
  ### v0.32.0 (2024-01-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20240119
@@ -171,10 +171,10 @@ module Google
171
171
  class AttestationSource
172
172
  include Google::Apis::Core::Hashable
173
173
 
174
- # The IDs of the GCP projects storing the SLSA attestations as Container
175
- # Analysis Occurrences, in the format `projects/[PROJECT_ID]`. Maximum number of
176
- # `container_analysis_attestation_projects` allowed in each `AttestationSource`
177
- # is 10.
174
+ # The IDs of the Google Cloud projects that store the SLSA attestations as
175
+ # Container Analysis Occurrences, in the format `projects/[PROJECT_ID]`. Maximum
176
+ # number of `container_analysis_attestation_projects` allowed in each `
177
+ # AttestationSource` is 10.
178
178
  # Corresponds to the JSON property `containerAnalysisAttestationProjects`
179
179
  # @return [Array<String>]
180
180
  attr_accessor :container_analysis_attestation_projects
@@ -421,6 +421,12 @@ module Google
421
421
  # @return [Google::Apis::BinaryauthorizationV1::ImageFreshnessCheck]
422
422
  attr_accessor :image_freshness_check
423
423
 
424
+ # A Sigstore signature check, which verifies the Sigstore signature associated
425
+ # with an image.
426
+ # Corresponds to the JSON property `sigstoreSignatureCheck`
427
+ # @return [Google::Apis::BinaryauthorizationV1::SigstoreSignatureCheck]
428
+ attr_accessor :sigstore_signature_check
429
+
424
430
  # Require a signed [DSSE](https://github.com/secure-systems-lab/dsse)
425
431
  # attestation with type SimpleSigning.
426
432
  # Corresponds to the JSON property `simpleSigningAttestationCheck`
@@ -455,6 +461,7 @@ module Google
455
461
  @display_name = args[:display_name] if args.key?(:display_name)
456
462
  @image_allowlist = args[:image_allowlist] if args.key?(:image_allowlist)
457
463
  @image_freshness_check = args[:image_freshness_check] if args.key?(:image_freshness_check)
464
+ @sigstore_signature_check = args[:sigstore_signature_check] if args.key?(:sigstore_signature_check)
458
465
  @simple_signing_attestation_check = args[:simple_signing_attestation_check] if args.key?(:simple_signing_attestation_check)
459
466
  @slsa_check = args[:slsa_check] if args.key?(:slsa_check)
460
467
  @trusted_directory_check = args[:trusted_directory_check] if args.key?(:trusted_directory_check)
@@ -1158,6 +1165,99 @@ module Google
1158
1165
  end
1159
1166
  end
1160
1167
 
1168
+ # A Sigstore authority, used to verify signatures that are created by Sigstore.
1169
+ # An authority is analogous to an attestation authenticator, verifying that a
1170
+ # signature is valid or invalid.
1171
+ class SigstoreAuthority
1172
+ include Google::Apis::Core::Hashable
1173
+
1174
+ # Optional. A user-provided name for this `SigstoreAuthority`. This field has no
1175
+ # effect on the policy evaluation behavior except to improve readability of
1176
+ # messages in evaluation results.
1177
+ # Corresponds to the JSON property `displayName`
1178
+ # @return [String]
1179
+ attr_accessor :display_name
1180
+
1181
+ # A bundle of Sigstore public keys, used to verify Sigstore signatures. A
1182
+ # signature is authenticated by a `SigstorePublicKeySet` if any of the keys
1183
+ # verify it.
1184
+ # Corresponds to the JSON property `publicKeySet`
1185
+ # @return [Google::Apis::BinaryauthorizationV1::SigstorePublicKeySet]
1186
+ attr_accessor :public_key_set
1187
+
1188
+ def initialize(**args)
1189
+ update!(**args)
1190
+ end
1191
+
1192
+ # Update properties of this object
1193
+ def update!(**args)
1194
+ @display_name = args[:display_name] if args.key?(:display_name)
1195
+ @public_key_set = args[:public_key_set] if args.key?(:public_key_set)
1196
+ end
1197
+ end
1198
+
1199
+ # A Sigstore public key. `SigstorePublicKey` is the public key material used to
1200
+ # authenticate Sigstore signatures.
1201
+ class SigstorePublicKey
1202
+ include Google::Apis::Core::Hashable
1203
+
1204
+ # The public key material in PEM format.
1205
+ # Corresponds to the JSON property `publicKeyPem`
1206
+ # @return [String]
1207
+ attr_accessor :public_key_pem
1208
+
1209
+ def initialize(**args)
1210
+ update!(**args)
1211
+ end
1212
+
1213
+ # Update properties of this object
1214
+ def update!(**args)
1215
+ @public_key_pem = args[:public_key_pem] if args.key?(:public_key_pem)
1216
+ end
1217
+ end
1218
+
1219
+ # A bundle of Sigstore public keys, used to verify Sigstore signatures. A
1220
+ # signature is authenticated by a `SigstorePublicKeySet` if any of the keys
1221
+ # verify it.
1222
+ class SigstorePublicKeySet
1223
+ include Google::Apis::Core::Hashable
1224
+
1225
+ # Required. `public_keys` must have at least one entry.
1226
+ # Corresponds to the JSON property `publicKeys`
1227
+ # @return [Array<Google::Apis::BinaryauthorizationV1::SigstorePublicKey>]
1228
+ attr_accessor :public_keys
1229
+
1230
+ def initialize(**args)
1231
+ update!(**args)
1232
+ end
1233
+
1234
+ # Update properties of this object
1235
+ def update!(**args)
1236
+ @public_keys = args[:public_keys] if args.key?(:public_keys)
1237
+ end
1238
+ end
1239
+
1240
+ # A Sigstore signature check, which verifies the Sigstore signature associated
1241
+ # with an image.
1242
+ class SigstoreSignatureCheck
1243
+ include Google::Apis::Core::Hashable
1244
+
1245
+ # Required. The authorities required by this check to verify the signature. A
1246
+ # signature only needs to be verified by one authority to pass the check.
1247
+ # Corresponds to the JSON property `sigstoreAuthorities`
1248
+ # @return [Array<Google::Apis::BinaryauthorizationV1::SigstoreAuthority>]
1249
+ attr_accessor :sigstore_authorities
1250
+
1251
+ def initialize(**args)
1252
+ update!(**args)
1253
+ end
1254
+
1255
+ # Update properties of this object
1256
+ def update!(**args)
1257
+ @sigstore_authorities = args[:sigstore_authorities] if args.key?(:sigstore_authorities)
1258
+ end
1259
+ end
1260
+
1161
1261
  # Require a signed [DSSE](https://github.com/secure-systems-lab/dsse)
1162
1262
  # attestation with type SimpleSigning.
1163
1263
  class SimpleSigningAttestationCheck
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BinaryauthorizationV1
18
18
  # Version of the google-apis-binaryauthorization_v1 gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240119"
25
+ REVISION = "20240209"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,30 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class SigstoreAuthority
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class SigstorePublicKey
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class SigstorePublicKeySet
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class SigstoreSignatureCheck
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
181
205
  class SimpleSigningAttestationCheck
182
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
207
 
@@ -323,6 +347,8 @@ module Google
323
347
 
324
348
  property :image_freshness_check, as: 'imageFreshnessCheck', class: Google::Apis::BinaryauthorizationV1::ImageFreshnessCheck, decorator: Google::Apis::BinaryauthorizationV1::ImageFreshnessCheck::Representation
325
349
 
350
+ property :sigstore_signature_check, as: 'sigstoreSignatureCheck', class: Google::Apis::BinaryauthorizationV1::SigstoreSignatureCheck, decorator: Google::Apis::BinaryauthorizationV1::SigstoreSignatureCheck::Representation
351
+
326
352
  property :simple_signing_attestation_check, as: 'simpleSigningAttestationCheck', class: Google::Apis::BinaryauthorizationV1::SimpleSigningAttestationCheck, decorator: Google::Apis::BinaryauthorizationV1::SimpleSigningAttestationCheck::Representation
327
353
 
328
354
  property :slsa_check, as: 'slsaCheck', class: Google::Apis::BinaryauthorizationV1::SlsaCheck, decorator: Google::Apis::BinaryauthorizationV1::SlsaCheck::Representation
@@ -497,6 +523,38 @@ module Google
497
523
  end
498
524
  end
499
525
 
526
+ class SigstoreAuthority
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :display_name, as: 'displayName'
530
+ property :public_key_set, as: 'publicKeySet', class: Google::Apis::BinaryauthorizationV1::SigstorePublicKeySet, decorator: Google::Apis::BinaryauthorizationV1::SigstorePublicKeySet::Representation
531
+
532
+ end
533
+ end
534
+
535
+ class SigstorePublicKey
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ property :public_key_pem, as: 'publicKeyPem'
539
+ end
540
+ end
541
+
542
+ class SigstorePublicKeySet
543
+ # @private
544
+ class Representation < Google::Apis::Core::JsonRepresentation
545
+ collection :public_keys, as: 'publicKeys', class: Google::Apis::BinaryauthorizationV1::SigstorePublicKey, decorator: Google::Apis::BinaryauthorizationV1::SigstorePublicKey::Representation
546
+
547
+ end
548
+ end
549
+
550
+ class SigstoreSignatureCheck
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ collection :sigstore_authorities, as: 'sigstoreAuthorities', class: Google::Apis::BinaryauthorizationV1::SigstoreAuthority, decorator: Google::Apis::BinaryauthorizationV1::SigstoreAuthority::Representation
554
+
555
+ end
556
+ end
557
+
500
558
  class SimpleSigningAttestationCheck
501
559
  # @private
502
560
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-binaryauthorization_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-28 00:00:00.000000000 Z
11
+ date: 2024-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-binaryauthorization_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-binaryauthorization_v1
63
63
  post_install_message:
64
64
  rdoc_options: []