Sha256: 502247e548b380c5935891242d3d27e51abe9081edca08e3e0c8067e53aaab74
Contents?: true
Size: 858 Bytes
Versions: 19
Compression:
Stored size: 858 Bytes
Contents
# Copyright (c) 2022 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true require 'json' require 'contrast/components/logger' require 'contrast/utils/object_share' module Contrast module Agent module Reporting # This is the new Trace Event Source class which will include all the needed information for the new reporting # system to relay this information in the Route Observation messages. class TraceEventSource attr_accessor :name, :type def initialize @name = Contrast::Utils::ObjectShare::EMPTY_STRING @type = Contrast::Utils::ObjectShare::EMPTY_STRING end def to_controlled_hash { name: @name, type: @type } end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems