Skip to content

controls/cis_debian13: Map remaining controls in sections 6-7 - #14877

Merged
jan-cerny merged 1 commit into
ComplianceAsCode:masterfrom
israel-villar:feat/debian13-cis-sections67
Jul 22, 2026
Merged

controls/cis_debian13: Map remaining controls in sections 6-7#14877
jan-cerny merged 1 commit into
ComplianceAsCode:masterfrom
israel-villar:feat/debian13-cis-sections67

Conversation

@israel-villar

Copy link
Copy Markdown
Contributor

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.

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:

Review Hints:

@openshift-ci

openshift-ci Bot commented Jul 13, 2026

Copy link
Copy Markdown

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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 kubernetes-sigs/prow repository.

@openshift-ci openshift-ci Bot added needs-ok-to-test Used by openshift-ci bot. needs-rebase Used by openshift-ci bot. labels Jul 13, 2026
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>
@israel-villar
israel-villar force-pushed the feat/debian13-cis-sections67 branch from 0a49daf to 23811e6 Compare July 19, 2026 18:13
@openshift-ci openshift-ci Bot removed the needs-rebase Used by openshift-ci bot. label Jul 19, 2026
@jan-cerny jan-cerny added this to the 0.1.82 milestone Jul 22, 2026
@jan-cerny jan-cerny added Debian Debian product related. CIS CIS Benchmark related. Update Profile Issues or pull requests related to Profiles updates. labels Jul 22, 2026

@jan-cerny jan-cerny left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The selected rules match the respective controls.

@jan-cerny
jan-cerny merged commit 7cd1c18 into ComplianceAsCode:master Jul 22, 2026
59 of 60 checks passed
@jan-cerny jan-cerny changed the title controls/cis_debian13: Add CIS Debian Linux 13 sections 6-7 controls/cis_debian13: Map remaining controls in sections 6-7 Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CIS CIS Benchmark related. Debian Debian product related. needs-ok-to-test Used by openshift-ci bot. Update Profile Issues or pull requests related to Profiles updates.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants