nginxinc / kubernetes-ingress

NGINX and NGINX Plus Ingress Controllers for Kubernetes
https://docs.nginx.com/nginx-ingress-controller
Apache License 2.0
4.63k stars 1.96k forks source link

Extend readOnlyRootFileSystem to include NAP WAF when present #5291

Open brianehlert opened 5 months ago

brianehlert commented 5 months ago

Discussed in https://github.com/nginxinc/kubernetes-ingress/discussions/5156

Originally posted by **brianehlert** February 22, 2024 Customers use the readOnlyRootFileSystem capability to align with security policy and customers would like to also use this when NAP WAF is included with NIC. The current implementation of readOnlyRootFileSystem does not support the NAP WAF module and thus the capability needs to be extended to support NAP WAF module behavior and paths necessary.

Notes:

### Tasks
- [ ] POC - readOnlyRootFileSystem to include NAP WAF
### WAF v5 considerations
- [ ] Investigate impact of `readOnlyRootFileSystem=true` now that `waf-enforcer` and `waf-config-mgr` are separated from deployments
brianehlert commented 2 months ago

Given the new support for WAF v5 with NIC 3.6, is this still relative?