dev-sec / cis-dil-benchmark

CIS Distribution Independent Linux Benchmark - InSpec Profile
Apache License 2.0
146 stars 92 forks source link

cis-dil-benchmark-5.3.4 should match spaces better #119

Closed fargburger closed 2 years ago

fargburger commented 2 years ago

5.3.3 uses this matching logic and it works,

password [success=1 default=ignore] pam_unix.so obscure use_authtok try_first_pass sha512 remember=5

is matched by 5.3.3 regular expression, but didn't match 5.3.4 because of a space between "1" and "default"

Signed-off-by: Peter Turner pturner@uwalumni.com

schurzi commented 2 years ago

nice catch, thank you!

I transferred your sign-off from the Github message to your commit, so we have a clean history in git.