TMA-CASSANDRA-4.2
Ensure that auditing is enabled
설명
Audit logging in Cassandra logs every incoming CQL command request, Authentication (successful as well as unsuccessful login) to C* node. Currently, there are two implementations provided, the custom logger can be implemented and injected with the class name as a parameter in cassandra.yaml. The benchmark rates this recommendation Manual; the automated check covers its objective pass criterion. Checks /etc/cassandra/cassandra.yaml (package install; SKIP when it does not exist).
점검 방법
감사 방식: 파일 패턴
- 파일
/etc/cassandra/cassandra.yaml- 패턴
(?m)^audit_logging_options:[ \t]*\n(?:[ \t]*(?:#[^\n]*)?\n|[ \t]+[^\n]*\n)*?[ \t]+enabled:[ \t]*['\x22]?true\b
조치 방법
조치 방식: 가이드 또는 인프라 패치
Set audit_logging_options.enabled: true (logger BinAuditLogger or FileAuditLogger, with included_categories) in cassandra.yaml and restart, or run nodetool enableauditlog on each node.
속성
- 운영 체제
- 모두
- 태그
- cassandraloggingaudit
- 참고 자료
- CIS Apache Cassandra 5.0 Benchmark v1.1.0 - 4.2 Ensure that auditing is enabled
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
tmaegis scan --target cassandra