TMAegisベータ
cassandra のその他のルール

Apache Cassandra

TMA-CASSANDRA-CONFIG-PERMISSIONS

Ensure cassandra.yaml is not writable by group or readable by others

中レベル 1自動cassandra

説明

cassandra.yaml can contain keystore and truststore passwords; restrict it to mode 640 or stricter. Checks /etc/cassandra/cassandra.yaml (SKIP when it does not exist; tarball installs keep it under $CASSANDRA_HOME/conf).

チェック方法

監査方法: シェルコマンド

shell
p=$(stat -c %a /etc/cassandra/cassandra.yaml 2>/dev/null) || exit 1; if [ $((0$p & 037)) -eq 0 ]; then echo compliant; else echo "mode $p"; fi
期待される出力
compliant

修正方法

修正方法: シェルコマンド

shell
chmod 640 /etc/cassandra/cassandra.yaml

プロパティ

オペレーティングシステム
すべて
タグ
cassandradatabasepermissionsfilesystem
参照
CIS Apache Cassandra Benchmark - File Permissions / Configuration Files (verify section number for your release)

このホストをチェック

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

shell
tmaegis scan --target cassandra