TMAegis
Thêm quy tắc cho mongodb

TMA-MONGODB-4.5

Ensure Encryption of Data at Rest

Trung bìnhCấp 2Tự độngmongodb

Mô tả

Encryption of data at rest must be enabled to ensure compliance with security and privacy standards including HIPAA, PCI-DSS, and FERPA. Encryption at rest, when used in conjunction with transport encryption and good security policies that protect relevant accounts, passwords, and encryption keys. The benchmark rates this recommendation Manual; the automated check covers its objective pass criterion. Checks the YAML config file /etc/mongod.conf (SKIP when it does not exist). Requires MongoDB Enterprise (encrypted WiredTiger storage engine); also confirm a KMIP server or encryptionKeyFile holds the master key and that keys are rotated.

Cách kiểm tra

Phương pháp kiểm tra: Mẫu tệp

Tệp
/etc/mongod.conf
Mẫu khớp
(?m)^[ \t]*enableEncryption:[ \t]*['\x22]?true\b

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

Configure security.enableEncryption: true with security.kmip.* (recommended) or security.encryptionKeyFile, then resync each member so its data files are rewritten encrypted; rotate keys per policy.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
mongodbencryption
Tham chiếu
CIS MongoDB 8 Benchmark v2.0.0 - 4.5 Ensure Encryption of Data at Rest

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 mongodb --level 2