mirror of
https://github.com/dev-sec/linux-baseline
synced 2024-11-26 21:10:23 +00:00
Merge pull request #76 from HenryTheHamster/master
Check for Amazon Linux when determining audit package.
This commit is contained in:
commit
c72d8adad0
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ control 'package-08' do
|
||||||
impact 1.0
|
impact 1.0
|
||||||
title 'Install auditd'
|
title 'Install auditd'
|
||||||
desc 'auditd provides extended logging capacities on recent distribution'
|
desc 'auditd provides extended logging capacities on recent distribution'
|
||||||
audit_pkg = os.redhat? || os.suse? ? 'audit' : 'auditd'
|
audit_pkg = os.redhat? || os.suse? || os.name == 'amazon' ? 'audit' : 'auditd'
|
||||||
describe package(audit_pkg) do
|
describe package(audit_pkg) do
|
||||||
it { should be_installed }
|
it { should be_installed }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue