controls/cis_debian13: Add CIS Debian Linux 13 sections 6-7#14877
controls/cis_debian13: Add CIS Debian Linux 13 sections 6-7#14877israel-villar wants to merge 1 commit into
Conversation
|
Hi @israel-villar. Thanks for your PR. I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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 kubernetes-sigs/prow repository. |
Add logging/auditing (section 6) and system maintenance (section 7) controls to the CIS Debian Linux 13 benchmark mapping. Section 6 covers: - 6.1.1: systemd-journald configuration (log file access, rotation, compression, persistent storage, message size, forwarding to syslog) - 6.1.2: journald configuration via /etc/systemd/journald.conf - 6.1.3: log file permissions - 6.2: rsyslog configuration and remote logging - 6.3: log file access and permissions (logrotate, /var/log) Section 7 covers: - 7.1: file permission hardening for system files (/etc/passwd, /etc/group, /etc/shadow, /etc/gshadow and their backups) - 7.2: local user and group integrity checks All 205 rule references verified to resolve against current master. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0a49daf to
23811e6
Compare
Add logging/auditing (section 6) and system maintenance (section 7) controls to the CIS Debian Linux 13 benchmark mapping.
Section 6 covers:
Section 7 covers:
All 205 rule references verified to resolve against current master.
Description:
Add Logging and Auditing (section 6) controls: 80 controls covering
systemd-journald service and journal-remote configuration, rsyslog
installation, service, log forwarding, logrotate, TLS (gtls), and CA
certificates; auditd service, data retention, 37 audit rules, and file
access permissions; and AIDE integrity checking.
Add System Maintenance (section 7) controls: 23 controls covering
system file and directory access (/etc/passwd, /etc/shadow, /etc/group,
/etc/gshadow and their backups, /etc/shells, world-writable files, unowned
files, SUID/SGID review) and local user and group integrity (shadow
passwords, duplicate UIDs/GIDs/names, home directories, dot files).
Rationale:
Sections 6 and 7 of the CIS Debian Linux 13 Benchmark v1.0.0 (published
2025-12-16) were not yet present in
controls/cis_debian13.yml. This PRcontinues the incremental mapping started in controls/cis_debian13: Complete and correct section 1 controls #14806 (section 1) and
follows Add CIS Debian Linux 13 sections 2-4 to controls file #14876 (sections 2–4).
All 103 control IDs verified against the benchmark PDF, all 205 rule
references resolve against current master, Automated/Manual classification
and L1/L2 level assignments match the benchmark for every control.
Review Hints:
Build the product to verify the control file is valid:
./build_product debian13 --datastream-only
Only
controls/cis_debian13.ymlis modified — a single commit, safe toreview as one diff.
Related PRs: section 1 pending controls/cis_debian13: Complete and correct section 1 controls #14806, sections 2–4 pending Add CIS Debian Linux 13 sections 2-4 to controls file #14876,
section 5 pending Add Debian 13 PAM support to existing rules #14781.