TMAegisBeta
Aturan lainnya untuk macos

macOS

TMA-MACOS-6.3.4

Ensure Prevent Cross-site Tracking in Safari Is Enabled

RendahLevel 1Otomatismacos

Deskripsi

There is a vast network of groups that collect, use, and sell user data. One method used to collect user data is pay and provide content and services for website owners. Along with that "assistance," the site owners also push tracking cookies on visitors. In many cases the help allows a content owner to keep the site up. The tracking cookies allow information brokers to track web users across visited sites. Audit: All three keys must be present: BlockStoragePolicy=2, WebKitPreferences.storageBlockingPolicy=1, WebKitStorageBlockingPolicy=1.

Cara pemeriksaan

Metode audit: Perintah shell

shell
out=$(/usr/sbin/system_profiler SPConfigurationProfileDataType 2>/dev/null | /usr/bin/tr -d ' ') || exit 1
if printf '%s\n' "$out" | /usr/bin/grep -qx 'BlockStoragePolicy=2;' && printf '%s\n' "$out" | /usr/bin/grep -qxF 'WebKitPreferences.storageBlockingPolicy=1;' && printf '%s\n' "$out" | /usr/bin/grep -qx 'WebKitStorageBlockingPolicy=1;'; then echo compliant; else echo noncompliant; fi
Output yang diharapkan
compliant

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

Profile (preferred): com.apple.Safari BlockStoragePolicy = <integer>2</integer>; com.apple.Safari WebKitPreferences.storageBlockingPolicy = <integer>1</integer>; com.apple.Safari WebKitStorageBlockingPolicy = <integer>1</integer>.

Properti

Sistem operasi
macos-26
Tag
macosapplications
Referensi
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 6.3.4 Ensure Prevent Cross-site Tracking in Safari Is Enabled

Periksa host ini

Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.

shell
tmaegis scan --target macos