create argonaut-clean-audit to remove old audit entries from ldap
Hello,
The command argonaut-clean-audit should read the audit configuration in FusionDirectory configuration backend.
Days to keep 120
this attribute can then be used by the script to calculate the amount of data to keep in the audit branch, and erase older entries
example: audit is from 1 sept to 1 dec and day to keep is a 30, the script should delete 30 days starting 1 sept
it should use :
- argonaut_read_config
- argonaut_ldap_init and other ldap fonctionalities
- argonaut_ldap_get_config_audit (to be added to the Common.pm)
- argonaut_ldap_get_fd_configuration (to be added to the Common.pm)
Cheers
(from redmine: issue id 4865, created on 2016-06-08, closed on 2016-07-12)
- Relations:
- relates #4995 (closed)
- copied_to #4864 (closed)
- Changesets:
- Revision 16acab26 by Côme Chilliet on 2016-06-10T07:24:36.000Z:
Fixes #4865 First try at audit cleaning script
- Revision 4eb20116 by Côme Chilliet on 2016-07-12T03:29:24.000Z:
Fixes #4865 Fixed error when there is no configuration found