MongoDB
TMA-MONGODB-4.5
Ensure Encryption of Data at Rest
Descrição
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.
Como é verificado
Método de auditoria: Padrão de arquivo
- Arquivo
/etc/mongod.conf- Padrão
(?m)^[ \t]*enableEncryption:[ \t]*['\x22]?true\b
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
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.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- mongodbencryption
- Referência
- CIS MongoDB 8 Benchmark v2.0.0 - 4.5 Ensure Encryption of Data at Rest
Verificar este host
Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.
tmaegis scan --target mongodb --level 2