TMAegis
redis のその他のルール

Redis

TMA-REDIS-TLS

Ensure TLS is enabled

中レベル 2自動redis

説明

tls-port (Redis 6+) with tls-cert-file/tls-key-file encrypts client traffic; also set 'port 0' to disable the plain-text listener. Checks /etc/redis/redis.conf (SKIP when it does not exist; RHEL uses /etc/redis.conf).

チェック方法

監査方法: ファイルパターン

ファイル
/etc/redis/redis.conf
パターン
(?m)^[ \t]*tls-port[ \t]+[1-9][0-9]*\b

修正方法

修正方法: ガイダンスまたは IaC パッチ

Set tls-port 6379, tls-cert-file, tls-key-file, tls-ca-cert-file and port 0 in redis.conf, restart Redis and configure clients for TLS

プロパティ

オペレーティングシステム
すべて
タグ
redisdatabasetls
参照
CIS Redis Benchmark - Network Security / TLS (verify section number for your release)

このホストをチェック

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

shell
tmaegis scan --target redis --level 2