ansible-lockdown / UBUNTU22-CIS

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

fixes regex catching the trailing quote #128

Closed dderemiah closed 9 months ago

dderemiah commented 9 months ago

Overall Review of Changes: Change the regex to not match special characters

Issue Fixes: Replaced /S with /w to catch alphanumeric but not quote at EOL

Enhancements: n/a How has this been tested?: tested locally

uk-bolly commented 9 months ago

hi @dderemiah

Thank you again for raising this issue, As you may have seen there was an update to ansible-galaxy that had to be resolved to fix the pipeline testing. We have applied a work around but rerunning workflows still use original settings. I have taken the base of your excellent submission and extended further allowing a greater area of capture, i have raised a new branch for this work issues_and_collections. If you could please try this and see if it resolves your issue.

Many thanks

uk-bolly

dderemiah commented 9 months ago

Looks good