Rule ID
SV-268515r1034485_rule
Version
V1R7
Airplay Receiver allows users to send content from one Apple device to be displayed on the screen as it is being played from another device. Support for Airplay Receiver is nonessential and must be disabled. The information system must be configured to provide only essential capabilities. Satisfies: SRG-OS-000095-GPOS-00049, SRG-OS-000300-GPOS-00118
Verify the macOS system is configured to disable Airplay Receiver with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess')\
.objectForKey('allowAirPlayIncomingRequests').js
EOS
If the result is not "false", this is a finding.Configure the macOS system to disable Airplay Receiver by installing the "com.apple.applicationaccess" configuration profile.