List Scaleway Audit Trail events
scaleway_audit_list_eventsList Audit Trail events to track actions across your Organization. Filter by date, resource type, or method, and paginate through results with cursor-based control.
Instructions
List Audit Trail events (who did what, when, from where, against what) across this Organization - the same data as the console's Audit Trail > Events page. Requires the AuditTrailReadOnly permission set on THIS server's own credential; if every call fails with permissions_denied, that's very likely why - grant it via scaleway_iam_set_policy_rules (organization scope). Defaults to the last 24 hours. Pagination is cursor-based with no total_count - max_pages is a safety cap, not a completeness guarantee; the response says whether it was truncated and includes the last page token to continue from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Defaults to the server's configured region (fr-par). | |
| max_pages | No | Safety cap on pagination (100 events/page). Default 20 (up to 2000 events). This API has no total_count, so completeness can't be confirmed beyond the cap. | |
| full_detail | No | false (default): drop request_id/user_agent/request_body per event to keep the response compact. true: return every field the API provides. | |
| resource_type | No | Server-side filter on Scaleway's resource_type values (e.g. 'iam_application', 'iam_policy'). The exact catalog isn't verified here - omit if unsure and filter the returned events client-side instead. | |
| recorded_after | No | ISO 8601 date-time, inclusive. Defaults to 24 hours ago. | |
| recorded_before | No | ISO 8601 date-time, exclusive. Defaults to now (omitted from the request). | |
| method_name_contains | No | Client-side substring filter against method_name, e.g. 'CreateApplication'. Not a real query param on this API - applied after fetching. |