Sha256: 1c9eac00ce24b5650cff9213a58924b7586118696e12db20aedc3ebf46838cc0
Contents?: true
Size: 941 Bytes
Versions: 20
Compression:
Stored size: 941 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/components/protect' module Contrast module Agent module Reporting # This is the new ApplicationStartupInstrumentation class which will include all the needed information for the # system to report the instrumentation mode to which the agent was set by local configuration. class ApplicationStartupInstrumentation # Convert the instance variables on the class, and other information, into the identifiers required for # TeamServer to process the JSON form of this message. # # @return [Hash] # @raise [ArgumentError] def to_controlled_hash { protect: { enable: ::Contrast::PROTECT.enabled? } } end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems