Sha256: b45e1283d45e669b97b4ee47c9d078572b1397afc9b88c1ab7f55e8902032e6a
Contents?: true
Size: 941 Bytes
Versions: 18
Compression:
Stored size: 941 Bytes
Contents
# Copyright (c) 2023 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
18 entries across 18 versions & 1 rubygems