The macOS system must disable CD/DVD Sharing.

STIG ID: APPL-14-002130  |  SRG: SRG-OS-000095-GPOS-00049 |  Severity: medium |  CCI: CCI-000381 |  Vulnerability Id: V-259521 | 

Vulnerability Discussion

CD/DVD Sharing must be disabled.

Check

Verify the macOS system is configured to disable CD/DVD Sharing with the following
command:

/usr/bin/pgrep -q ODSAgent; /bin/echo $?

If the result is not "1", this is a finding.

Fix

Configure the macOS system to disable CD/DVD Sharing with the following
command:

/bin/launchctl unload /System/Library/LaunchDaemons/com.apple.ODSAgent.plist