Sha256: 4010691b0f6fe1059d0b8c62fd7b82c0fc71288e42819b4bf54a0c90b1b73478

Contents?: true

Size: 805 Bytes

Versions: 15

Compression:

Stored size: 805 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
    # application identification functionality of the Agent.
    class ApplicationConfiguration < BaseConfiguration
      KEYS = {
          name: EMPTY_VALUE,
          version: EMPTY_VALUE,
          language: EMPTY_VALUE,
          path: EMPTY_VALUE,
          group: EMPTY_VALUE,
          tags: EMPTY_VALUE,
          code: EMPTY_VALUE,
          metadata: EMPTY_VALUE,
          session_id: EMPTY_VALUE,
          session_metadata: EMPTY_VALUE
      }.cs__freeze

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
contrast-agent-3.14.0 lib/contrast/config/application_configuration.rb
contrast-agent-3.13.2 lib/contrast/config/application_configuration.rb
contrast-agent-3.13.1 lib/contrast/config/application_configuration.rb
contrast-agent-3.13.0 lib/contrast/config/application_configuration.rb
contrast-agent-3.12.2 lib/contrast/config/application_configuration.rb
contrast-agent-3.12.1 lib/contrast/config/application_configuration.rb
contrast-agent-3.12.0 lib/contrast/config/application_configuration.rb
contrast-agent-3.11.0 lib/contrast/config/application_configuration.rb
contrast-agent-3.10.2 lib/contrast/config/application_configuration.rb
contrast-agent-3.10.1 lib/contrast/config/application_configuration.rb
contrast-agent-3.10.0 lib/contrast/config/application_configuration.rb
contrast-agent-3.9.1 lib/contrast/config/application_configuration.rb
contrast-agent-3.9.0 lib/contrast/config/application_configuration.rb
contrast-agent-3.8.5 lib/contrast/config/application_configuration.rb
contrast-agent-3.8.4 lib/contrast/config/application_configuration.rb