docs: add Web Application Firewall reference#603
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces comprehensive documentation for the new Web Application Firewall (WAF) feature in Harper Pro (v5.2.0). It adds new reference pages covering the WAF overview, configuration options, and operations/rule schema, alongside updating the main reference index, security overview, operations API docs, release notes, and sidebar navigation. Since there are no review comments, I have no feedback to provide.
🚀 Preview DeploymentYour preview deployment is ready! 🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-603 This preview will update automatically when you push new commits. |
Ethan-Arrowood
left a comment
There was a problem hiding this comment.
LGTM — I verified every security-relevant claim against the WAF source at harper-pro#517's head: fail-open posture, before-auth placement, X-Forwarded-For distrust / PROXY-protocol IP recovery, RE2 linear-time matching, shadow/monitor/off modes, activation gating, super_user gating on system.hdb_waf_rules, the rule schema, and all numeric defaults. All accurate.
One heads-up: harper-pro#517's PR description still calls RE2 a follow-up ("prototype uses JS RegExp"), but the head code imports re2, so the doc's ReDoS-safety claim is backed. Just keep the two in sync when #517 lands.
sent with Claude Opus 4.8
Summary
Documents harper-pro #517 - WAF component: rule-table-driven request filtering with live updates, reserved v1 schema, shadow/monitor mode, and activation gating.
Validation
npm run format:checknpm run typechecknpm run buildThe build succeeds with one pre-existing broken-anchor warning in the v5.1 release notes (
#deployment-operations); this PR introduces no broken links or anchors.Generated by OpenAI Codex (GPT-5.6).