TMAegis
cassandra のその他のルール

TMA-CASSANDRA-5.2

Client Encryption

高レベル 1自動cassandra

説明

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.

チェック方法

監査方法: ファイルパターン

ファイル
/etc/cassandra/cassandra.yaml
パターン
(?m)^client_encryption_options:[ \t]*\n(?:[ \t]*(?:#[^\n]*)?\n|[ \t]+[^\n]*\n)*?[ \t]+enabled:[ \t]*['\x22]?true\b

修正方法

修正方法: ガイダンスまたは IaC パッチ

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.

プロパティ

オペレーティングシステム
すべて
タグ
cassandraencryptiontls
参照
CIS Apache Cassandra 5.0 Benchmark v1.1.0 - 5.2 Client Encryption

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target cassandra