lib/contrast/agent/protect/rule/bot_blocker.rb in contrast-agent-6.9.0 vs lib/contrast/agent/protect/rule/bot_blocker.rb in contrast-agent-6.10.0
- old
+ new
@@ -4,10 +4,11 @@
require 'contrast/agent/protect/rule/base_service'
require 'contrast/components/logger'
require 'contrast/agent/reporting/input_analysis/input_type'
require 'contrast/agent/reporting/input_analysis/score_level'
require 'contrast/agent_lib/interface'
+require 'contrast/agent/protect/rule/bot_blocker/bot_blocker_input_classification'
module Contrast
module Agent
module Protect
module Rule
@@ -23,9 +24,16 @@
NAME
end
def applicable_user_inputs
APPLICABLE_USER_INPUTS
+ end
+
+ # Bot blocker input classification
+ #
+ # @return [module<Contrast::Agent::Protect::Rule::BotBlockerInputClassification>]
+ def classification
+ @_classification ||= Contrast::Agent::Protect::Rule::BotBlockerInputClassification.cs__freeze
end
# BotBlocker prefilter:
#
# @param context [Contrast::Agent::RequestContext] current request contest