get_selinux_apparmor_status
Check SELinux and AppArmor enforcement status to assess Linux security posture. Read-only, non-fatal, and reports missing modules as not_enabled.
Instructions
Returns SELinux and AppArmor enforcement status. Read-only via getenforce and sysfs/aa-status; never fatal, missing modules report 'not_enabled'. Use for security posture checks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| selinux | Yes | ||
| apparmor | Yes |