Skip to content

prest-guard

pREST middleware plugin: opt-in request security middleware for pREST (PostgreSQL REST), powered by the guard-core-go engine.

What it does

When enabled, the plugin runs every incoming request through the guard-core pipeline before it reaches pREST: IP reputation and bans, rate limits, penetration-attempt detection, and block responses with JSON error bodies. Everything is opt-in and configured via PREST_GUARD_* environment variables.

Installation

See the repository README for build and configuration.