Class: Google::Apis::SecuritycenterV1beta2::ProcessSignature

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/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.



6515
6516
6517
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6515

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

Instance Attribute Details

#memory_hash_signature ⇒ Google::Apis::SecuritycenterV1beta2::MemoryHashSignature

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



6503
6504
6505
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6503

def memory_hash_signature
  @memory_hash_signature
end

#signature_type ⇒ String

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

Returns:

  • (String)


6508
6509
6510
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6508

def signature_type
  @signature_type
end

#yara_rule_signature ⇒ Google::Apis::SecuritycenterV1beta2::YaraRuleSignature

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



6513
6514
6515
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6513

def yara_rule_signature
  @yara_rule_signature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6520
6521
6522
6523
6524
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6520

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