TMA-CASSANDRA-5.2
Client Encryption
ÉlevéeNiveau 1Automatiséecassandra
Description
Cassandra offers the option to encrypt data in transit between the client and nodes on the cluster. By default client encryption is turned off. Checks /etc/cassandra/cassandra.yaml (package install; SKIP when it does not exist). Passes when client_encryption_options.enabled is true; set optional: false to refuse unencrypted clients.
Méthode de vérification
Méthode d'audit: Motif de fichier
- Fichier
/etc/cassandra/cassandra.yaml- Motif
(?m)^client_encryption_options:[ \t]*\n(?:[ \t]*(?:#[^\n]*)?\n|[ \t]+[^\n]*\n)*?[ \t]+enabled:[ \t]*['\x22]?true\b
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Create a keystore, set client_encryption_options: {enabled: true, optional: false, keystore: ..., keystore_password: ...} in cassandra.yaml and rolling-restart; update drivers/cqlsh to use TLS.
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- cassandraencryptiontls
- Référence
- CIS Apache Cassandra 5.0 Benchmark v1.1.0 - 5.2 Client Encryption
Vérifier cet hôte
Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.
shell
tmaegis scan --target cassandra