Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
admin.routes.ts:206-249 exposes destructive indexer reset/replay endpoints but only logs on failure - there is no audit record of which admin publicKey triggered a reset/replay or with what params. Likewise auth.ts verifyChallenge logs only the error path, never successful authentications or admin-access grants.
Acceptance criteria
Files to touch
backend/src/routes/v1/admin.routes.ts
backend/src/middleware/auth.ts
backend/src/logger.ts
Out of scope
- Shipping logs to an external SIEM
Why this matters
admin.routes.ts:206-249 exposes destructive indexer reset/replay endpoints but only logs on failure - there is no audit record of which admin publicKey triggered a reset/replay or with what params. Likewise auth.ts verifyChallenge logs only the error path, never successful authentications or admin-access grants.
Acceptance criteria
Files to touch
backend/src/routes/v1/admin.routes.tsbackend/src/middleware/auth.tsbackend/src/logger.tsOut of scope