Sha256: 44feac6a0e2760887f952075062661aaab31f595fc92c6dc1a8d000fae3b5503
Contents?: true
Size: 948 Bytes
Versions: 2
Compression:
Stored size: 948 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/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, bypass: false }.cs__freeze def initialize hsh super(hsh, KEYS) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contrast-agent-4.14.1 | lib/contrast/config/service_configuration.rb |
contrast-agent-4.14.0 | lib/contrast/config/service_configuration.rb |