Sha256: e8277f3c9d6468e34119dc34d6e9d304ee6449b398a01baa7894b5c0223ed504

Contents?: true

Size: 619 Bytes

Versions: 4

Compression:

Stored size: 619 Bytes

Contents

# Copyright (c) 2022 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
    # protect functionality of the Agent.
    class ProtectConfiguration < BaseConfiguration
      KEYS = {
          exceptions: Contrast::Config::ExceptionConfiguration,
          rules: Contrast::Config::ProtectRulesConfiguration,
          enable: EMPTY_VALUE
      }.cs__freeze

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
contrast-agent-5.3.0 lib/contrast/config/protect_configuration.rb
contrast-agent-5.2.0 lib/contrast/config/protect_configuration.rb
contrast-agent-5.1.0 lib/contrast/config/protect_configuration.rb
contrast-agent-5.0.0 lib/contrast/config/protect_configuration.rb