Skip to content

controls/cis_debian13: map 1.2.1.2 to apt_disable_weak_dependencies - #14981

Merged
jan-cerny merged 1 commit into
ComplianceAsCode:masterfrom
israel-villar:feat/debian13-cis-apt-weak-deps
Aug 12, 2026
Merged

controls/cis_debian13: map 1.2.1.2 to apt_disable_weak_dependencies#14981
jan-cerny merged 1 commit into
ComplianceAsCode:masterfrom
israel-villar:feat/debian13-cis-apt-weak-deps

Conversation

@israel-villar

Copy link
Copy Markdown
Contributor

Description:

  • Update CIS Debian 13 control 1.2.1.2 ("Ensure weak dependencies are configured") to map to apt_disable_weak_dependencies instead of apt_conf_disable_recommends + apt_conf_disable_suggests.

Rationale:

  • apt_conf_disable_recommends and apt_conf_disable_suggests only have SCE checks, which are known to fail silently on systems with a noexec /tmp (the exact condition CIS control 1.1.2.4 in this same benchmark recommends configuring). apt_disable_weak_dependencies covers the same requirement with a real OVAL check in addition to bash remediation, so it isn't exposed to that failure mode.

Review Hints:

apt_conf_disable_recommends and apt_conf_disable_suggests only have SCE
checks, which fail silently on systems with noexec /tmp (CIS 1.1.2.4).
apt_disable_weak_dependencies covers the same requirement with a real
OVAL check.
@openshift-ci

openshift-ci Bot commented Aug 12, 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 the needs-ok-to-test Used by openshift-ci bot. label Aug 12, 2026
@jan-cerny jan-cerny added the Debian Debian product related. label Aug 12, 2026
@jan-cerny jan-cerny added this to the 0.1.82 milestone Aug 12, 2026
@jan-cerny jan-cerny self-assigned this Aug 12, 2026
@jan-cerny
jan-cerny merged commit 190d9c3 into ComplianceAsCode:master Aug 12, 2026
59 of 60 checks passed
@israel-villar
israel-villar deleted the feat/debian13-cis-apt-weak-deps branch August 12, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Debian Debian product related. needs-ok-to-test Used by openshift-ci bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants