Update sshd lineinfile#11151
Conversation
Update a regex in specifically ansible_sshd_set macro to take into account leading blank spaces before the Include keyword in sshd_config file Signed-off-by: Edgar Aguilar <edgar.aguilar@oracle.com>
Update test correct_value_multiple_includes to validate OVAL check is case insensitive and allow spaces Signed-off-by: Edgar Aguilar <edgar.aguilar@oracle.com>
|
Hi @Xeicker. 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 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/test-infra repository. |
|
Code Climate has analyzed commit 1c35d98 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 56.9%. View more on Code Climate. |
jan-cerny
left a comment
There was a problem hiding this comment.
I have reviewed the changes and executed the test scenarios for the rule sshd_disable_kerb_auth which uses the sshd_lineinfile template whcih is modified here.
Description:
correct_value_multiple_includes.passso it validate OVAL is case insensitive and also allows leading spacesRationale:
wrong_value_different_includings.failtestReview Hints: