fix(security): strip push tokens from /status/json response #14
Reference in New Issue
Block a user
Delete Branch "fix/status-json-token-exposure"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/status/jsonendpoint was exposing push monitor heartbeat tokensTest plan
go test ./...passescurl /status/json— verify Token field is empty for push monitorscurl -H "X-Upkeep-Secret: key" /api/backup/export— verify Token field still present