Maintain allow and deny lists, check IPs against known bad actor databases, expose a single lookup API. Security teams use this before every external request.
Every operation in Rampart is available through a JSON REST API. No SDK required — use curl, fetch, or any HTTP client.
GET /api/block_rules — list all block_rules with optional search and filter query parametersPOST /api/block_rules — create a new blockrule recordGET /api/block_rules/{id} — retrieve a single blockrule by IDPUT /api/block_rules/{id} — update an existing blockruleDELETE /api/block_rules/{id} — remove a blockruleGET /api/stats — aggregated statisticsGET /api/health — health check endpoint for monitoringThe overhead of managing block rules tends to grow quietly until someone asks why the team is paying four different subscriptions for overlapping features. Rampart replaces that stack with a single process that starts in under a second.
A devops team integrates Rampart into their CI pipeline. A post-deploy hook creates a blockrule record via the API. The stats endpoint feeds a Grafana panel. When something goes wrong, the team searches block rules by keyword to find related records without switching tools.
Start Rampart with a port and a data directory. It creates its SQLite database on first run and serves both the API and the dashboard on the same port. Create block rules through the web interface or POST JSON to the API. Filter by reason, source, or search by keyword. Update records with PUT, delete with DELETE. The stats endpoint returns aggregate counts for monitoring.
GET /api/block_rules — List all block rules. Supports ?q=keyword for searchPOST /api/block_rules — Create a new blockrule. Send JSON with at least cidrGET /api/block_rules/{id} — Fetch one blockrule by IDPUT /api/block_rules/{id} — Update fields on an existing blockruleDELETE /api/block_rules/{id} — Remove a blockruleGET /api/stats — Returns total countGET /api/health — Returns {"status":"ok"} for uptime monitoringSelf-hosted IP blocklist manager. Self-hosted on your infrastructure. Your data never leaves your server.
curl -fsSL https://stockyard.dev/install.sh | sh -s -- --tool rampart
PORT=10030 ./rampart
http://localhost:10030
Single binary. Embedded SQLite. No Docker. No database. No dependencies.
Your license key arrives by email within 5 minutes of checkout. Set it as an environment variable and restart the binary.
export RAMPART_LICENSE_KEY=stockyard_xxxxxxxxxxxxxxxxxxxx ./rampart
No cloud connectivity required. The binary validates the key offline with Ed25519 signatures.