Expand description
Management HTTP API for runtime configuration and monitoring.
Provides REST endpoints for:
- Health status (
GET /health) - Prometheus metrics (
GET /metrics) - Configuration reload (
POST /reload) - Site management (
GET/POST/PUT/DELETE /sites) - WAF statistics (
GET /waf/stats) - Site-specific configuration (
PUT /sites/:hostname/waf, etc.)
Structs§
- ApiHandler
- API endpoint handlers.
- ApiHandler
Builder - Builder for ApiHandler.
- ApiResponse
- API response wrapper.
- ApiRoute
- API route definition.
- Blocklist
Entry Response - Blocklist entry response from Signal Horizon.
- Crawler
Stats Response - Crawler detection stats response.
- Endpoint
Payload Summary - Per-endpoint payload summary.
- Evaluate
Result - Result of a dry-run WAF evaluation.
- Horizon
Stats Response - Signal Horizon stats response.
- Payload
Anomaly Response - Payload anomaly response.
- Payload
Summary Response - Payload profiling summary response.
- Reload
Result Response - Response for reload operation.
- Signal
List Response - Signal list response.
- Site
Info - Information about a single site.
- Site
List Response - Response for site list.
- Stats
Response - Response for stats endpoint.
- Trends
Anomaly Response - Trends anomaly response.
- Trends
Summary Response - Trends summary response.
- WafStats
Response - Response for WAF stats endpoint.
Enums§
- Http
Method - HTTP method for API routing.
Constants§
- API_
ROUTES - Available API routes.