mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
Add windows as a supported platform for ssh_config
Openssh for windows is a thing, so allow the ssh_config and sshd_config resources to be used on it. Signed-off-by: Raphael Geissert <atomo64@gmail.com>
This commit is contained in:
parent
f9da70d647
commit
2558b38a75
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@ module Inspec::Resources
|
|||
class SshConfig < Inspec.resource(1)
|
||||
name "ssh_config"
|
||||
supports platform: "unix"
|
||||
supports platform: "windows"
|
||||
desc "Use the `ssh_config` InSpec audit resource to test OpenSSH client configuration data located at `/etc/ssh/ssh_config` on Linux and Unix platforms."
|
||||
example <<~EXAMPLE
|
||||
describe ssh_config do
|
||||
|
@ -80,6 +81,7 @@ module Inspec::Resources
|
|||
class SshdConfig < SshConfig
|
||||
name "sshd_config"
|
||||
supports platform: "unix"
|
||||
supports platform: "windows"
|
||||
desc "Use the sshd_config InSpec audit resource to test configuration data for the Open SSH daemon located at /etc/ssh/sshd_config on Linux and UNIX platforms. sshd---the Open SSH daemon---listens on dedicated ports, starts a daemon for each incoming connection, and then handles encryption, authentication, key exchanges, command execution, and data exchanges."
|
||||
example <<~EXAMPLE
|
||||
describe sshd_config do
|
||||
|
|
Loading…
Reference in a new issue