Created
September 15, 2016 07:45
-
-
Save ahmed-bacha/65704ec7512e3de6a240106b9a709898 to your computer and use it in GitHub Desktop.
Inspec check for Telnetd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disallow insecure protocols by testing | |
describe package('telnetd') do | |
it { should_not be_installed } | |
end | |
describe inetd_conf do | |
its("telnet") { should eq nil } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment