mirror of
https://github.com/dev-sec/linux-baseline
synced 2025-02-16 09:48:25 +00:00
remove control package-07
As per https://github.com/dev-sec/linux-baseline/issues/149 Signed-off-by: Sebastian Gumprich <sebastian.gumprich@t-systems.com>
This commit is contained in:
parent
07aa6dbb03
commit
24a0c85b05
2 changed files with 1 additions and 15 deletions
|
@ -29,7 +29,7 @@ $ inspec exec https://github.com/dev-sec/linux-baseline
|
||||||
* Author:: Christoph Hartmann <chris@lollyrock.com>
|
* Author:: Christoph Hartmann <chris@lollyrock.com>
|
||||||
* Author:: Edmund Haselwanter <me@ehaselwanter.com>
|
* Author:: Edmund Haselwanter <me@ehaselwanter.com>
|
||||||
|
|
||||||
* Copyright 2014-2016, The Hardening Framework Team
|
* Copyright 2014-2021, The Hardening Framework Team
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
# author: Dominik Richter
|
# author: Dominik Richter
|
||||||
# author: Patrick Muench
|
# author: Patrick Muench
|
||||||
|
|
||||||
val_syslog_pkg = attribute('syslog_pkg', value: 'rsyslog', description: 'syslog package to ensure present (default: rsyslog, alternative: syslog-ng...')
|
|
||||||
container_execution = begin
|
container_execution = begin
|
||||||
virtualization.role == 'guest' && virtualization.system =~ /^(lxc|docker)$/
|
virtualization.role == 'guest' && virtualization.system =~ /^(lxc|docker)$/
|
||||||
rescue NoMethodError
|
rescue NoMethodError
|
||||||
|
@ -76,19 +75,6 @@ control 'package-06' do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
control 'package-07' do
|
|
||||||
impact 1.0
|
|
||||||
title 'Install syslog server package'
|
|
||||||
desc 'Syslog server is required to receive system and applications logs'
|
|
||||||
# Fedora doesn't install with a syslogger out of the box and instead uses
|
|
||||||
# systemd journal; as there is there is no affinity towards either rsyslog
|
|
||||||
# or syslog-ng, we'll skip this check on Fedora hosts.
|
|
||||||
only_if { os.name != 'fedora' && !container_execution }
|
|
||||||
describe package(val_syslog_pkg) do
|
|
||||||
it { should be_installed }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
control 'package-08' do
|
control 'package-08' do
|
||||||
impact 1.0
|
impact 1.0
|
||||||
title 'Install auditd'
|
title 'Install auditd'
|
||||||
|
|
Loading…
Add table
Reference in a new issue