Class: Contrast::Agent::Reporting::Details::VirtualPatchDetails

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

Overview

Virtual Patch IA result details info.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uuid) ⇒ VirtualPatchDetails

Returns a new instance of VirtualPatchDetails.

Parameters:

  • uuid (String)

    the UUID to identify the block rule in TeamServer



16
17
18
19
# File 'lib/contrast/agent/reporting/details/virtual_patch_details.rb', line 16

def initialize uuid
  @uuid = uuid
  super()
end

Instance Attribute Details

#uuidString (readonly)

Returns:



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

def uuid
  @uuid
end

Instance Method Details

#to_controlled_hashObject



21
22
23
24
25
# File 'lib/contrast/agent/reporting/details/virtual_patch_details.rb', line 21

def to_controlled_hash
  {
      uuid: uuid
  }
end