Please use service resource to find services
Closed this issue · 1 comments
rx294 commented
Affected Controls:
V-67825
V-67827
V-67829
V-67831
V-67833
V-67835
example:
describe service('CryptSvc') do
it { should be_installed }
end
https://www.inspec.io/docs/reference/resources/service/
describe service('clamd') do
it { should_not be_enabled }
it { should_not be_installed }
it { should_not be_running }
end
aaronlippold commented
Please take a look at https://www.inspec.io/docs/reference/resources/ and
make sure that you have a good idea of all the resources we have.
Thanks
--------
Aaron Lippold
lippold@gmail.com
260-255-4779
twitter/aim/yahoo,etc.
'aaronlippold'
…On Fri, Nov 9, 2018 at 1:44 PM Rony Xavier ***@***.***> wrote:
Affected Controls:
V-67825
V-67827
V-67829
V-67831
V-67833
V-67835
example:
describe service('CryptSvc') do
it { should be_installed }
end
https://www.inspec.io/docs/reference/resources/service/
describe service('clamd') do
it { should_not be_enabled }
it { should_not be_installed }
it { should_not be_running }
end
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABauaDq5HHxLQEIICgLvt97xwl2BU8b-ks5utc0GgaJpZM4YXUMz>
.