get https://{domain}.frontegg.com/audits/resources/audits/v2
This route gets all audit logs for a tenant. Send the tenant’s id in the frontegg-tenant-id
header to declare the tenant. Optionally, use the query params to filter and organize the results. There's a limit of 200 audits. You can use the 'offset' query param to get the following 200 results. For example:
?count=200&offset=0&sortBy=createdAt&sortDirection=desc returns audits 1-200,
?count=200&offset=200&sortBy=createdAt&sortDirection=desc returns audits 201-400