Sha256: 5d6fb6a6ef7f3b146603090d5cd304f742cc6c19a422bd694a7cb25ae5c7c335
Contents?: true
Size: 948 Bytes
Versions: 3
Compression:
Stored size: 948 Bytes
Contents
# Copyright (c) 2022 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
3 entries across 3 versions & 1 rubygems