Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Indicator

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

Represents what's commonly known as an indicator of compromise (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see Indicator of compromise.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Indicator

Returns a new instance of GoogleCloudSecuritycenterV2Indicator.



4856
4857
4858
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4856

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

Instance Attribute Details

#domainsArray<String>

List of domains associated to the Finding. Corresponds to the JSON property domains

Returns:

  • (Array<String>)


4838
4839
4840
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4838

def domains
  @domains
end

#ip_addressesArray<String>

The list of IP addresses that are associated with the finding. Corresponds to the JSON property ipAddresses

Returns:

  • (Array<String>)


4843
4844
4845
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4843

def ip_addresses
  @ip_addresses
end

#signaturesArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ProcessSignature>

The list of matched signatures indicating that the given process is present in the environment. Corresponds to the JSON property signatures



4849
4850
4851
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4849

def signatures
  @signatures
end

#urisArray<String>

The list of URIs associated to the Findings. Corresponds to the JSON property uris

Returns:

  • (Array<String>)


4854
4855
4856
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4854

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4861
4862
4863
4864
4865
4866
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4861

def update!(**args)
  @domains = args[:domains] if args.key?(:domains)
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
  @signatures = args[:signatures] if args.key?(:signatures)
  @uris = args[:uris] if args.key?(:uris)
end