summarize_activity
Summarize audit-log events in a date range, returning counts by actor, action, CRUD type, and access type, plus failure and anonymous rates.
Instructions
Summarise all audit-log activity in a window (counts computed in Python).
Returns event counts by actor, by action, by CRUD type and by access type, plus failure and anonymous rates - all pre-computed. Use these numbers directly; do not re-derive them from raw events.
Args: date_from: Start of the window, ISO-8601. Inclusive. date_to: End of the window, ISO-8601. Inclusive.
Returns:
A dict with a summary block (total_events, by_actor,
by_action, by_crud, by_access_type, failure_rate_pct,
top_failed_actions) and a pagination block describing coverage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | Yes | ||
| date_from | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||