controls/cis_debian13: map 1.2.1.2 to apt_disable_weak_dependencies - #14981
Conversation
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.
|
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. |
Description:
1.2.1.2("Ensure weak dependencies are configured") to map toapt_disable_weak_dependenciesinstead ofapt_conf_disable_recommends+apt_conf_disable_suggests.Rationale:
apt_conf_disable_recommendsandapt_conf_disable_suggestsonly 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_dependenciescovers the same requirement with a real OVAL check in addition to bash remediation, so it isn't exposed to that failure mode.Review Hints:
controls/cis_debian13.yml, section 1.2 (Configure Software Updates)../build_product --datastream-only debian13