Sha256: 47dc109765c34ccef4f682123991d66e9fd0e35cd89c2e4862e355433d65b84c
Contents?: true
Size: 963 Bytes
Versions: 9
Compression:
Stored size: 963 Bytes
Contents
# Copyright (c) 2021 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/config/logger_configuration' module Contrast module Config # Common Configuration settings. Those in this section pertain to the # communication between the Agent & the Service. class ServiceConfiguration < BaseConfiguration # We don't set these b/c we've been asked to handle the default values of # these settings differently, logging when we have to use them. DEFAULT_HOST = '127.0.0.1' DEFAULT_PORT = '30555' KEYS = { enable: EMPTY_VALUE, host: EMPTY_VALUE, port: EMPTY_VALUE, socket: EMPTY_VALUE, logger: Contrast::Config::LoggerConfiguration }.cs__freeze def initialize hsh super(hsh, KEYS) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems