macOS
TMA-MACOS-2.1.1.3
Ensure iCloud Drive Document and Desktop Sync Is Disabled
中级别 2自动化macos
说明
With macOS 10.12, Apple introduced the capability to have a user's Desktop and Documents folders automatically synchronize to the user's iCloud Drive, provided they have enough room purchased through Apple on their iCloud Drive. This capability mirrors what Microsoft is doing with the use of OneDrive and Office 365. There are concerns with using this capability.
检查方式
审计方法: Shell 命令
shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess').objectForKey('allowCloudDesktopAndDocuments').js
EOS- 预期输出
false
修复方式
修复方法: 操作指南或基础设施补丁
Profile (preferred): com.apple.applicationaccess allowCloudDesktopAndDocuments = <false/>.
属性
- 操作系统
- macos-26
- 标签
- macossystem-settings
- 参考
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.1.1.3 Ensure iCloud Drive Document and Desktop Sync Is Disabled
检查本机
请在您有权审计的机器上运行此命令。扫描为只读操作。
shell
tmaegis scan --target macos --level 2