Class: Contrast::Agent::Reporting::ApplicationDefendAttackSampleStack
- 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_name ⇒ String
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_name ⇒ String
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_hash ⇒ Hash
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 |