Search audit trail
search_auditQuery the midPoint audit trail to find who changed what and when, including logins and approvals, using time-range and initiator/target/event/outcome/channel filters.
Instructions
Query the midPoint audit trail — who changed what and when, logins, approvals — over a time range with optional initiator/target/event-type/outcome/channel filters. midPoint 4.10 has no REST audit endpoint, so this runs a server-side script and needs script-execution authorization; it therefore does not work under resource-server (OIDC) impersonation. When you write to a person, name people, roles and requests by their display names rather than OIDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | end of the time range (RFC3339); omit for no upper bound | |
| from | No | start of the time range (RFC3339); defaults to 30 days ago | |
| limit | No | maximum records, default 20, max 100 | |
| target | No | filter by target substring (what was acted on) | |
| channel | No | filter by channel substring | |
| outcome | No | filter by outcome substring, e.g. success, fatalError | |
| eventType | No | filter by event type substring, e.g. modifyObject | |
| initiator | No | filter by initiator substring (who acted) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| count | Yes | ||
| status | No | ||
| records | Yes |