content icon indicating copy to clipboard operation
content copied to clipboard

Wrong usage of lineinfile template

Open ggbecker opened this issue 3 years ago • 1 comments

The lineinfile template does not accept regex as input.

https://github.com/ComplianceAsCode/content/blob/a6ff62a071070227558a308b201ff108f0ef6971/linux_os/guide/services/sssd/sssd_enable_certmap/rule.yml#L73

ggbecker avatar May 10 '22 16:05 ggbecker

It seems OVAL is fine. Not sure about Bash and Ansible remediation. We should double check the used macros.

marcusburghardt avatar Sep 16 '24 13:09 marcusburghardt