ansible-lockdown / UBUNTU22-CIS

Ansible role for Ubuntu22 CIS Baseline
https://ansible-lockdown.readthedocs.io/en/latest/
MIT License
155 stars 68 forks source link

Changed regex to account for different whitespace and grouping #188

Closed dderemiah closed 6 months ago

dderemiah commented 6 months ago

Changed regex to account for different whitespace and grouping Defaults in sudoers

Overall Review of Changes: Changed the regex in 5.3.x to match when whitespace is not the same and timeout was being put at the EOF. so added insertafter setting Issue Fixes: Fixes Defaults grouping all together in sudoers

Enhancements: Changed the regex to whitespace instead of specific tabbing

How has this been tested?: tested locally