Class: Google::Apis::SecuritycenterV1beta1::ProcessSignature

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

Overview

Indicates what signature matched this process.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProcessSignature

Returns a new instance of ProcessSignature.



8638
8639
8640
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8638

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

Instance Attribute Details

#memory_hash_signatureGoogle::Apis::SecuritycenterV1beta1::MemoryHashSignature

A signature corresponding to memory page hashes. Corresponds to the JSON property memoryHashSignature



8626
8627
8628
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8626

def memory_hash_signature
  @memory_hash_signature
end

#signature_typeString

Describes the type of resource associated with the signature. Corresponds to the JSON property signatureType

Returns:

  • (String)


8631
8632
8633
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8631

def signature_type
  @signature_type
end

#yara_rule_signatureGoogle::Apis::SecuritycenterV1beta1::YaraRuleSignature

A signature corresponding to a YARA rule. Corresponds to the JSON property yaraRuleSignature



8636
8637
8638
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8636

def yara_rule_signature
  @yara_rule_signature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8643
8644
8645
8646
8647
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8643

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