Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions fedora/templates/csv/packages_installed.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ libreswan
ntp
opensc
openssh-server
pcsc-lite
vsftpd
postfix
screen
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel6,rhel7,rhel8
prodtype: rhel6,rhel7

title: 'Uninstall openldap-servers Package'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel6,rhel7,rhel8,ol7
prodtype: rhel6,rhel7,ol7

title: 'Remove NIS Client'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel6,rhel7,rhel8
prodtype: rhel6,rhel7

title: 'Disable ypbind Service'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel6,rhel7,rhel8
prodtype: rhel6,rhel7

title: 'Uninstall rsh Package'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel6,rhel7,rhel8,ol7
prodtype: rhel6,rhel7,ol7

title: 'Disable rsh Service'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform = multi_platform_rhel
# platform = Red Hat Enterprise Linux 6,Red Hat Enterprise Linux 7
. /usr/share/scap-security-guide/remediation_functions

package_install esc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<title>Install needed packages for smartcard use.</title>
<affected family="unix">
<platform>Red Hat Enterprise Linux 7</platform>
<platform>Red Hat Enterprise Linux 8</platform>
</affected>
<description>The RPM packages esc pam_pkcs11 and authconfig-gtk must be installed.</description>
</metadata>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel7,rhel8
prodtype: rhel7

title: 'Install Smart Card Packages For Multifactor Authentication'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# platform = multi_platform_rhel, multi_platform_ol
# platform = Red Hat Enterprise Linux 6,Red Hat Enterprise Linux 7,multi_platform_ol

package --add=pam_pkcs11 --add=esc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform = Red Hat Enterprise Linux 7,Red Hat Enterprise Linux 8,Red Hat Enterprise Linux 8,multi_platform_ol
# platform = Red Hat Enterprise Linux 7,multi_platform_ol
. /usr/share/scap-security-guide/remediation_functions

# Install required packages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<affected family="unix">
<platform>Red Hat Enterprise Linux 6</platform>
<platform>Red Hat Enterprise Linux 7</platform>
<platform>Red Hat Enterprise Linux 8</platform>
<platform>multi_platform_ol</platform>
</affected>
<description>Enable Smart Card logins</description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel6,rhel7,rhel8,fedora,ol7
prodtype: rhel6,rhel7,fedora,ol7

title: 'Enable Smart Card Login'

Expand Down
5 changes: 0 additions & 5 deletions rhel8/profiles/hipaa.profile
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,17 @@ selections:
- sshd_disable_root_login
- libreswan_approved_tunnels
- no_rsh_trust_files
- package_rsh_removed
- package_rsh-server_removed
- package_talk_removed
- package_talk-server_removed
- package_telnet_removed
- package_telnet-server_removed
- package_xinetd_removed
- package_ypbind_removed
- package_ypserv_removed
- service_crond_enabled
- service_rexec_disabled
- service_rlogin_disabled
- service_rsh_disabled
- service_telnet_disabled
- service_xinetd_disabled
- service_ypbind_disabled
- service_zebra_disabled
- use_kerberos_security_all_exports
- disable_host_auth
Expand Down
8 changes: 7 additions & 1 deletion rhel8/profiles/pci-dss.profile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,13 @@ selections:
- ensure_redhat_gpgkey_installed
- ensure_gpgcheck_globally_activated
- ensure_gpgcheck_never_disabled
- smartcard_auth
- package_opensc_installed
- var_smartcard_drivers=cac
- configure_opensc_nss_db
- configure_opensc_card_drivers
- force_opensc_card_drivers
- service_pcscd_enabled
- sssd_enable_smartcards
- set_password_hashing_algorithm_systemauth
- set_password_hashing_algorithm_logindefs
- set_password_hashing_algorithm_libuserconf
Expand Down
1 change: 1 addition & 0 deletions rhel8/templates/csv/packages_installed.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ libreswan
ntp
Copy link
Copy Markdown
Member Author

@yuumasato yuumasato Dec 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have kept ntp here because rule service_chronyd_or_ntpd_enabled relies on check for package_ntp_installed.
chronyd_or_ntpd rules need a chronyd only rule version before ntp can be removed from this CSV.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That could be achieved by JInja macros in the rule, OVALs and remediations.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could filter out checks for ntp and make it work, but the rule would still be called chronyd_or_ntpd, which would be confusing...

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can rename the rule to clock_synchronization_enabled. But I agree with keeping ntp here, it's easier.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is already a ticket to break out these rules which should be separate rules and not rules joined by jinja.

opensc
openssh-server
pcsc-lite
vsftpd
postfix
tmux
Expand Down
5 changes: 0 additions & 5 deletions rhel8/templates/csv/packages_removed.csv
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,15 @@ mcstrans
mdadm
net-snmp
nfs-utils
ntp
ntpdate
oddjob
openldap-servers
openssh-server
portreserve
prelink
qpid-cpp-server
quagga
quota-nld
rhnsd
rsh
rsh-server
samba
samba-common
Expand All @@ -52,6 +49,4 @@ tftp-server
vsftpd
xinetd
xorg-x11-server-common
ypbind
ypserv
systemd