Emit audit and SCIM log exports as CSV

JSONL was awkward in spreadsheets and SIEM imports. Write
tab-separated-friendly CSV with organization name on every row,
resolve audit actors to email or API key name, and enrich SCIM rows
with profile email and display name when available.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
Cursor Agent
2026-07-29 18:14:25 +00:00
parent 0448c25d8b
commit 5cd407bd86
11 changed files with 726 additions and 108 deletions

View File

@@ -14610,7 +14610,7 @@ tools:
$ref: "#/components/schemas/ListAuditLogEntriesOutput"
- name: requestAuditLogExport
title: Request Audit Log Export
description: Request an export of audit log entries for the organization within a time range. The export will be emailed as a JSONL download link.
description: Request an export of audit log entries for the organization within a time range. The export will be emailed as a CSV download link.
hints:
readonly: false
destructive: false
@@ -14622,7 +14622,7 @@ tools:
$ref: "#/components/schemas/RequestAuditLogExportOutput"
- name: requestSCIMEventExport
title: Request SCIM Event Export
description: Request an export of SCIM events for the organization within a time range. The export will be emailed as a JSONL download link.
description: Request an export of SCIM events for the organization within a time range. The export will be emailed as a CSV download link.
hints:
readonly: false
destructive: false