mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
Add -i alias for --key_files like ssh
This commit is contained in:
parent
f8cc6f8dee
commit
79eba9b4fa
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ class InspecCLI < Thor
|
||||||
desc: 'The login user for a remote scan.'
|
desc: 'The login user for a remote scan.'
|
||||||
option :password, type: :string, default: nil,
|
option :password, type: :string, default: nil,
|
||||||
desc: 'Login password for a remote scan, if required.'
|
desc: 'Login password for a remote scan, if required.'
|
||||||
option :key_files, type: :array, default: nil,
|
option :key_files, aliases: :i, type: :array, default: nil,
|
||||||
desc: 'Login key or certificate file for a remote scan.'
|
desc: 'Login key or certificate file for a remote scan.'
|
||||||
option :path, type: :string, default: nil,
|
option :path, type: :string, default: nil,
|
||||||
desc: 'Login path to use when connecting to the target (WinRM).'
|
desc: 'Login path to use when connecting to the target (WinRM).'
|
||||||
|
|
|
@ -17,7 +17,7 @@ The following options may be used with any of the InSpec CLI subcommands:
|
||||||
``--host``
|
``--host``
|
||||||
The remote host to be tested.
|
The remote host to be tested.
|
||||||
|
|
||||||
``--key-files``
|
``-i``, ``--key_files``
|
||||||
The login key or certificate file required for remote scanning.
|
The login key or certificate file required for remote scanning.
|
||||||
|
|
||||||
``--password``
|
``--password``
|
||||||
|
|
Loading…
Add table
Reference in a new issue