Sha256: 74bd547abbcb41d34aa87ff96ee72a9bbdff12bf0c672fd606c909c1ddd43af1
Contents?: true
Size: 887 Bytes
Versions: 1
Compression:
Stored size: 887 Bytes
Contents
# 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/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 DEFAULT_HOST = '127.0.0.1' DEFAULT_PORT = '30555' KEYS = { enable: EMPTY_VALUE, host: Contrast::Config::DefaultValue.new(DEFAULT_HOST), port: Contrast::Config::DefaultValue.new(DEFAULT_PORT), socket: EMPTY_VALUE, logger: Contrast::Config::LoggerConfiguration }.cs__freeze def initialize hsh super(hsh, KEYS) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
contrast-agent-3.15.0 | lib/contrast/config/service_configuration.rb |