You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a comprehensive audit logging module that records every admin action taken through the API. For a game with on-chain rewards and community-submitted content, audit trails are non-negotiable. Admins must be accountable for bans, reward adjustments, puzzle approvals, and NFT operations, with a queryable log that persists the who, what, when, and context of every action.
Description
Implement a comprehensive audit logging module that records every admin action taken through the API. For a game with on-chain rewards and community-submitted content, audit trails are non-negotiable. Admins must be accountable for bans, reward adjustments, puzzle approvals, and NFT operations, with a queryable log that persists the who, what, when, and context of every action.
Acceptance Criteria
auditmodule is scaffolded atsrc/audit/AuditLogentity stores actorId, action, targetEntity, targetId, payload (JSON), and timestampGET /admin/auditreturns paginated audit logs with filters for actor, action type, and date range