Module: Contrast::Agent::Reporting::ResponseType

Included in:
ApplicationActivity
Defined in:
lib/contrast/agent/reporting/attack_result/response_type.rb

Overview

This module will hold the response types used to generate attack result.

Constant Summary collapse

BLOCKED =
:BLOCKED.cs__freeze
MONITORED =
:MONITORED.cs__freeze
PROBED =
:PROBED.cs__freeze
BLOCKED_AT_PERIMETER =
:BLOCKED_AT_PERIMETER.cs__freeze
SUSPICIOUS =
:SUSPICIOUS.cs__freeze
AGGREGATED =
:AGGREGATED.cs__freeze
EXPLOITED =
:EXPLOITED.cs__freeze
NO_ACTION =
:NO_ACTION.cs__freeze

Class Method Summary collapse

Class Method Details

.to_aObject



22
23
24
# File 'lib/contrast/agent/reporting/attack_result/response_type.rb', line 22

def to_a
  [NO_ACTION, BLOCKED, MONITORED, PROBED, BLOCKED_AT_PERIMETER, EXPLOITED, SUSPICIOUS, AGGREGATED]
end