# Copyright (c) 2021 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true module Contrast module Config # Common Configuration settings. Those in this section pertain to the # assess functionality of the Agent. class AssessConfiguration < BaseConfiguration KEYS = { tags: EMPTY_VALUE, enable: EMPTY_VALUE, enable_scan_response: true, enable_dynamic_sources: true, sampling: Contrast::Config::SamplingConfiguration, rules: Contrast::Config::AssessRulesConfiguration, stacktraces: 'ALL' }.cs__freeze def initialize hsh super(hsh, KEYS) end end end end