TMAegisБета
Више правила за apache

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

Како се исправља

Метод исправке: Смерница или закрпа инфраструктуре

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