Releases: achetronic/request-validator
Releases · achetronic/request-validator
v0.2.0
Release notes
Features
- Global dry-run via
defaults.dryRun(bool, defaultfalse): the whole policy is evaluated but no deny is enforced; every request returns 200. - Access log and metrics report the verdict each request would have received. Shadow denies log
decision: denywithdry_run: trueatWARN. - Metrics count shadow denies under
request_validator_rule_decisions_total{outcome="deny",dry_run="true"}.
Fixes
- Per-rule
dryRunno longer reportsdecision: allowfor a rule that would deny; the access log now shows the real verdict (decision: deny,dry_run: true). Enforcement suppression moved from the evaluator to the HTTP layer. - Body-read failures pass through with 200 under global dry-run instead of returning 403.
Behavior changes
x-rv-resultalways carries the real verdict;x-rv-dry-runistruewhen enforcement is suppressed by either the deciding rule'sdryRunordefaults.dryRun.
v0.1.0
🚀 Initial Release!!