Skip to content

Add audit log service for sensitive admin and contract operations #898

Description

@Chucks1093

Summary

Implement a centralised audit log service that records all sensitive admin actions and contract operations with actor, action, target, and timestamp for compliance purposes.

Scope

  • Audit log table with actor wallet, action type, target entity, payload snapshot, and timestamp
  • Log entries created for: deprecation, multi-sig actions, role changes, suspensions, freeze operations
  • GET /admin/audit-log endpoint with filter by action type and date range
  • Immutable records — no update or delete endpoints
  • Paginated with cursor for large log volumes

Acceptance Criteria

  • All defined sensitive operations create an audit log entry
  • Audit log endpoint returns correct entries for applied filters
  • No update or delete routes exist for audit records
  • Pagination cursor works correctly on large datasets
  • Admin-only access enforced on the endpoint

ETA

12 hours

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions