mitre/microsoft-sql-server-2014-instance-stig-baseline

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