TMA-MONGODB-4.3
Ensure Encryption of Data in Transit TLS or SSL (Transport Encryption)
CaoCấp 1Tự độngmongodb
Mô tả
Use TLS or SSL to protect all incoming and outgoing connections. This should include using TLS or SSL to encrypt communication between the mongod and mongos components of a MongoDB client as well as between all applications and MongoDB. MongoDB supports TLS/SSL (Transport Layer Security/Secure Sockets Layer) to encrypt all of MongoDB's network traffic. Checks the YAML config file /etc/mongod.conf (SKIP when it does not exist).
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]*mode:[ \t]*['\x22]?require(?:TLS|SSL)\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
Set net.tls.mode: requireTLS with net.tls.certificateKeyFile and net.tls.CAFile in /etc/mongod.conf, update clients to use TLS, then restart mongod.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- mongodbtlsencryption
- Tham chiếu
- CIS MongoDB 8 Benchmark v2.0.0 - 4.3 Ensure Encryption of Data in Transit TLS or SSL (Transport Encryption)
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