Search the audit trail
Every action a person took in any module, and every sign-in the server saw: who, what, on what, when and how it ended, newest first, page by page. An action is a request and the end that follows it. **Required permission:** `identity.audit:read`
/identity/v1/audit-recordsEvery action a person took in any module, and every sign-in the server saw: who, what, on what, when and how it ended, newest first, page by page. An action is a request and the end that follows it.
Required permission: identity.audit:read
Authorization
oauth2 In: header
Query Parameters
Who acted: their identity-provider id or their username, exactly.
0 <= length <= 255What was done: the exact code, such as referential.activate_carrier, or its start ending with a dot, such as referential. for one module.
0 <= length <= 255The kind of thing acted on, such as referential.carrier, exactly.
0 <= length <= 255The thing acted on, by its id, exactly.
0 <= length <= 255How it ended, or the request itself.
Value in
- "REQUESTED"
- "DONE"
- "REFUSED"
- "FAILED"
- "UNCONFIRMED"
- "REQUESTED"
- "DONE"
- "REFUSED"
- "FAILED"
- "UNCONFIRMED"
The first instant, included.
date-timeThe instant the search stops at, excluded.
date-timeThe page, from zero.
int320 <= valueRecords a page holds, 1 to 200; 50 when left out.
int321 <= value <= 200Response Body
*/*
curl -X GET "https://example.com/identity/v1/audit-records"{ "page": 0, "records": [ { "action": "string", "actor_id": "string", "actor_name": "string", "at": "2019-08-24T14:15:22Z", "cause": "string", "correlation_id": "string", "follows": "string", "id": "string", "outcome": "string", "target_id": "string", "target_type": "string", "witness_id": "string", "witness_name": "string" } ], "size": 0, "total": 0}Read the account settings
Whether the station can send account e-mails, and how long the invitation and reset links stay usable. Without e-mail, nothing offers an invitation or a reset link, and a temporary password is given instead. **Required permission:** `identity.user:read`
Export the audit trail as CSV
The records a search matches, newest first, every page, at most 50 000 in one file; a value a spreadsheet would run as a formula is written as text. The X-Audit-Export-Complete header says false when more matched. **Required permission:** `identity.audit:read`