TMAegisBeta
Više pravila za cassandra

Apache Cassandra

TMA-CASSANDRA-4.2

Ensure that auditing is enabled

VisokaNivo 1Automatskacassandra

Opis

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).

Kako se proverava

Metod provere: Obrazac u datoteci

Datoteka
/etc/cassandra/cassandra.yaml
Obrazac
(?m)^audit_logging_options:[ \t]*\n(?:[ \t]*(?:#[^\n]*)?\n|[ \t]+[^\n]*\n)*?[ \t]+enabled:[ \t]*['\x22]?true\b

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

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.

Svojstva

Operativni sistemi
Bilo koji
Oznake
cassandraloggingaudit
Referenca
CIS Apache Cassandra 5.0 Benchmark v1.1.0 - 4.2 Ensure that auditing is enabled

Proverite ovaj računar

Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.

shell
tmaegis scan --target cassandra