Class: DeepSecurity::ApplicationType

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

Overview

Represents an Application Type that reflects some network attributes to which DPI rules are assigned. The DPI engine will determine if a DPI rule should apply to a connection based on the assigned Application Type network attributes.

Constant Summary

Constants inherited from SavonHelper::MappingObject

SavonHelper::MappingObject::BLACK_LIST

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

#authoritativeBoolean

Whether the rule is an internal read only Trend Micro rule

Returns:

  • (Boolean)


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

attr_boolean_accessor :authoritative,
'Whether the rule is an internal read only Trend Micro rule'

#descriptionString

ApplicationTypeTransport description

Returns:



9
10
# File 'lib/deepsecurity/transport_objects/application_type.rb', line 9

attr_string_accessor :description,
"ApplicationTypeTransport description"

#directionEnumDirection

The initial direction of the connection which this ApplicationTypeTransport would apply, e.g., INCOMING, OUTGOING. Depending on whether the application type is a server or client, the initial direction of the connection to inspect would either be INCOMING for a server, or OUTGOING for a client. E.g. Inspection of "Web Server Common" Application Type for a connection stream on TCP port 80 would be initially an INCOMING direction because incoming Web Server connections should be inspected

Returns:



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

attr_enum_accessor :direction,
EnumDirection,
'The initial direction of the connection which this ApplicationTypeTransport would apply, e.g., INCOMING, OUTGOING. Depending on whether the application type is a server or client, the initial direction of the connection to inspect would either be INCOMING for a server, or OUTGOING for a client. E.g. Inspection of "Web Server Common" Application Type for a connection stream on TCP port 80 would be initially an INCOMING direction because incoming Web Server connections should be inspected'

#idint

ApplicationTypeTransport ID

Returns:

  • (int)


7
8
# File 'lib/deepsecurity/transport_objects/application_type.rb', line 7

attr_integer_accessor :id,
"ApplicationTypeTransport ID"

#ignore_recommendationsBoolean

Whether the Recommendation Engine should ignore this rule

Returns:

  • (Boolean)


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

attr_boolean_accessor :ignore_recommendations,
"Whether the Recommendation Engine should ignore this rule"

#nameString

ApplicationTypeTransport name

Returns:



11
12
# File 'lib/deepsecurity/transport_objects/application_type.rb', line 11

attr_string_accessor :name,
"ApplicationTypeTransport name"

#protocol_icmpProtocolICMP

ApplicationTypeTransport protocol ICMP type

Returns:



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

attr_object_accessor :protocol_icmp,
ProtocolICMP,
"ApplicationTypeTransport protocol ICMP type"

#protocol_port_basedProtocolPortBased

ApplicationTypeTransport protocol Port type

Returns:



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

attr_object_accessor :protocol_port_based,
ProtocolPortBased,
'ApplicationTypeTransport protocol Port type'

#protocol_typeEnumApplicationTypeProtocolType

ApplicationTypeTransport protocol Application type, e.g., UCMP, TCP, UDP, TCP_UDP



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

attr_enum_accessor :protocol_type,
EnumApplicationTypeProtocolType,
'ApplicationTypeTransport protocol Application type, e.g., UCMP, TCP, UDP, TCP_UDP'

#tbuidString

Internal TBUID of a Trend Micro issued Application Type

Returns:



13
14
# File 'lib/deepsecurity/transport_objects/application_type.rb', line 13

attr_string_accessor :tbuid,
"Internal TBUID of a Trend Micro issued Application Type"