macOS 15 - Sequoia
The macOS system must disable sending diagnostic and usage data to Apple
Description
The ability to submit diagnostic data to Apple must be disabled.The information system must be configured to provide only essential capabilities. Disabling the submission of diagnostic and usage information will mitigate the risk of unwanted data being sent to Apple.Satisfies: SRG-OS-000205-GPOS-00083, SRG-OS-000206-GPOS-00084
Check
Verify the macOS system is configured to disable sending diagnostic and usage data to Apple with the following command:/usr/bin/osascript -l JavaScript << EOSfunction run() {let pref1 = $.NSUserDefaults.alloc.initWithSuiteName('com.apple.SubmitDiagInfo')\.objectForKey('AutoSubmit').jslet pref2 = $.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess')\.objectForKey('allowDiagnosticSubmission').jsif ( pref1 == false && pref2 == false ){ return("true")} else { return("false")}}EOSIf the result is not "true", this is a finding.
Fix
Configure the macOS system to disable sending diagnostic and usage data to Apple by installing the "com.apple.SubmitDiagInfo" configuration profile.