From 3182ffed2a63bd24f04ad074f9d1e836d9f8025b Mon Sep 17 00:00:00 2001 From: Christian Becker Date: Sun, 10 Dec 2017 20:26:51 +0100 Subject: [PATCH] Added support for proxy_command NOTE This is just a simple wrapper which relies on the underlying support being added to train: https://github.com/chef/train/pull/227 Signed-off-by: Christian Becker --- lib/inspec/base_cli.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/inspec/base_cli.rb b/lib/inspec/base_cli.rb index c6523c2be6..12d12d364f 100644 --- a/lib/inspec/base_cli.rb +++ b/lib/inspec/base_cli.rb @@ -45,6 +45,8 @@ def self.target_options desc: 'Allow remote scans with self-signed certificates (WinRM).' option :json_config, type: :string, desc: 'Read configuration from JSON file (`-` reads from stdin).' + option :proxy_command, type: :string, + desc: 'Specifies the command to use to connect to the server' end def self.profile_options