lib/contrast/agent/protect/rule/default_scanner.rb in contrast-agent-6.7.0 vs lib/contrast/agent/protect/rule/default_scanner.rb in contrast-agent-6.8.0

- old
+ new

@@ -3,10 +3,10 @@ # The base class used to determine if a user input crosses a token boundary or # state, indicating a successful attack using SQL or NoSQL Injection. # # @deprecated RUBY-356: this class and those that extend it are being phased out -# in favor of the more performant code in the Service. +# in favor of the more performant code in the Agent Library. class Contrast::Agent::Protect::Rule::DefaultScanner # rubocop:disable Style/ClassAndModuleChildren OPERATOR_PATTERN = %r{[+=*^/%><!-]}.cs__freeze # Potential states # :STATE_INSIDE_TOKEN