TMAegisBeta
Mais regras para cassandra

Apache Cassandra

TMA-CASSANDRA-5.2

Client Encryption

AltaNível 1Automatizadacassandra

Descrição

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.

Como é verificado

Método de auditoria: Padrão de arquivo

Arquivo
/etc/cassandra/cassandra.yaml
Padrão
(?m)^client_encryption_options:[ \t]*\n(?:[ \t]*(?:#[^\n]*)?\n|[ \t]+[^\n]*\n)*?[ \t]+enabled:[ \t]*['\x22]?true\b

Como é corrigido

Método de correção: Orientação ou patch de infraestrutura

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.

Propriedades

Sistemas operacionais
Qualquer
Tags
cassandraencryptiontls
Referência
CIS Apache Cassandra 5.0 Benchmark v1.1.0 - 5.2 Client Encryption

Verificar este host

Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.

shell
tmaegis scan --target cassandra