All methods that used searching in audit have been refactored. It is recommended that you drop all indexes from the audit collection (called a) in your mongo database.
Pruning old audit entries
Superuser-only endpoint. Deletes audit entries older than specified age.
PUT /audit/prune
{
"max_age": <number of seconds or duration string>
}
New collection for last credentials events
Last login and authorization data are now stored in a dedicated collection separate from audit.
closes #255 closes #254
Changes
No searching in audit
All methods that used searching in audit have been refactored. It is recommended that you drop all indexes from the audit collection (called
a
) in your mongo database.Pruning old audit entries
Superuser-only endpoint. Deletes audit entries older than specified age.
New collection for last credentials events
Last login and authorization data are now stored in a dedicated collection separate from audit.