Skip to content

Commit 24a0c85

Browse files
author
Sebastian Gumprich
committed
remove control package-07
As per #149 Signed-off-by: Sebastian Gumprich <sebastian.gumprich@t-systems.com>
1 parent 07aa6db commit 24a0c85

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $ inspec exec https://github.com/dev-sec/linux-baseline
2929
* Author:: Christoph Hartmann <chris@lollyrock.com>
3030
* Author:: Edmund Haselwanter <me@ehaselwanter.com>
3131

32-
* Copyright 2014-2016, The Hardening Framework Team
32+
* Copyright 2014-2021, The Hardening Framework Team
3333

3434
Licensed under the Apache License, Version 2.0 (the "License");
3535
you may not use this file except in compliance with the License.

controls/package_spec.rb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
# author: Dominik Richter
2020
# author: Patrick Muench
2121

22-
val_syslog_pkg = attribute('syslog_pkg', value: 'rsyslog', description: 'syslog package to ensure present (default: rsyslog, alternative: syslog-ng...')
2322
container_execution = begin
2423
virtualization.role == 'guest' && virtualization.system =~ /^(lxc|docker)$/
2524
rescue NoMethodError
@@ -76,19 +75,6 @@
7675
end
7776
end
7877

79-
control 'package-07' do
80-
impact 1.0
81-
title 'Install syslog server package'
82-
desc 'Syslog server is required to receive system and applications logs'
83-
# Fedora doesn't install with a syslogger out of the box and instead uses
84-
# systemd journal; as there is there is no affinity towards either rsyslog
85-
# or syslog-ng, we'll skip this check on Fedora hosts.
86-
only_if { os.name != 'fedora' && !container_execution }
87-
describe package(val_syslog_pkg) do
88-
it { should be_installed }
89-
end
90-
end
91-
9278
control 'package-08' do
9379
impact 1.0
9480
title 'Install auditd'

0 commit comments

Comments
 (0)