TMAegisBeta
Thêm quy tắc cho macos

macOS

TMA-MACOS15-5.3.1

Ensure all internal user storage APFS volumes are encrypted

CaoCấp 1Tự độngmacos

Mô tả

Apple developed the APFS (Apple File System) structure primarily for flash and solid- state drives. This file structure was first made available in 10.12 and then became the default in 10.13. macOS computers generally have several volumes created as part of APFS formatting, including Preboot, Recovery and Virtual Memory (VM), as well as traditional user disks. Audit: Fails when any internal APFS user volume (Preboot, Recovery and VM excluded) reports FileVault: No.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
[ -x /usr/sbin/diskutil ] || exit 1
out=$(/usr/sbin/diskutil list internal | /usr/bin/grep 'APFS Volume' | /usr/bin/awk '{print $NF}' | /usr/bin/xargs -n1 /usr/sbin/diskutil info | /usr/bin/grep -E "Volume Name|FileVault" | /usr/bin/sed '/Preboot/{N;d;}' | /usr/bin/sed '/Recovery/{N;d;}' | /usr/bin/sed '/VM/{N;d;}')
if printf '%s\n' "$out" | /usr/bin/grep -qE 'FileVault: +No'; then printf '%s\n' "$out"; else echo compliant; fi
Đầu ra mong đợi
compliant

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

Use Disk Utility to erase a user disk and format as APFS (Encrypted).

Thuộc tính

Hệ điều hành
macos-15
Thẻ
macossystem-access
Tham chiếu
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 5.3.1 Ensure all internal user storage APFS volumes are encrypted

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target macos