You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# encoding: utf-8
# copyright: 2015, Walter Dolce <walterdolce@gmail.com>
# license: Apache License 2.0
title 'telnet'
control 'telnet-executable-in-path' do
impact 0.7
title 'Verifies whether there is a telnet executable available in $PATH'
desc title
describe command('which telnet') do
it { should_not exist }
end
end
When I run InSpec it doesn't fail.
I would expect it to fail given the test says "make sure there's no executable named telnet callable from within the $PATH".
InSpec and Platform Version
InSpec version is 1.0.0
Platform info:
Name: mac_os_x
Family: darwin
Release: 10.10.5
Arch: x86_64
Replication Case
You should be able to run the control above as is.
Possible Solutions
Not sure yet. Will have to have a look at InSpec's code.
Stacktrace
None available.
The text was updated successfully, but these errors were encountered:
Description
Provided from the terminal I get:
Given the following control:
When I run InSpec it doesn't fail.
I would expect it to fail given the test says "make sure there's no executable named
telnet
callable from within the $PATH".InSpec and Platform Version
InSpec version is
1.0.0
Platform info:
Replication Case
You should be able to run the control above as is.
Possible Solutions
Not sure yet. Will have to have a look at InSpec's code.
Stacktrace
None available.
The text was updated successfully, but these errors were encountered: