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

조치 방법

조치 방식: 가이드 또는 인프라 패치

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