Class: Google::Apis::BinaryauthorizationV1::SigstoreSignatureCheck

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/binaryauthorization_v1/classes.rb,
lib/google/apis/binaryauthorization_v1/representations.rb,
lib/google/apis/binaryauthorization_v1/representations.rb

Overview

A Sigstore signature check, which verifies the Sigstore signature associated with an image.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SigstoreSignatureCheck

Returns a new instance of SigstoreSignatureCheck.



1538
1539
1540
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1538

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#sigstore_authoritiesArray<Google::Apis::BinaryauthorizationV1::SigstoreAuthority>

Required. The authorities required by this check to verify the signature. A signature only needs to be verified by one authority to pass the check. Corresponds to the JSON property sigstoreAuthorities



1536
1537
1538
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1536

def sigstore_authorities
  @sigstore_authorities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1543
1544
1545
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1543

def update!(**args)
  @sigstore_authorities = args[:sigstore_authorities] if args.key?(:sigstore_authorities)
end