Class: Inspec::Resources::WindowsPorts
- Defined in:
- lib/inspec/resources/port.rb
Overview
TODO: Add UDP infromation Get-NetUDPEndpoint TODO: currently Windows only supports tcp ports TODO: Get-NetTCPConnection does not return PIDs TODO: double-check output with ‘netstat -ano’
Instance Attribute Summary
Attributes inherited from PortsInfo
Instance Method Summary collapse
Methods inherited from PortsInfo
Constructor Details
This class inherits a constructor from Inspec::Resources::PortsInfo
Instance Method Details
#info ⇒ Object
117 118 119 |
# File 'lib/inspec/resources/port.rb', line 117 def info netstat_info || powershell_info end |