Skip to content

GET /admin/audit/actions has no CSV export and the export helper is dead code #1940

Closed

Description

@yusuftomilola

Problem

admin-audit/admin-audit-export.util.ts builds a CSV of audit entries "meant to back an export endpoint on admin-audit.controller.ts", but the controller only has GET /admin/audit/actions and the util isn't imported. Compliance reviewers can't get a date-ranged export (previously #1774, closed).

Proposed change

Add GET /admin/audit/actions/export?from=&to=&action= (ADMIN only, streamed, row cap and date-range validation), escape CSV values (including leading =, +, -, @), and record the export itself as an audit event.

Acceptance criteria

  • Export returns the same filtered rows as the list endpoint in CSV with a stable column order.
  • Formula-prefixed values are neutralised; test covers it.

Activity

  1. OladipupuHussein7 commented on Oct 17, 2026

    @OladipupuHussein7
    Contributor

    @OladipupuHussein7 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi there, I'd like to contribute to this.

    I've worked on blockchain and Web3 projects, including Stellar and Soroban smart contracts, alongside traditional full-stack web development. I'm comfortable moving between frontend, backend, and on-chain work.

    I've reviewed the issue and I'm confident I can implement a solid solution while following the project's conventions.

    Please assign this issue to me, I'd be happy to contribute.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @OladipupuHussein7 to this issue.

  2. drips-wave commented on Oct 17, 2026

    @drips-wave

    Congratulations, @OladipupuHussein7! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @OladipupuHussein7: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  3. grantfox-oss commented on Oct 17, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @OladipupuHussein7's PR #2043 was approved and merged by @yusuftomilola.

    🏆 @OladipupuHussein7: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (379 total points). Track your full progress on GrantFox.

    👏 Great work, @OladipupuHussein7! Keep contributing to DistinctCodes.

  4. drips-wave commented on Oct 17, 2026

    @drips-wave

    This issue has been completed by @OladipupuHussein7 as part of the Stellar Wave Program's 10th Wave 🥳

    😎 @OladipupuHussein7: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  5. added a commit that references this issue on Oct 17, 2026
    13c3fe4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions