Class: DeepSecurity::AntiMalwareEvent

Inherits:
TransportObject show all
Defined in:
lib/deepsecurity/transport_objects/anti_malware_event.rb

Overview

Represents an Anti-Malware event

Constant Summary

Constants inherited from SavonHelper::MappingObject

SavonHelper::MappingObject::BLACK_LIST

High-Level SOAP Wrapper collapse

Instance Attribute Summary collapse

Attributes inherited from SavonHelper::MappingObject

#interface

Attributes included from SavonHelper::DSL

#alias_accessor

Method Summary

Methods inherited from TransportObject

#manager

Methods inherited from SavonHelper::CachingObject

all_cache_aspects, #cachable?, #cache, cache_aspects, cache_by_aspect, cache_key, #cache_key, from_savon, #store_in_cache

Methods inherited from SavonHelper::MappingObject

all_type_mappings, defined_attributes, from_savon, has_attribute_chain, #initialize, #to_json, #to_s, #to_savon, type_mappings

Methods included from SavonHelper::DSL

#array_boolean_accessor, #array_datetime_accessor, #array_double_accessor, #array_enum_accessor, #array_float__accessor, #array_integer_accessor, #array_ip_address_accessor, #array_object_accessor, #array_string_accessor, #attr_boolean_accessor, #attr_datetime_accessor, #attr_double_accessor, #attr_enum_accessor, #attr_float_accessor, #attr_integer_accessor, #attr_ip_address_accessor, #attr_object_accessor, #attr_string_accessor, #hint_object_accessor

Constructor Details

This class inherits a constructor from SavonHelper::MappingObject

Instance Attribute Details

#anti_malware_config_idint

The ID of the Anti-Malware configuration this event corresponds to

Returns:

  • (int)


8
9
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 8

attr_integer_accessor :anti_malware_config_id,
'The ID of the Anti-Malware configuration this event corresponds to'

#anti_malware_event_idint

The ID of the event

Returns:

  • (int)


10
11
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 10

attr_integer_accessor :anti_malware_event_id,
'The ID of the event'

#end_timeDateTime

Endtime of this event if it was repeated multiple times (not currently used)

Returns:

  • (DateTime)


12
13
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 12

attr_datetime_accessor :end_time,
'Endtime of this event if it was repeated multiple times (not currently used)'

#error_codeint

The VSAPI error code indicates the reason of the actions of failure

Returns:

  • (int)


14
15
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 14

attr_integer_accessor :error_code,
'The VSAPI error code indicates the reason of the actions of failure'

#hostObject



60
61
62
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 60

hint_object_accessor :host,
Host,
'The host this event corresponds to'

#host_idint

The host ID this event corresponds to

Returns:

  • (int)


16
17
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 16

attr_integer_accessor :host_id,
'The host ID this event corresponds to'

#infected_file_pathString

The infected file full path

Returns:



18
19
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 18

attr_string_accessor :infected_file_path,
'The infected file full path'

#infection_sourceString

The source computer of the infection

Returns:



20
21
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 20

attr_string_accessor :infection_source,
'The source computer of the infection'

#log_dateDateTime

The time this event occured

Returns:

  • (DateTime)


22
23
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 22

attr_datetime_accessor :log_date,
'The time this event occured'

#malware_nameString

The name of the malware

Returns:



24
25
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 24

attr_string_accessor :malware_name,
'The name of the malware'

#malware_typeEnumMalwareType

The type of the malware

Returns:



26
27
28
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 26

attr_enum_accessor :malware_type,
EnumMalwareType,
'The type of the malware'

#protocolint

The protocols: Local Files(0), Network shared folder(1), etc. However currently the Agent only support local files

Returns:

  • (int)


29
30
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 29

attr_integer_accessor :protocol,
'The protocols: Local Files(0), Network shared folder(1), etc. However currently the Agent only support local files'

#quarantine_record_idint

The ID of the quarantined file, if a file was quarantined as a result of this event.

Returns:

  • (int)


31
32
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 31

attr_integer_accessor :quarantine_record_id,
'The ID of the quarantined file, if a file was quarantined as a result of this event.'

#scan_action1int

Returns:

  • (int)


47
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 47

attr_integer_accessor :scan_action1

#scan_action2int

Returns:

  • (int)


48
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 48

attr_integer_accessor :scan_action2

#scan_result_action1int

The first action performed

Returns:

  • (int)


33
34
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 33

attr_integer_accessor :scan_result_action1,
'The first action performed'

#scan_result_action2int

The second action performed

Returns:

  • (int)


35
36
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 35

attr_integer_accessor :scan_result_action2,
'The second action performed'

#scan_typeEnumAntiMalwareScanType

Type of scan this event was captured under



37
38
39
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 37

attr_enum_accessor :scan_type,
EnumAntiMalwareScanType,
'Type of scan this event was captured under'

#spyware_itemsArray<AntiMalwareSpywareItem>

An array of spyware items associated with this event

Returns:



40
41
42
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 40

array_object_accessor :spyware_items,
AntiMalwareSpywareItem,
'An array of spyware items associated with this event'

#start_timeDateTime

Starttime of this event if it was repeated multiple times (not currently used)

Returns:

  • (DateTime)


43
44
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 43

attr_datetime_accessor :start_time,
'Starttime of this event if it was repeated multiple times (not currently used)'

#summary_scan_resultString

Returns:



49
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 49

attr_string_accessor :summary_scan_result

#tagsString

Any tags associated with this event

Returns:



45
46
# File 'lib/deepsecurity/transport_objects/anti_malware_event.rb', line 45

attr_string_accessor :tags,
'Any tags associated with this event'