mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Add Cisco IOS enable_password
support (#2905)
* Add IOS transport and `enable_password` support * Remove Cisco IOS connection swap (moving to Train) * Pin to Train 1.4.0 Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
This commit is contained in:
parent
9940dec0d7
commit
e33619264f
2 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|||
|
||||
spec.required_ruby_version = '>= 2.3'
|
||||
|
||||
spec.add_dependency 'train', '~> 1.3'
|
||||
spec.add_dependency 'train', '~> 1.4'
|
||||
spec.add_dependency 'thor', '~> 0.20'
|
||||
spec.add_dependency 'json', '>= 1.8', '< 3.0'
|
||||
spec.add_dependency 'method_source', '~> 0.8'
|
||||
|
|
|
@ -26,6 +26,8 @@ module Inspec
|
|||
desc: 'The login user for a remote scan.'
|
||||
option :password, type: :string, lazy_default: -1,
|
||||
desc: 'Login password for a remote scan, if required.'
|
||||
option :enable_password, type: :string, lazy_default: -1,
|
||||
desc: 'Password for enable mode on Cisco IOS devices.'
|
||||
option :key_files, aliases: :i, type: :array,
|
||||
desc: 'Login key or certificate file for a remote scan.'
|
||||
option :path, type: :string,
|
||||
|
|
Loading…
Reference in a new issue