CNF-23514: RAN Hardening (5.0) - Auditd Configuration (M9)#824
CNF-23514: RAN Hardening (5.0) - Auditd Configuration (M9)#824sebrandon1 wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sebrandon1 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@sebrandon1: This pull request references CNF-23514 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
65e3cd4 to
9e95925
Compare
Compliance remediation for OCP 4.22+ (M9).
9e95925 to
aacafc0
Compare
Summary
Adds MachineConfig to deploy hardened auditd configuration on both master and worker nodes.
This addresses MEDIUM severity findings from the ACSC Essential Eight compliance profile — hardening the auditd service configuration to ensure proper audit logging settings (hostname identification, disk-full behavior, queue depth).
Remediation Group
Files
75-auditd-configuration-master.yaml75-auditd-configuration-worker.yamlVerification
After applying to a cluster, verify with:
Jira
OCP 5.0 Verification (2026-06-22)
Cluster: cnfdt16 — OCP 5.0.0-0.nightly-2026-06-18-000016, RHCOS 10.2
Finding: Hardening still needed. Stock RHCOS 10 auditd.conf has several compliance-relevant differences.
name_formatNONEhostnamespace_left75100admin_space_left_actionSUSPENDsyslogdisk_full_actionSUSPENDsyslogdisk_error_actionSUSPENDsyslogq_depth2000400max_log_file86The critical change is the
*_actionsettings: RHCOS 10 defaults toSUSPENDwhich silently stops audit logging when disk issues occur. The hardened config changes these tosyslogso audit events are still captured via syslog.