Apache Cassandra
TMA-CASSANDRA-5.2
Client Encryption
CaoCấp 1Tự độngcassandra
Mô tả
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.
Cách kiểm tra
Phương pháp kiểm tra: Mẫu tệp
- Tệp
/etc/cassandra/cassandra.yaml- Mẫu khớp
(?m)^client_encryption_options:[ \t]*\n(?:[ \t]*(?:#[^\n]*)?\n|[ \t]+[^\n]*\n)*?[ \t]+enabled:[ \t]*['\x22]?true\b
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
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.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- cassandraencryptiontls
- Tham chiếu
- CIS Apache Cassandra 5.0 Benchmark v1.1.0 - 5.2 Client Encryption
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
shell
tmaegis scan --target cassandra