Export audit logs
Streams audit log events matching the supplied filters as a downloadable file. Accepts the same filter query parameters as GET /api/audit-logs. The response is returned as an attachment with a generated filename.
Request
- Base URLhttp://localhost:8080
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Export format. Defaults to json when omitted or unrecognized.
- json: a JSON array of events
- jsonl: JSON Lines, one event per line
- syslog: RFC 5424 syslog format
Free-text search across audit event fields.
JSON array of CADF actions to filter by (OR match).
JSON array of outcomes to filter by (OR match).
JSON array of event types to filter by (OR match).
Filter events at or after this time (RFC3339 or YYYY-MM-DD).
Filter events at or before this time (RFC3339 or YYYY-MM-DD).
Relative time window that overrides start_date/end_date when set (e.g. 24h, 7d).
Response
A streamed export of the matching audit logs.
Changes
No recorded changes to this operation across all 1 revision of this API.