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

@@ -1396,7 +1396,7 @@
"actions": { "showMore": "Show more" },
"export": {
"title": "Export Audit Log",
"description": "Select a date range to export audit log entries as JSONL. You will receive an email with a download link.",
"description": "Select a date range to export audit log entries as CSV. You will receive an email with a download link.",
"fields": { "from": "From", "to": "To" },
"actions": { "export": "Export", "exporting": "Exporting..." },
"messages": {
@@ -1424,7 +1424,7 @@
"provisioningEventHistory": "Provisioning Event History",
"export": {
"title": "Export SCIM Events",
"description": "Select a date range to export SCIM events as JSONL. You will receive an email with a download link.",
"description": "Select a date range to export SCIM events as CSV. You will receive an email with a download link.",
"fields": { "from": "From", "to": "To" },
"actions": { "export": "Export", "exporting": "Exporting..." },
"messages": {

View File

@@ -2544,7 +2544,7 @@
},
"export": {
"title": "Exporter le journal d'audit",
"description": "Sélectionnez une plage de dates pour exporter les entrées du journal d'audit au format JSONL. Vous recevrez un e-mail avec un lien de téléchargement.",
"description": "Sélectionnez une plage de dates pour exporter les entrées du journal d'audit au format CSV. Vous recevrez un e-mail avec un lien de téléchargement.",
"fields": { "from": "Du", "to": "Au" },
"actions": { "export": "Exporter", "exporting": "Exportation..." },
"messages": {
@@ -2593,7 +2593,7 @@
"provisioningEventHistory": "Historique des événements de provisionnement",
"export": {
"title": "Exporter les événements SCIM",
"description": "Sélectionnez une plage de dates pour exporter les événements SCIM au format JSONL. Vous recevrez un e-mail avec un lien de téléchargement.",
"description": "Sélectionnez une plage de dates pour exporter les événements SCIM au format CSV. Vous recevrez un e-mail avec un lien de téléchargement.",
"fields": { "from": "Du", "to": "Au" },
"actions": { "export": "Exporter", "exporting": "Exportation..." },
"messages": {