Class: Contrast::Agent::Reporting::Details::CmdInjectionDetails
- Inherits:
-
ProtectRuleDetails
- Object
- ProtectRuleDetails
- Contrast::Agent::Reporting::Details::CmdInjectionDetails
- Defined in:
- lib/contrast/agent/reporting/details/cmd_injection_details.rb
Overview
CMDI IA result details info.
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cmd ⇒ String
13 14 15 |
# File 'lib/contrast/agent/reporting/details/cmd_injection_details.rb', line 13 def cmd @cmd end |
#end_idx ⇒ Integer
17 18 19 |
# File 'lib/contrast/agent/reporting/details/cmd_injection_details.rb', line 17 def end_idx @end_idx end |
#start_idx ⇒ Integer
15 16 17 |
# File 'lib/contrast/agent/reporting/details/cmd_injection_details.rb', line 15 def start_idx @start_idx end |
Instance Method Details
#to_controlled_hash ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/contrast/agent/reporting/details/cmd_injection_details.rb', line 19 def to_controlled_hash { command: cmd, startIndex: start_idx, endIndex: end_idx } end |