Sha256: 4cf8d8c1d33819f34f1da5f06b87ad23d81ad57273d0aeb493e8a4e57fe8c3ea

Contents?: true

Size: 872 Bytes

Versions: 8

Compression:

Stored size: 872 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/agent/telemetry/input_analysis_event'

module Contrast
  module Agent
    module Telemetry
      # Event to report all gather information from the Input Analysis Cache statistics, hits and misses.
      class InputAnalysisEncodingEvent < Contrast::Agent::Telemetry::InputAnalysisEvent
        NAME = 'InputAnalysis encoding event'
        PATH = '/protect_input_analysis_encoding'

        private

        # Creates the tags for the event
        #
        # @param _rule_id [String]
        # @param encode_rates [Contrast::Agent::Protect::Rule::InputClassification::EncodingRates]
        def add_tags _rule_id, encode_rates
          super(nil, encode_rates)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
contrast-agent-7.6.1 lib/contrast/agent/telemetry/input_analysis_encoding_event.rb
contrast-agent-7.6.0 lib/contrast/agent/telemetry/input_analysis_encoding_event.rb
contrast-agent-7.5.0 lib/contrast/agent/telemetry/input_analysis_encoding_event.rb
contrast-agent-7.4.1 lib/contrast/agent/telemetry/input_analysis_encoding_event.rb
contrast-agent-7.4.0 lib/contrast/agent/telemetry/input_analysis_encoding_event.rb
contrast-agent-7.3.2 lib/contrast/agent/telemetry/input_analysis_encoding_event.rb
contrast-agent-7.3.1 lib/contrast/agent/telemetry/input_analysis_encoding_event.rb
contrast-agent-7.3.0 lib/contrast/agent/telemetry/input_analysis_encoding_event.rb