Module: Contrast::Agent::Reporting::ScoreLevel

Included in:
Protect::InputAnalyzer, Protect::Rule::InputClassification::Extendable
Defined in:
lib/contrast/agent/reporting/input_analysis/score_level.rb

Overview

input types for InputAnalysis results

Constant Summary collapse

IGNORE =
:DONTCARE.cs__freeze
WORTHWATCHING =
:WORTHWATCHING.cs__freeze
DEFINITEATTACK =
:DEFINITEATTACK.cs__freeze

Class Method Summary collapse

Class Method Details

.to_aObject



14
15
16
# File 'lib/contrast/agent/reporting/input_analysis/score_level.rb', line 14

def to_a
  [IGNORE, WORTHWATCHING, DEFINITEATTACK]
end