Class: Contrast::Agent::Reporting::ApplicationDefendAttackSampleStack

Inherits:
Object
  • Object
show all
Defined in:
lib/contrast/agent/reporting/reporting_events/application_defend_attack_sample_stack.rb

Overview

This is the new ApplicationDefendAttackSample class which includes a samples of an attack for the given rule of the given result observed in the activity period.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#file_nameString

Returns:



11
12
13
# File 'lib/contrast/agent/reporting/reporting_events/application_defend_attack_sample_stack.rb', line 11

def file_name
  @file_name
end

#method_nameString

Returns:



13
14
15
# File 'lib/contrast/agent/reporting/reporting_events/application_defend_attack_sample_stack.rb', line 13

def method_name
  @method_name
end

Instance Method Details

#to_controlled_hashHash

Returns:



16
17
18
# File 'lib/contrast/agent/reporting/reporting_events/application_defend_attack_sample_stack.rb', line 16

def to_controlled_hash
  { fileName: @file_name, methodName: @method_name }.compact
end