Add CIS Debian Linux 13 sections 2-4 to controls file - #14876
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. |
|
@israel-villar please rebase this PR on the top of upstream master branch and resolve the conflicts. |
Adds controls for sections 2 (Services), 3 (Network), and 4 (Host Based Firewall) of the CIS Debian Linux 13 Benchmark v1.0.0 to controls/cis_debian13.yml. All level assignments and rule mappings verified against the benchmark PDF. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ab63f44 to
b20278b
Compare
@jan-cerny Done — rebased on current upstream/master. To resolve the conflicts, I compared the controls against the CIS Debian 13 Benchmark PDF and the actual rule definitions in the repo. Out of 85 controls, 41 were identical and 44 differed; in every differing case this branch's mapping turned out to be correct or more complete, e.g.:
So I kept this branch's section 2-4 content as-is and rebased cleanly around it. @a-skr flagging this so you're aware — happy to walk through any of the above if you see it differently, no intent to step on your work, just what the rebase surfaced. @rrskris would appreciate your review whenever you get a chance. |
|
Thanks for the detailed writeup on the rebase, @israel-villar — that's exactly the kind of trail that makes a reviewer's job easy. I went through the diff against current upstream (fetched
No concerns from this pass. I'll leave the merge call to @jan-cerny and @a-skr since they've got the closer history on section 2-4 — just wanted to confirm the mechanics hold up. |
Adds controls for sections 2 (Services), 3 (Network), and 4 (Host Based Firewall) of the CIS Debian Linux 13 Benchmark v1.0.0 to controls/cis_debian13.yml. All level assignments and rule mappings verified against the benchmark PDF.
Description:
Add Services (section 2) controls: 53 controls covering server services
to disable (autofs, avahi, dhcp, dns, dnsmasq, ftp, ldap, imap/pop3, nfs,
nis, cups, rpcbind, rsync, samba, snmp, telnet, tftp, squid, httpd, xinetd,
xorg, postfix), client packages to remove (nis, rsh, talk, telnet, ldap,
ftp), time synchronization (systemd-timesyncd, chrony), and job schedulers
(cron, at).
Add Network Configuration (section 3) controls: 30 controls covering
network device settings (IPv6, wireless, bluetooth), unused network kernel
modules (atm, can, dccp, rds, sctp, tipc), and IPv4/IPv6 sysctl parameters.
Add Host Based Firewall (section 4) controls: 5 controls covering UFW
installation, service status, and default incoming/outgoing/routed policies.
Rationale:
Sections 2–4 of the CIS Debian Linux 13 Benchmark v1.0.0 (published
2025-12-16) were not yet present in
controls/cis_debian13.yml. Section 1was added in controls/cis_debian13: Complete and correct section 1 controls #14806. This PR continues the incremental mapping.
All 88 control IDs have been verified against the benchmark, all rule
references resolve against current master, and Automated/Manual
classification matches 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, section 5 pending Add Debian 13 PAM support to existing rules #14781,
sections 6–7 pending.