Class: Google::Apis::ThreatintelligenceV1beta::InitialAccessBrokerAlertDetail

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

Overview

Captures the specific details of InitialAccessBroker (IAB) alert.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InitialAccessBrokerAlertDetail

Returns a new instance of InitialAccessBrokerAlertDetail.



1315
1316
1317
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1315

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

Instance Attribute Details

#discovery_document_idsArray<String>

Required. Array of ids to accommodate multiple discovery documents Corresponds to the JSON property discoveryDocumentIds

Returns:

  • (Array<String>)


1307
1308
1309
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1307

def discovery_document_ids
  @discovery_document_ids
end

#severityString

Required. The severity of the Initial Access Broker (IAB) alert. Allowed values are: * LOW * MEDIUM * HIGH * CRITICAL Corresponds to the JSON property severity

Returns:

  • (String)


1313
1314
1315
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1313

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1320
1321
1322
1323
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1320

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