Enable audit app before querying requirement
When using the REST api http://localhost:8080/api-explorer/#!/audit/listAuditEntriesForAuditApp the audit app needs to be enabled otherwise the exception below is thrown
this happens even if there are entries in the tables for this app. The old rest api does not have this issue
Why does the new API have this requirement? This makes it difficult for a customer to cleanup old data without creating new entries.
for this to work does the customer need to disable every auditing app? also, since the servers are in aws it could auto scale up or down, if a new server comes in with auditing enabled, does the rest api persists the setting in the DB or do they need to disable it from the new server again?
I have re-tested and I still see the issue, here are the details of the test:
ACS version 22.214.171.124
Here are some screenshots having the setting audit.alfresco-access.enabled=true where everything works as expected
however, when i switch to audit.alfresco-access.enabled=false i get the reported issue
Please let me know if you need anything else.
I will provide an update before the end of this week. Thank you.