Sha256: e8804014b7c2370c33b5c2860cef12fcfc3719f65797e121448ed53221c499a2

Contents?: true

Size: 862 Bytes

Versions: 3

Compression:

Stored size: 862 Bytes

Contents

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

module Contrast
  module Config
    # Common Configuration settings. Those in this section pertain to the
    # assess functionality of the Agent.
    class AssessConfiguration < BaseConfiguration
      KEYS = {
          tags: EMPTY_VALUE,
          enable: EMPTY_VALUE,
          enable_scan_response: Contrast::Config::DefaultValue.new('true'),
          enable_dynamic_sources: Contrast::Config::DefaultValue.new('true'),
          sampling: Contrast::Config::SamplingConfiguration,
          rules: Contrast::Config::AssessRulesConfiguration,
          stacktraces: Contrast::Config::DefaultValue.new('ALL')
      }.cs__freeze

      def initialize hsh
        super(hsh, KEYS)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
contrast-agent-4.13.1 lib/contrast/config/assess_configuration.rb
contrast-agent-4.13.0 lib/contrast/config/assess_configuration.rb
contrast-agent-4.12.0 lib/contrast/config/assess_configuration.rb