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 pre-checker to make sure PermitRootLogin for sshd configured #65

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

SandakovMM
Copy link
Contributor

No description provided.

@SandakovMM SandakovMM self-assigned this Aug 20, 2024


class AssertSshPermitRootLoginConfigured(action.CheckAction):
def __init__(self):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please add -> None to enable type checks.

@SandakovMM SandakovMM merged commit 2ea0789 into main Aug 21, 2024
3 checks passed
@SandakovMM SandakovMM deleted the precheck-permit-root-login branch August 21, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants