TMA-DOCKER-3.8
Ensure that registry certificate file permissions are set to 444 or more restrictively
高レベル 1自動docker
説明
Registry certificate files under /etc/docker/certs.d must have mode 444 or more restrictive. The audit lists files under /etc/docker/certs.d with permission bits outside 444; not applicable when /etc/docker/certs.d does not exist.
チェック方法
監査方法: シェルコマンド
shell
out=$(find /etc/docker/certs.d -type f -perm /7333 2>/dev/null) || exit 1; [ -z "$out" ] && echo compliant || printf '%s\n' "$out"- 期待される出力
compliant
修正方法
修正方法: シェルコマンド
shell
find /etc/docker/certs.d -type f -exec chmod 444 {} +プロパティ
- オペレーティングシステム
- すべて
- タグ
- dockerpermissionstls
- 参照
- CIS Docker Benchmark v1.9.0 - 3.8 Ensure that registry certificate file permissions are set to 444 or more restrictively
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target docker