Sha256: ccf78231d9689a13713bc7358889f6b9a2d381e3633cca1d0c59b7cc765b5212

Contents?: true

Size: 718 Bytes

Versions: 20

Compression:

Stored size: 718 Bytes

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 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'),
          sampling: Contrast::Config::SamplingConfiguration,
          rules: Contrast::Config::AssessRulesConfiguration
      }.cs__freeze

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
contrast-agent-4.2.0 lib/contrast/config/assess_configuration.rb
contrast-agent-4.1.0 lib/contrast/config/assess_configuration.rb
contrast-agent-4.0.0 lib/contrast/config/assess_configuration.rb
contrast-agent-3.16.0 lib/contrast/config/assess_configuration.rb
contrast-agent-3.15.0 lib/contrast/config/assess_configuration.rb
contrast-agent-3.14.0 lib/contrast/config/assess_configuration.rb
contrast-agent-3.13.2 lib/contrast/config/assess_configuration.rb
contrast-agent-3.13.1 lib/contrast/config/assess_configuration.rb
contrast-agent-3.13.0 lib/contrast/config/assess_configuration.rb
contrast-agent-3.12.2 lib/contrast/config/assess_configuration.rb
contrast-agent-3.12.1 lib/contrast/config/assess_configuration.rb
contrast-agent-3.12.0 lib/contrast/config/assess_configuration.rb
contrast-agent-3.11.0 lib/contrast/config/assess_configuration.rb
contrast-agent-3.10.2 lib/contrast/config/assess_configuration.rb
contrast-agent-3.10.1 lib/contrast/config/assess_configuration.rb
contrast-agent-3.10.0 lib/contrast/config/assess_configuration.rb
contrast-agent-3.9.1 lib/contrast/config/assess_configuration.rb
contrast-agent-3.9.0 lib/contrast/config/assess_configuration.rb
contrast-agent-3.8.5 lib/contrast/config/assess_configuration.rb
contrast-agent-3.8.4 lib/contrast/config/assess_configuration.rb