Skip to content

controls/cis_debian13: Add CIS Debian Linux 13 sections 6-7#14877

Open
israel-villar wants to merge 1 commit into
ComplianceAsCode:masterfrom
israel-villar:feat/debian13-cis-sections67
Open

controls/cis_debian13: Add CIS Debian Linux 13 sections 6-7#14877
israel-villar wants to merge 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ok-to-test Used by openshift-ci bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant