Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing CIS checks #24787

Merged
merged 3 commits into from
Jan 8, 2025
Merged

Add missing CIS checks #24787

merged 3 commits into from
Jan 8, 2025

Conversation

defensivedepth
Copy link
Collaborator

PR for #24647

Adds:

  • 2.6.3.3: Ensure Improve Assistive Voice Features Is Disabled
  • 5.11: Ensure Logging Is Enabled for Sudo (Automated)

2.6.3.1, 2.6.3.2, 2.6.3.4 were previously added.

2.7.2. is a Manual check, which is not supported here.

AND line LIKE '%!log_allowed%'
)
-- OR line exists but is commented
OR EXISTS (
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this be:
AND NOT EXISTS
?

Copy link
Collaborator

@sharon-fdm sharon-fdm left a comment

Choose a reason for hiding this comment

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

Code looks good to me.
Tests:

  1. Ensure Logging Is Enabled for Sudo - tested on @defensivedepth's machine.
  2. Verify that Improve Assistive Voice Features is not enabled - Tested on Sharon's machine

@sharon-fdm sharon-fdm merged commit a3b52d6 into main Jan 8, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants