# Copyright (c) 2020 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true require 'contrast/config/default_value' require 'contrast/utils/object_share' 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: Contrast::Config::DefaultValue.new(Contrast::Utils::ObjectShare::EMPTY_STRING), session_metadata: Contrast::Config::DefaultValue.new(Contrast::Utils::ObjectShare::EMPTY_STRING) }.cs__freeze def initialize hsh super(hsh, KEYS) end end end end