TMA-CASSANDRA-5.2
Client Encryption
VisokaNivo 1Automatskacassandra
Opis
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.
Kako se proverava
Metod provere: Obrazac u datoteci
- Datoteka
/etc/cassandra/cassandra.yaml- Obrazac
(?m)^client_encryption_options:[ \t]*\n(?:[ \t]*(?:#[^\n]*)?\n|[ \t]+[^\n]*\n)*?[ \t]+enabled:[ \t]*['\x22]?true\b
Kako se ispravlja
Metod ispravke: Smernica ili zakrpa infrastrukture
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.
Svojstva
- Operativni sistemi
- Bilo koji
- Oznake
- cassandraencryptiontls
- Referenca
- CIS Apache Cassandra 5.0 Benchmark v1.1.0 - 5.2 Client Encryption
Proverite ovaj računar
Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.
shell
tmaegis scan --target cassandra