TMAegisBeta
更多 redis 規則

Redis

TMA-REDIS-PROTECTED-MODE

Ensure protected-mode is enabled

高等級 1自動化redis

說明

protected-mode refuses external connections when no password is set.

檢查方式

稽核方法: 檔案正規表示式

檔案
/etc/redis/redis.conf
比對模式
(?m)^\s*protected-mode\s+yes\b

修補方式

修補方法: 檔案編輯

檔案
/etc/redis/redis.conf
取代行
protected-mode yes

屬性

作業系統
不限
標籤
databaseredis
參考資料
CIS Redis Benchmark - Network Security

檢查此主機

請在您有權稽核的機器上執行此指令。掃描為唯讀操作。

shell
tmaegis scan --target redis