Create/Update Audit Events API to allow better filtering
Problem to solve
The existing Audit Events API is potentially confusing and very limited in what a user can filter by. This results in the Admin Audit Events and Project Audit Logs pages not being able to use this API either and instead uses an Audit Events finder to get its results.
Proposal
We should either update the existing API or replace it with a new API (maybe GraphQL?) which allows more granular filtering options, takes into account the potential performance concerns with the size of the Audit Events logs and is usable by the pages mentioned above; as well as more usual API uses.
Additional information
Discussions have already been underway in #32388 (comment 293021147) and #32388 (comment 293665447) regarding possible solutions to this. Further discussion/discovery work will be needed.