Sha256: 3af3746bae142741924207e576f0166da7094c852bc69c793f40edf53f3c1dfc

Contents?: true

Size: 730 Bytes

Versions: 6

Compression:

Stored size: 730 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/agent/reporting/details/protect_rule_details'

module Contrast
  module Agent
    module Reporting
      module Details
        # Untrusted Deserialization IA result details info.
        class UntrustedDeserializationDetails < ProtectRuleDetails
          # @return [String]
          attr_accessor :cmd
          # @return [String]
          attr_accessor :deserializer

          def to_controlled_hash
            {
                command: cmd,
                deserializer: deserializer
            }
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
contrast-agent-6.11.0 lib/contrast/agent/reporting/details/untrusted_deserialization_details.rb
contrast-agent-6.10.0 lib/contrast/agent/reporting/details/untrusted_deserialization_details.rb
contrast-agent-6.9.0 lib/contrast/agent/reporting/details/untrusted_deserialization_details.rb
contrast-agent-6.8.0 lib/contrast/agent/reporting/details/untrusted_deserialization_details.rb
contrast-agent-6.7.0 lib/contrast/agent/reporting/details/untrusted_deserialization_details.rb
contrast-agent-6.6.5 lib/contrast/agent/reporting/details/untrusted_deserialization_details.rb