- Dry-run mode: Add
--dry-runflag to preview queries without execution - Query preview: Show first 5 rows that would be affected by DELETE/UPDATE
- Enhanced SQL parsing: Support more complex queries (JOINs, subqueries, CTEs)
- Transaction support: Handle multi-statement transactions properly
- Connection pooling: Optimize database connections for better performance
- Multiple honeytokens: Support configurable canary table names
- IP-based restrictions: Block/allow specific IP ranges
- Rate limiting: Prevent query spam from clients
- User authentication: Proxy-level user validation before DB access
- Query signature detection: Block known dangerous query patterns
- Per-table row limits: Configure different thresholds per table
[table_limits] users = 100 products = 1000 logs = 10000
- Regex-based table matching:
sensitive_*tables with stricter limits
- Structured JSON logging: Machine-readable log format
- Metrics endpoint: Prometheus metrics on
/metrics? - Query history: Store and review blocked/allowed queries
- Real snapshot support: Integration with
pg_dumpor cloud backups - Backup verification: Ensure backups are valid before destructive queries
- Point-in-time recovery: Automatic backup before major operations
- Configurable backup storage: S3, GCS, local filesystem support
- Query cost estimation: Use EXPLAIN to predict query performance
- Execution plan analysis: Block queries with expensive operations
- Index usage detection: Warn about queries not using indexes
- Query optimization suggestions: Recommend better query patterns
- REST API: Control proxy settings via HTTP endpoints
- Webhook notifications: Send alerts to Slack/Discord on blocks
- Database migration support: Safe handling of schema changes
- Multiple database support: MySQL, SQLite proxy variants
- Query simulation: Test mode with fake data responses
- Fuzzing support: Automated testing with random queries
- Benchmark suite: Performance testing framework
- Integration tests: Full end-to-end testing setup
- Async query processing: Non-blocking query analysis
- Connection reuse: Pool management for database connections
- Query caching: Cache COUNT query results for similar patterns
- Batch query analysis: Process multiple queries efficiently
- TLS support: Encrypted connections between client/proxy/database
- Certificate validation: Proper SSL/TLS certificate handling
- Helm chart: kinda OD but why not
- Multi-architecture builds: ARM64 and AMD64 Docker images
- Health checks: Proper liveness/readiness probes
- Architecture docs: System design and component overview
- Configuration reference: Complete settings documentation
- Troubleshooting guide: Common issues and solutions
- Performance tuning: Optimization recommendations
- Usage statistics: Track query patterns and blocked attempts
- Alerting rules: Custom alert conditions for suspicious activity
- Report generation: Automated security and usage reports