Skip to content
New issue

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

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

Already on GitHub? # to your account

Enable rules that cover AU-9 better in OCP4 moderate profile #5138

Merged
merged 1 commit into from
Jan 28, 2020
Merged
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel6,rhel7,rhel8,rhv4
prodtype: rhel6,rhel7,rhel8,rhv4,ocp4

title: 'Verify and Correct Ownership with RPM'

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

prodtype: wrlinux1019,rhel6,rhel7,rhel8,fedora,ol7,ol8,rhv4
prodtype: wrlinux1019,rhel6,rhel7,rhel8,fedora,ol7,ol8,rhv4,ocp4

title: 'Verify and Correct File Permissions with RPM'

Expand Down
8 changes: 5 additions & 3 deletions ocp4/profiles/moderate.profile
Original file line number Diff line number Diff line change
Expand Up @@ -563,10 +563,12 @@ selections:
- chronyd_or_ntpd_specify_multiple_servers

# AU-9
#- rpm_verify_ownership
#- rpm_verify_permissions
- rpm_verify_ownership
- rpm_verify_permissions
- selinux_confinement_of_daemons
#- ensure_logrotate_activated
# TODO - we should update this rule to parameterize the rotation cadence.
# The check curently expects it to be daily, but OCP4 nodes rotate weekly.
- ensure_logrotate_activated
- file_permissions_var_log_audit
- file_ownership_var_log_audit
- directory_permissions_var_log_audit
Expand Down