curo1305
364447d0bc
feat(phase-4-06): admin audit log viewer + CSV export (ADMIN-06)
- Create backend/api/audit.py: GET /api/admin/audit-log (paginated, filtered)
and GET /api/admin/audit-log/export (streaming CSV)
- Both endpoints protected by Depends(get_current_admin) — regular users → 403
- _audit_to_dict() whitelist explicitly excludes filename, extracted_text,
password_hash, credentials_enc (T-04-06-02, D-15)
- CSV export uses same helper as JSON viewer; Content-Disposition: attachment
- Register audit_router in backend/main.py
2026-05-25 18:48:02 +02:00
..
2026-05-22 19:35:38 +02:00
2026-05-25 18:48:02 +02:00
2026-05-22 19:19:52 +02:00
2026-05-23 20:05:34 +02:00
2026-05-25 18:30:28 +02:00
2026-05-25 18:33:31 +02:00
2026-05-25 18:30:28 +02:00
2026-05-23 20:32:55 +02:00
2026-05-25 18:47:24 +02:00
2026-05-24 11:30:56 +02:00
2026-05-23 14:32:12 +02:00
2026-05-23 20:32:55 +02:00
2026-05-22 08:53:28 +02:00
2026-05-25 18:48:02 +02:00
2026-05-22 08:53:28 +02:00
2026-05-24 11:30:56 +02:00