Skip to content

Feature/861 audit log read retention#1045

Merged
ogazboiz merged 8 commits into
LabsCrypt:mainfrom
mijinummi:feature/861-audit-log-read-retention
May 29, 2026
Merged

Feature/861 audit log read retention#1045
ogazboiz merged 8 commits into
LabsCrypt:mainfrom
mijinummi:feature/861-audit-log-read-retention

Conversation

@mijinummi
Copy link
Copy Markdown
Contributor

PR Description

Closes #862, Closes #855, Closes #861

Implemented collateral management actions on the loan details page, allowing borrowers to deposit additional collateral and release collateral after repayment. Added transaction modal flows, optimistic UI handling, wallet balance validation, localized translations, transaction toasts, and component-level state validation tests following the existing transaction builder architecture.

Implemented admin audit log read capabilities with cursor pagination, filtering, optional total counts, and retention cleanup automation. Added a scheduled cleanup job to prune expired audit logs based on configurable retention policies, along with logging/metrics support, Swagger documentation, and comprehensive test coverage for pagination, filtering, and retention behavior.

listAuditLogs,
} from '../controllers/adminController';

router.get(
listAuditLogs,
} from '../controllers/adminController';

router.get(
@ogazboiz ogazboiz merged commit b06c289 into LabsCrypt:main May 29, 2026
3 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants