Class: Contrast::Agent::Reporting::Details::SqliDetails

Inherits:
ProtectRuleDetails show all
Defined in:
lib/contrast/agent/reporting/details/sqli_details.rb

Overview

SqliDetails IA result details info.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#boundary_overrun_idxInteger

Returns:

  • (Integer)


17
18
19
# File 'lib/contrast/agent/reporting/details/sqli_details.rb', line 17

def boundary_overrun_idx
  @boundary_overrun_idx
end

#end_idxInteger

Returns:

  • (Integer)


15
16
17
# File 'lib/contrast/agent/reporting/details/sqli_details.rb', line 15

def end_idx
  @end_idx
end

#input_boundary_idxInteger

Returns:

  • (Integer)


19
20
21
# File 'lib/contrast/agent/reporting/details/sqli_details.rb', line 19

def input_boundary_idx
  @input_boundary_idx
end

#queryString

Returns:



21
22
23
# File 'lib/contrast/agent/reporting/details/sqli_details.rb', line 21

def query
  @query
end

#start_idxInteger

Returns:

  • (Integer)


13
14
15
# File 'lib/contrast/agent/reporting/details/sqli_details.rb', line 13

def start_idx
  @start_idx
end

Instance Method Details

#to_controlled_hashObject



23
24
25
26
27
28
29
30
31
# File 'lib/contrast/agent/reporting/details/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