mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-03-16 14:02:07 +00:00
refactor[rules] os_anti_virus_installed and timed
Removed auto remediation since it cannot occur if SIP is enabled. Added a note about SIP.
This commit is contained in:
@@ -9,11 +9,13 @@ check: |
|
||||
result:
|
||||
integer: 2
|
||||
fix: |
|
||||
[source,bash]
|
||||
[source,shell]
|
||||
----
|
||||
/bin/launchctl load -w /Library/Apple/System/Library/LaunchDaemons/com.apple.XProtect.daemon.scan.plist
|
||||
/bin/launchctl load -w /Library/Apple/System/Library/LaunchDaemons/com.apple.XprotectFramework.PluginService.plist
|
||||
----
|
||||
|
||||
NOTE: These services cannot be unloaded or loaded while System Integrity Protection (SIP) is enabled.
|
||||
references:
|
||||
cce:
|
||||
- CCE-92758-2
|
||||
|
||||
@@ -9,10 +9,12 @@ check: |
|
||||
result:
|
||||
integer: 1
|
||||
fix: |
|
||||
[source,bash]
|
||||
[source,shell]
|
||||
----
|
||||
/bin/launchctl load -w /System/Library/LaunchDaemons/com.apple.timed.plist
|
||||
----
|
||||
|
||||
NOTE: The service `timed` cannot be unloaded or loaded while System Integrity Protection (SIP) is enabled.
|
||||
references:
|
||||
cce:
|
||||
- CCE-92916-6
|
||||
|
||||
Reference in New Issue
Block a user