# nap-apparmor **Repository Path**: mirrors_nginx/nap-apparmor ## Basic Information - **Project Name**: nap-apparmor - **Description**: Apparmor integration for NAP4/5 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-24 - **Last Updated**: 2026-04-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AppArmor Integration for NGINX App Protect WAF (NAP 4 & 5) This project provides tools and documentation for integrating **NGINX App Protect WAF (NAP)** versions **4 and 5** with **AppArmor** on **Debian-based systems** (e.g., Ubuntu, Debian). ## Overview AppArmor is a Linux security module that provides Mandatory Access Control (MAC). When deploying NGINX App Protect WAF, configuring appropriate AppArmor profiles ensures secure, least-privilege access for WAF components, improving system hardening. This repository includes: - Custom AppArmor profiles for NGINX and NAP components - Scripts to apply and test profiles - Sample test cases to trigger policy denials - Tools to monitor and troubleshoot AppArmor violations ## Structure
.
├── nap4-apparmor/
│   ├── apparmor_policies/
│   ├── test_scripts/
│   ├── README.md
│   └── troubleshooting.md
├── nap5-apparmor/
│   ├── apparmor_policies/
│   ├── test_scripts/
│   ├── README.md
│   └── troubleshooting.md
└── README.md
## Requirements - Debian 11+ or Ubuntu 20.04+ (AppArmor enabled) - NGINX App Protect WAF v4 or v5 installed - AppArmor tools: apparmor_parser, aa-status, aa-complain, etc.