Skip to content

al2023: map CIS 4.3.4 to sudo_remove_no_authenticate - #15167

Merged
jan-cerny merged 1 commit into
ComplianceAsCode:masterfrom
cristianchiriac:al2023-cis-4.3.4-sudo-authenticate
Oct 19, 2026
Merged

jan-cerny merged 1 commit into
ComplianceAsCode:masterfrom
cristianchiriac:al2023-cis-4.3.4-sudo-authenticate

Conversation

@cristianchiriac

Copy link
Copy Markdown
Contributor

Description:

  • In controls/cis_al2023.yml, control 4.3.4 "Ensure re-authentication for privilege escalation is not disabled globally" now selects sudo_remove_no_authenticate instead of sudo_require_reauthentication.

Rationale:

Review Hints:

  • sudo_remove_no_authenticate has no prodtype restriction, and its bash and Ansible remediations are multi_platform_all.
  • I checked that controls/cis_al2023.yml loads with ssg.controls.Policy. It now resolves 4.3.4 to sudo_remove_no_authenticate and 4.3.5 to sudo_require_reauthentication.
  • I didn't build the al2023 data stream locally.

CIS 4.3.4 (Ensure re-authentication for privilege escalation is not
disabled globally) is about the sudo !authenticate option, but the
Amazon Linux 2023 control selected sudo_require_reauthentication, which
checks timestamp_timeout and is already selected for 4.3.5. Use
sudo_remove_no_authenticate, as the RHEL, Fedora, Ubuntu and Debian CIS
controls do.

Fixes #15152
@openshift-ci openshift-ci Bot added the needs-ok-to-test Used by openshift-ci bot. label Oct 6, 2026
@openshift-ci

openshift-ci Bot commented Oct 6, 2026

Copy link
Copy Markdown

Hi @cristianchiriac. 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.

Regular contributors should join the org to skip this step.

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.

@jan-cerny jan-cerny added this to the 0.1.83 milestone Oct 19, 2026
@jan-cerny jan-cerny self-assigned this Oct 19, 2026
@jan-cerny jan-cerny added the Amazon Linux Amazon Linux product related. label Oct 19, 2026
@jan-cerny
jan-cerny merged commit c78b2be into ComplianceAsCode:master Oct 19, 2026
60 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Amazon Linux 2023 CIS 4.3.4 (re-authentication not disabled globally) is mapped to sudo_require_reauthentication instead of sudo_remove_no_authenticate

2 participants