Set SIEM export
PUT/api/orgs/:org_id/siem-export
Creates or replaces the organization's SIEM export destination: an https:// url on a public address, auth_mode hmac (each POST carries X-Jaah-Signature: sha256=<hex HMAC-SHA256 of the body>) or header (the secret sent as the value of header_name), the secret (required on create or when auth_mode changes; omitted keeps the stored one), and enabled. Every minute the organization's new activity events (those its Audit page shows) are POSTed as a JSON array (id, org_id, created_at, kind, action_type, actor, summary, path, method, status, data), at least once: a non-2xx answer is retried the next minute, so dedupe on id. Refused with 422 naming what to fix for a non-https or private URL, a reserved header or a short secret, and with 403 without the Org Owner or Org Admin role or SIEM export on the plan.
Request
Responses
- 200
- 422
OK
Unprocessable content