########################################################################################## PHPCRED-39: Utility script for viewing audit logs ########################################################################################## Issue Type: New Feature ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Won't Fix (2019-09-09 15:51:09) Project: PHPCredlocker (PHPCRED) Reported By: btasker Assigned To: btasker Components: - Audit Logs Targeted for fix in version: - 1.25 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== Would like to create a small utility script for viewing/filtering and clearing the internal audit logs. Should take command line arguments (no argument == print usage) and support the following - view all logs (--view) - clear logs (--purge) - filter by username (--user ) - start date (--start ) - end date (--end ) - filter by type (--type ) - sort order (--sort ASC/DESC default ASC) Would probably be wise to add a translation method to the core logging class so that it can be used to take the DB log format and translate it into something human readable (though the option to extract the raw format should also be available). The audit-by-email plugin contains a basic translation module so that can likely be used. ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2019-09-09 15:51:10 btasker ----------------------------------------------------------------------------------------- Bulk Closing as Won't Fix. Credlocker is EOL so no further work will be done. ----------------------------------------------------------------------------------------- 2019-09-09 15:51:10 ----------------------------------------------------------------------------------------- btasker changed status from 'Open' to 'Closed' ----------------------------------------------------------------------------------------- 2019-09-09 15:51:10 ----------------------------------------------------------------------------------------- btasker added 'Won't Fix' to resolution