Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CIS correction for Centos7 #163

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

rbthomp
Copy link
Contributor

@rbthomp rbthomp commented Aug 15, 2019

Make adjustments for correct detection on:
CIS-1.2.3
CIS-4.2.1.3
CIS-5.1.8
CIS-2.2.1.2

Moved to blacklist and corrected to properly detect if gpgcheck=0 on all *.repo files.
Renamed CIS-1.2.2 to CIS-1.2.3 to match V2.2.0
Update CIS-4.2.1.3 to properly search all possible *.conf files for $FileCreateMode 0640
CIS-5.1.8 wants to verify both cron.deny and at.deny don't exist. Need to add `match_on_file_missing: True` so the check will pass if the files don't exist.
CIS-5.1.4 mode can be more restrictive than 700 or example 600. Modifying to allow for that.
The service can be defined to run as ntp:ntp in /usr/lib/systemd/system/ntpd.d.service or /etc/sysconf/ntpd.
Corrected to look for ntp:ntp in ether file.
Fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant