Making AppArmor Confinement Actually Reach Production: An End-to-end...
summary
An end-to-end pipeline turns the apparmor.d set into shipped, maintained policy: distro-agnostic automated tests (using autopkgtest, upstream suites and custom YAML task.yml workflows) run in VMs, generate audit events, convert denials into candidate rules and require human review. The repo holds 1,700 profiles; an initial run yields ~11M events that deduplicate to ~8K needed rules across 276 profiles (median two per profile). Deployment uses prebuilt subsets, lazy DFA compilation and aa-sync to load only vetted profiles matched to installed packages, cutting memory/boot costs while keeping confinement practical.
AI-written summary · about
chapters (10)
- 0:00Introduction to AppArmor
- 6:02Challenges in profile deployment
- 10:18Testing profiles automatically
- 21:00Optimizing profile performance
- 29:34Partial deployment strategies
- 32:44Handling gray zone rules
- 37:19Distribution-specific adjustments
- 38:44Deploying profiles in practice
- 43:24Conclusion and future work
- 44:53Q&A session
