Fix sshd param_conflict_directory.fail.sh tests#14349
Merged
jan-cerny merged 1 commit intoComplianceAsCode:masterfrom Feb 2, 2026
Merged
Fix sshd param_conflict_directory.fail.sh tests#14349jan-cerny merged 1 commit intoComplianceAsCode:masterfrom
jan-cerny merged 1 commit intoComplianceAsCode:masterfrom
Conversation
ATEX Test ResultsTest artifacts have been submitted to Testing Farm. Results: View Test Results This comment was automatically generated by the ATEX workflow. |
jan-cerny
approved these changes
Feb 2, 2026
Collaborator
jan-cerny
left a comment
There was a problem hiding this comment.
I have run the automatus test for sshd_set_max_auth_tries and sshd_rekey_limit with Ansible remediation and this fix fixes the failing tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Adjust lineinfile_when in
ansible_set_config_file_dirseems that old way would get confused during tests and not remediate correctly.Rationale:
Fixes issues with sshd exposed in #14343
Review Hints:
Run some Automatus tests for the effected rules.
and