google-apis-binaryauthorization_v1 0.31.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0a765c9069ce3d64973384771e4b427455ab4b2a904050de1093288ec5b78b7
4
- data.tar.gz: 8f03ade3bf98867055abb89737457d2cbece5ecddaeedfd8052aa71780d1a359
3
+ metadata.gz: e51a9140378f94c47bfbf9ec2025883b527d975456970e103855fbbb813f2166
4
+ data.tar.gz: 453a3ca9e31a9402156e20324f7ce676a4687251e1f0b5b98569845e61f2cbea
5
5
  SHA512:
6
- metadata.gz: 4e47c3dfa9fdbd16e2616bbc912033bd5938cedbb0b834f28318c42fc52dcaa92d6219e3f103a4214587551da0a3345a482e0acfec263191643d39c498855be0
7
- data.tar.gz: 57ceac8cad652429ace392d687b227c1797c9d9e411b2c84d318c33167dac0cd86e00d6e3dacc8989f2525e4fe83035a628e53ec4107e1552b0a3e5c80064329
6
+ metadata.gz: c0565bb75d4840228b6533b1241bed5060dfb7638b0eeab375bde8f601b61382e7942441e35b8c5c02dd244c4743276abc73b5ec6067343690e88a3a4ae5a88a
7
+ data.tar.gz: 582f0c1a74bce0f40ad4a2353904ea201075ef0a757a8e47ab5e4b8fb8564a2d63eb1c0da6b03ae156e6c2c361a326100b2e30c4cda9ed5df87895ba9263f749
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.32.0 (2024-01-28)
8
+
9
+ * Regenerated from discovery document revision 20240119
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.31.0 (2024-01-23)
4
13
 
5
14
  * Regenerated using generator version 0.13.0
@@ -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
@@ -369,7 +369,10 @@ module Google
369
369
  attr_accessor :members
370
370
 
371
371
  # Role that is assigned to the list of `members`, or principals. For example, `
372
- # roles/viewer`, `roles/editor`, or `roles/owner`.
372
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
373
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
374
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
375
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
373
376
  # Corresponds to the JSON property `role`
374
377
  # @return [String]
375
378
  attr_accessor :role
@@ -418,6 +421,12 @@ module Google
418
421
  # @return [Google::Apis::BinaryauthorizationV1::ImageFreshnessCheck]
419
422
  attr_accessor :image_freshness_check
420
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
+
421
430
  # Require a signed [DSSE](https://github.com/secure-systems-lab/dsse)
422
431
  # attestation with type SimpleSigning.
423
432
  # Corresponds to the JSON property `simpleSigningAttestationCheck`
@@ -452,6 +461,7 @@ module Google
452
461
  @display_name = args[:display_name] if args.key?(:display_name)
453
462
  @image_allowlist = args[:image_allowlist] if args.key?(:image_allowlist)
454
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)
455
465
  @simple_signing_attestation_check = args[:simple_signing_attestation_check] if args.key?(:simple_signing_attestation_check)
456
466
  @slsa_check = args[:slsa_check] if args.key?(:slsa_check)
457
467
  @trusted_directory_check = args[:trusted_directory_check] if args.key?(:trusted_directory_check)
@@ -1155,6 +1165,99 @@ module Google
1155
1165
  end
1156
1166
  end
1157
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
+
1158
1261
  # Require a signed [DSSE](https://github.com/secure-systems-lab/dsse)
1159
1262
  # attestation with type SimpleSigning.
1160
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.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231215"
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.31.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-23 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.31.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: []