# Copyright (c) 2022 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true require 'contrast/components/logger' require 'contrast/agent/reporting/reporting_events/reporting_event' module Contrast module Agent module Reporting # This is the new PreflightMessage class which will include all the needed information for the new reporting # system to report a single message, part of the main Preflight, to TeamServer. This message represents the # identifying information of a Finding/Trace, which TeamServer will use to determine if it requires the full # information of the Finding/Trace to be reported. # # @attr_accessor data [String] the message identifier; rule_id,hash # @attr_accessor hash_code [String] # @attr_reader routes [Array