List audit logs for a user or resource
GET/resource-audit-logs/:resource/:id
Returns DynamoDB audit rows for the path resource and id. Pagination is in DynamoDB; last page when next_available is no. Viewing another user's logs or dwh requires users.fullaccess. Other types use ACL or creator/role-membership checks.
Request
Responses
- 200
- 400
- 500
AuditLogs plus next_available (yes/no), count (this page), and total_count. Continue with offset += limit until next_available is no. An empty result is still 200 with AuditLogs [] and total_count 0 (no Message).
Response Headers
Validation or authorization failure. Coded errors are {"Message": " -
Response Headers
This Lambda maps GenericFailureException and InconsistentMetadataException to HTTP 500. Uncaught errors (including non-numeric limit/offset) use {"Message": "