feat: add permanent whitelist list endpoint and rename DB table
- Add GET /api/whitelist/perm/list to list permanent whitelisted entries - Implement permWhitelistListHandler with API key verification - Rename permanent_whitelist table to perm_whitelist for consistency - Update default DB path from ./data to /data - Comment out build job in CI/CD workflow
This commit is contained in:
@@ -52,6 +52,7 @@ The API requires a bearer token set via `AUTH_PROXY_API_TOKEN`. All endpoints re
|
||||
| GET | `/api/whitelist/temp/list` | List active temporary entries |
|
||||
| DELETE | `/api/whitelist/temp/{ip}` | Remove a temporary entry |
|
||||
| POST | `/api/whitelist/perm` | Add a permanent whitelisted IP/CIDR |
|
||||
| GET | `/api/whitelist/perm/list` | List active permanent entries |
|
||||
| DELETE | `/api/whitelist/perm/{entry}` | Remove a permanent entry |
|
||||
| GET | `/api/logs` | Retrieve audit log entries |
|
||||
| GET | `/status` | Health check |
|
||||
|
||||
Reference in New Issue
Block a user