Class: Contrast::Agent::Reporting::Details::UntrustedDeserializationDetails

Inherits:
ProtectRuleDetails show all
Defined in:
lib/contrast/agent/reporting/details/untrusted_deserialization_details.rb

Overview

Untrusted Deserialization IA result details info.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cmdString

Returns:



13
14
15
# File 'lib/contrast/agent/reporting/details/untrusted_deserialization_details.rb', line 13

def cmd
  @cmd
end

#deserializerString

Returns:



15
16
17
# File 'lib/contrast/agent/reporting/details/untrusted_deserialization_details.rb', line 15

def deserializer
  @deserializer
end

Instance Method Details

#to_controlled_hashObject



17
18
19
20
21
22
# File 'lib/contrast/agent/reporting/details/untrusted_deserialization_details.rb', line 17

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