refactor[rules] Updated os_anti_virus_installed

Updated check for os_anti_virus_installed
Issue #241
This commit is contained in:
Bob Gendler
2023-04-05 11:00:02 -04:00
parent 83f1c21b68
commit 103fa1ef29

View File

@@ -5,7 +5,7 @@ discussion: |
Malicious software can establish a base on individual desktops and servers. Employing an automated mechanism to detect this type of software will aid in elimination of the software from the operating system.'
check: |
/bin/launchctl list | /usr/bin/grep -cE "(com.apple.XprotectFramework.PluginService|com.apple.XProtect.daemon.scan)"
/bin/launchctl list | /usr/bin/grep -cE "(com.apple.XprotectFramework.PluginService$|com.apple.XProtect.daemon.scan$)"
result:
integer: 2
fix: |