Sha256: ed9b226131af519725e52ea37d17081c83e78b59431c245eddbb4012e773aea3

Contents?: true

Size: 980 Bytes

Versions: 2

Compression:

Stored size: 980 Bytes

Contents

# Copyright (c) 2022 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true

require 'contrast/utils/object_share'
require 'contrast/agent/reporting/input_analysis/input_type'
require 'contrast/agent/reporting/input_analysis/score_level'
require 'contrast/agent/protect/input_analyzer/input_analyzer'
require 'contrast/utils/input_classification_base'

module Contrast
  module Agent
    module Protect
      module Rule
        # This module will do the Input Classification stage of SQLI rule
        # as a result input would be marked as WORTHWATCHING or IGNORE,
        # to be analyzed at the sink level.
        module SqliInputClassification
          WORTHWATCHING_MATCH = 'sqli-worth-watching-v2'.cs__freeze
          class << self
            include InputClassificationBase
            include Contrast::Components::Logger::InstanceMethods
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
contrast-agent-6.11.0 lib/contrast/agent/protect/rule/sqli/sqli_input_classification.rb
contrast-agent-6.10.0 lib/contrast/agent/protect/rule/sqli/sqli_input_classification.rb