Audit Trail for File Uploads via Loyalife UI
Overview
Currently, files uploaded through the Loyalife product interface — including CPD, TXN, CRD, or BNS files — are logged for system processing, but there is no user-specific metadata. This enhancement allows every file upload from the UI to be tracked in the Audit Trail module, enabling:
- Accountability for data uploads
- Easier investigation of data issues
- Auditing admin activity in multi-user environments
- All file uploads are now logged with relevant metadata similar to other audit actions, such as member search or login.
Audit Trail for File Uploads: Captured Details
When a user uploads a file via the Loyalife UI, the following information is logged in the Audit Trail:
| Field | Example / Description |
| Date | 2025-07-30 10:45:22 – Timestamp of the file upload |
| Username | [email protected] – User performing the upload |
| Action | Uploaded File – Type of activity |
| Activity | Uploaded TXN file via UI, July_Transactions_TXN.csv – Description including file type and name |
| Page URL | https://lbmsqaaz.giiftdev.com/upload/txn – URL from which the file was uploaded |
| IP Address | 10.233.32.62 – Captured from the user session |
| Browser | Chrome 124 – Captured from the user agent information |
Viewing Audit Trail Entries
- Go to Admin Dashboard → Audit Trail.
- Use filters to search by:
- Date Range
- Username
- Action (e.g., Uploaded File)
- Page URL
- The system will display entries with all relevant metadata, helping track who uploaded which file and when.
Benefits
- Ensures accountability for incorrect or malformed file uploads.
- Simplifies investigations of data integrity issues.
- Strengthens auditing capabilities in multi-user environments.
Notes
- Only uploads via the UI are tracked in this manner; direct database imports or API uploads may require separate logging.
- Browser and IP details are captured automatically and cannot be manually edited.
- Ensure files follow the system-defined format to prevent upload errors.
Updated 3 months ago
