inspec/test/unit/mock/cmd/Test-NetConnection
Adam Leff 12a495c631 Add TCP reachability support on Linux for host resource (#1915)
* Add TCP reachability support on Linux for host resource

This enhances the `host` resource on Linux targets by using netcat
(if installed) to perform TCP reachability checks.

Signed-off-by: Adam Leff <adam@leff.co>

* documentation updates

Signed-off-by: Adam Leff <adam@leff.co>

* Appease rubocop

Signed-off-by: Adam Leff <adam@leff.co>
2017-06-09 18:18:51 +02:00

5 lines
102 B
Text

{
"ComputerName": "microsoft.com",
"PingSucceeded": false,
"TcpTestSucceeded": true
}