Ensure consistency among SSH related rules #12420
Labels
enhancement
General enhancements to the project.
Update Rule
Issues or pull requests related to Rules updates.
Description of problem:
The template
sshd_lineinfile
is intended to be used by SSH related rules that care about configuration parameters.The template is robust and had some recent improvements:
Many rules are already using this template, but the following rules were not yet migrated:
It seems they are relatively simple to be migrated and this way we can no only reduce duplication but also improve the consistency among these rules.
SCAP Security Guide Version:
master as of 2024-09-25
Operating System Version:
Multiple products would benefit from this improvement.
Steps to Reproduce:
Actual Results:
Although all tests may pass, there are differences on how each rule is tested, checked and remediated.
Expected Results:
All rules share as much as possible from the
ssh_lineinfile
template.Additional Information/Debugging Steps:
The text was updated successfully, but these errors were encountered: