Bottlerocket
TMA-BOTTLEROCKET-1.5.2
Ensure Lockdown is configured
低レベル 2自動bottlerocket
説明
Lockdown must be enabled in integrity mode. Note that this prevents unsigned kernel modules from being loaded. This could interfere with the operation of hardware or third-party software that depends on these modules. The audit reads /sys/kernel/security/lockdown and requires [integrity] to be selected. Run tmaegis on the host through the admin container root shell (sudo sheltie).
チェック方法
監査方法: シェルコマンド
shell
v=$(cat /sys/kernel/security/lockdown 2>/dev/null) || exit 1
printf '%s\n' "$v" | grep -Fwq '[integrity]' && echo compliant || echo "lockdown: $v"- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
Run the following command to enable Lockdown in integrity mode: # apiclient set kernel.lockdown=integrity
プロパティ
- オペレーティングシステム
- すべて
- タグ
- bottlerocketsystem
- 参照
- CIS Bottlerocket Benchmark v1.0.0 - 1.5.2 Ensure Lockdown is configured
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target bottlerocket --level 2