Skip to content
This repository has been archived by the owner. It is now read-only.

Commit e32c31d

Browse files
authored
Merge pull request #275 from cedwards/fixup
fixes to rhel-5 profile
2 parents 4f38d5b + b6bd606 commit e32c31d

File tree

1 file changed

+79
-12
lines changed

1 file changed

+79
-12
lines changed

hubblestack_nova_profiles/cis/rhels-5-level-1-scored-v2-2-0.yaml

Lines changed: 79 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ grep:
2828
- /etc/yum.conf:
2929
match_output: gpgcheck=1
3030
pattern: gpgcheck
31-
tag: CIS-1.2.2
31+
tag: CIS-1.2.3
3232
description: Ensure gpgcheck is globally activated
3333
boot_loader_passwd:
3434
data:
@@ -37,6 +37,19 @@ grep:
3737
pattern: ^password
3838
tag: CIS-1.5.3
3939
description: Set boot loader password
40+
sulogin_required:
41+
data:
42+
Red Hat Enterprise Linux Server-5:
43+
- /etc/inittab:
44+
pattern: sulogin
45+
tag: CIS-1.5.4
46+
description: Require authentication for single-user mode
47+
disable_interactive_boot:
48+
data:
49+
Red Hat Enterprise Linux Server-5:
50+
- /etc/sysconfig/init:
51+
pattern: ^PROMPT=
52+
tag: CIS-1.5.5
4053
configure_ntp:
4154
data:
4255
Red Hat Enterprise Linux Server-5:
@@ -46,12 +59,12 @@ grep:
4659
- /etc/ntp.conf:
4760
pattern: restrict -6 default
4861
tag: CIS-3.6
49-
- '/etc/ntp.conf':
50-
tag: 'CIS-3.6'
51-
pattern: '^server'
52-
- '/etc/sysconfig/ntpd':
53-
tag: 'CIS-3.6'
54-
pattern: 'ntp:ntp'
62+
- /etc/ntp.conf:
63+
tag: CIS-3.6
64+
pattern: ^server
65+
- /etc/sysconfig/ntpd:
66+
tag: CIS-3.6
67+
pattern: ntp:ntp
5568
description: Ensure ntp is configured
5669
default_umask:
5770
data:
@@ -244,13 +257,13 @@ grep:
244257
pattern: hard core
245258
tag: CIS-1.6.1
246259
description: Restrict core dumps
247-
rsyslog_remote_logging:
260+
syslog_remote_logging:
248261
data:
249262
Red Hat Enterprise Linux Server-5:
250-
- /etc/rsyslog.conf:
263+
- /etc/syslog.conf:
251264
pattern: ^*.*[^I][^I]*@
252-
tag: CIS-5.2.5
253-
description: Ensure rsyslog is configured to send logs to a remote log host
265+
tag: CIS-5.1.3
266+
description: Ensure syslog is configured to send logs to a remote log host
254267
set_daemon_umask:
255268
data:
256269
Red Hat Enterprise Linux Server-5:
@@ -288,7 +301,7 @@ grep:
288301
- /etc/ssh/sshd_config:
289302
match_output: HostbasedAuthentication no
290303
pattern: ^HostbasedAuthentication
291-
tag: CIS-6.2.6
304+
tag: CIS-6.2.7
292305
description: Ensure SSH HostbasedAuthentication is disabled
293306
sshd_idle_timeout:
294307
data:
@@ -376,6 +389,10 @@ grep:
376389
description: Ensure SSH X11 forwarding is disabled
377390
pkg:
378391
blacklist:
392+
gpg-pubkey:
393+
data:
394+
Red Hat Enterprise Linux Server-5:
395+
- gpg-pubkey: CIS-1.2.2
379396
avahi-daemon:
380397
data:
381398
Red Hat Enterprise Linux Server-5:
@@ -482,6 +499,47 @@ service:
482499
Red Hat Enterprise Linux Server-5:
483500
- iptables: CIS-4.7
484501
description: iptables should be running
502+
blacklist:
503+
yum_updatesd:
504+
data:
505+
Red Hat Enterprise Linux Server-5:
506+
- yum-updatesd: CIS-1.2.5
507+
description: yum-updatesd should be disabled
508+
chargen-dgram:
509+
data:
510+
Red Hat Enterprise Linux Server-5:
511+
- chargen-dgram: CIS-2.1.12
512+
description: Disable chargen-dgram
513+
chargen-stream:
514+
data:
515+
Red Hat Enterprise Linux Server-5:
516+
- chargen-dgram: CIS-2.1.13
517+
description: Disable chargen-stream
518+
daytime-dgram:
519+
data:
520+
Red Hat Enterprise Linux Server-5:
521+
- daytime-dgram: CIS-2.1.14
522+
description: Disable daytime-dgram
523+
daytime-stream:
524+
data:
525+
Red Hat Enterprise Linux Server-5:
526+
- daytime-stream: CIS-2.1.15
527+
description: Disable daytime-stream
528+
echo-dgram:
529+
data:
530+
Red Hat Enterprise Linux Server-5:
531+
- echo-dgram: CIS-2.1.16
532+
description: Disable echo-dgram
533+
echo-stream:
534+
data:
535+
Red Hat Enterprise Linux Server-5:
536+
- echo-stream: CIS-2.1.17
537+
description: Disable echo-stream
538+
tcpmux-server:
539+
data:
540+
Red Hat Enterprise Linux Server-5:
541+
- tcpmux-server: CIS-2.1.18
542+
description: Disable tcpmux-server
485543
stat:
486544
anacrontab:
487545
data:
@@ -732,6 +790,15 @@ stat:
732790
user: root
733791
description: Ensure permissions on /etc/issue are configured
734792
sysctl:
793+
net_ipv4_conf_all_rp_filter:
794+
data:
795+
Red Hat Enterprise Linux Server-5:
796+
- net.ipv4.conf.all.rp_filter:
797+
match_output: 1
798+
tag: CIS-4.2.7
799+
- net.ipv4.conf.default.rp_filter:
800+
match_output: 1
801+
tag: CIS-4.2.7
735802
bad_error_message_protection:
736803
data:
737804
Red Hat Enterprise Linux Server-5:

0 commit comments

Comments
 (0)