
Juan DenisandClaude Opus 4.8
ada030553a
feat(security): per-app WAF (ModSecurity v3 + OWASP CRS)
- WafPolicy model (per app: mode off/detect/block, paranoia level, anomaly
threshold, disabled CRS rule ids).
- WafService: render_rules (SecRuleEngine + CRS include + paranoia/anomaly +
SecRuleRemoveById), nginx_snippet, install/status (distro-aware,
best-effort), apply() that writes per-app rules under
/etc/nginx/serverkit-conf.d/waf and idempotently injects an include into
the app vhost (graceful manual_include fallback), and audit-log event
parsing.
- API /api/v1/waf: per-app policy GET/PUT, apply, events, install status.
- 29 tests: rule rendering per mode, rule-disable, nginx snippet, policy
validation, audit-log parsing, API round-trip + auth.
Backend only; WAF UI + verified install on a real nginx+ModSecurity host are
follow-ups. Integration is additive — existing nginx/site management untouched.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 14:02:24 -04:00
..
2026-06-19 14:02:24 -04:00
2026-03-23 02:08:00 -04:00
2026-06-01 02:39:05 -04:00
2026-03-04 01:53:46 -05:00
2026-03-04 01:53:46 -05:00
2026-06-19 09:54:40 -04:00
2026-05-03 15:57:02 -04:00
2026-03-23 21:25:40 -04:00
2026-06-19 10:13:50 -04:00
2026-06-19 09:54:40 -04:00
2026-06-19 03:12:07 -04:00
2026-04-29 00:39:16 -04:00
2026-01-18 04:20:30 -05:00
2026-03-23 02:18:26 -04:00
2026-01-17 04:22:12 -05:00
2026-06-15 09:19:56 -04:00
2026-01-18 00:40:41 -05:00
2026-01-27 19:35:21 -05:00
2026-03-04 01:53:46 -05:00
2026-06-15 23:20:00 -04:00
2026-06-19 01:33:45 -04:00
2026-06-19 09:22:18 -04:00
2026-03-23 01:58:28 -04:00
2026-05-03 13:54:40 -04:00
2026-03-23 01:58:28 -04:00
2026-01-27 19:35:21 -05:00
2026-01-18 03:10:55 -05:00
2026-03-04 01:37:22 -05:00
2026-06-19 01:33:45 -04:00
2026-04-29 03:08:21 -04:00
2026-05-03 13:54:40 -04:00
2026-01-27 19:35:21 -05:00
2026-06-15 10:33:09 -04:00
2026-01-27 19:35:21 -05:00
2026-06-19 01:33:46 -04:00
2026-01-22 18:11:22 -05:00
2026-03-23 02:11:16 -04:00
2026-06-01 03:36:24 -04:00
2026-06-15 09:19:56 -04:00
2026-06-01 00:47:26 -04:00
2026-01-18 05:01:49 -05:00
2026-06-15 23:20:00 -04:00
2026-06-19 01:33:45 -04:00
2026-06-19 14:02:24 -04:00
2026-06-19 01:33:46 -04:00
2026-01-21 21:31:57 -05:00
2026-06-01 03:04:03 -04:00
2026-03-23 01:10:28 -04:00
2026-06-01 11:59:34 -04:00