Sha256: f853597df9a0e6af280c6f6096396de89530ef7e98820c320764816f28854ab0

Contents?: true

Size: 1.85 KB

Versions: 5

Compression:

Stored size: 1.85 KB

Contents

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

module Contrast
  module Agent
    # This is the base module for our assess classes. It is intended to
    # facilitate the patching of the application for Assess functionality. Any
    # class under this namespace should be required here, providing a single
    # point of require for this functionality.
    module Assess
      cs__scoped_require 'contrast/agent/module_data'
      cs__scoped_require 'contrast/agent/rewriter'
      cs__scoped_require 'contrast/agent/assess/policy/preshift'

      cs__scoped_require 'contrast/utils/prevent_serialization'

      # Rules - generic
      cs__scoped_require 'contrast/agent/assess/rule'
      cs__scoped_require 'contrast/agent/assess/rule/base'
      cs__scoped_require 'contrast/agent/assess/rule/response_scanning_rule'
      cs__scoped_require 'contrast/agent/assess/rule/watcher'
      cs__scoped_require 'contrast/agent/assess/rule/response_watcher'

      # Dynamic Sources
      cs__scoped_require 'contrast/agent/assess/policy/dynamic_source_factory'

      # Rule: CSRF
      cs__scoped_require 'contrast/agent/assess/rule/csrf'
      cs__scoped_require 'contrast/agent/assess/rule/csrf/csrf_applicator'
      cs__scoped_require 'contrast/agent/assess/rule/csrf/csrf_action'
      cs__scoped_require 'contrast/agent/assess/rule/csrf/csrf_watcher'

      # Rule: REDOS
      cs__scoped_require 'contrast/agent/assess/rule/redos'

      # reporting / tracking
      cs__scoped_require 'contrast/agent/assess/insulator'
      cs__scoped_require 'contrast/agent/assess/properties'
      cs__scoped_require 'contrast/agent/assess/frozen_properties'
      cs__scoped_require 'contrast/agent/assess/tag'
      cs__scoped_require 'contrast/agent/assess/contrast_event'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
contrast-agent-3.10.2 lib/contrast/agent/assess.rb
contrast-agent-3.10.1 lib/contrast/agent/assess.rb
contrast-agent-3.10.0 lib/contrast/agent/assess.rb
contrast-agent-3.9.1 lib/contrast/agent/assess.rb
contrast-agent-3.9.0 lib/contrast/agent/assess.rb