File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ checks:
444444 - " Enable with: sudo dpkg-reconfigure -plow unattended-upgrades"
445445 # Check if auto-upgrades is enabled
446446 - file : /etc/apt/apt.conf.d/20auto-upgrades
447- includes : ' APT::Periodic::Unattended-Upgrade\s+"0"'
447+ includes : ' APT::Periodic::Unattended-Upgrade\\ s+"0"'
448448 remediation :
449449 - Enable automatic security updates
450450 - Edit /etc/apt/apt.conf.d/20auto-upgrades
@@ -537,13 +537,13 @@ checks:
537537 - Configure minimum length in /etc/security/pwquality.conf with 'minlen=8'
538538 - Do NOT set complexity requirements per NIST SP 800-63B
539539 - file : /etc/login.defs
540- includes : " PASS_MIN_LEN\s +[0-7]([^0-9]|$)"
540+ includes : " PASS_MIN_LEN\\ s+[0-7]([^0-9]|$)"
541541 remediation :
542542 - Set PASS_MIN_LEN to at least 8 in /etc/login.defs
543543 - Do NOT enforce password aging or complexity per NIST guidelines
544544 windows :
545545 - output : net accounts
546- includes : " Minimum password length\s *:\s *[0-7]([^0-9]|$)"
546+ includes : " Minimum password length\\ s*:\ \ s*[0-7]([^0-9]|$)"
547547 remediation :
548548 - " Set minimum password length to 8: 'net accounts /minpwlen:8'"
549549 - Or configure via Group Policy Editor (gpedit.msc)
You can’t perform that action at this time.
0 commit comments