Class: Contrast::Agent::Reporting::Details::NoSqliDetails
- Inherits:
-
ProtectRuleDetails
- Object
- ProtectRuleDetails
- Contrast::Agent::Reporting::Details::NoSqliDetails
- Defined in:
- lib/contrast/agent/reporting/details/no_sqli_details.rb
Overview
NoSqliDetails IA result details info.
Instance Attribute Summary collapse
- #boundary_overrun_idx ⇒ Integer
- #end_idx ⇒ Integer
- #input_boundary_idx ⇒ Integer
- #query ⇒ String
- #start_idx ⇒ Integer
Instance Method Summary collapse
Instance Attribute Details
#boundary_overrun_idx ⇒ Integer
17 18 19 |
# File 'lib/contrast/agent/reporting/details/no_sqli_details.rb', line 17 def boundary_overrun_idx @boundary_overrun_idx end |
#end_idx ⇒ Integer
15 16 17 |
# File 'lib/contrast/agent/reporting/details/no_sqli_details.rb', line 15 def end_idx @end_idx end |
#input_boundary_idx ⇒ Integer
19 20 21 |
# File 'lib/contrast/agent/reporting/details/no_sqli_details.rb', line 19 def input_boundary_idx @input_boundary_idx end |
#query ⇒ String
21 22 23 |
# File 'lib/contrast/agent/reporting/details/no_sqli_details.rb', line 21 def query @query end |
#start_idx ⇒ Integer
13 14 15 |
# File 'lib/contrast/agent/reporting/details/no_sqli_details.rb', line 13 def start_idx @start_idx end |
Instance Method Details
#to_controlled_hash ⇒ Object
23 24 25 26 27 28 29 30 31 |
# File 'lib/contrast/agent/reporting/details/no_sqli_details.rb', line 23 def to_controlled_hash { start: start_idx, end: end_idx, boundaryOverrunIndex: boundary_overrun_idx, inputBoundaryIndex: input_boundary_idx, query: query } end |