Apache HTTP Server
TMA-APACHE-12.1
Ensure the AppArmor Framework Is Enabled
低レベル 2自動apache
説明
AppArmor is a Linux kernel security module that provides a named based mandatory access control with security policies. AppArmor can enforce rules on programs for file access and network connections and restrict actions based on defined policies. aa-status --enabled must succeed (run as root). Not applicable without /etc/apparmor.d.
チェック方法
監査方法: シェルコマンド
shell
command -v aa-status >/dev/null || exit 1; aa-status --enabled 2>/dev/null && echo compliant || echo noncompliant- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
Install and enable AppArmor (apt install apparmor apparmor-utils; systemctl enable --now apparmor).
プロパティ
- オペレーティングシステム
- すべて
- タグ
- apacheapparmor
- 参照
- CIS Apache HTTP Server 2.4 Benchmark v2.4.0 - 12.1 Ensure the AppArmor Framework Is Enabled
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target apache --level 2