Skip to content
All guides

SIEM export

Settings → SIEM export (admins) sends Trakkwise's records to your security tools as they arrive, every minute. Each destination chooses what it gets:

Stream What
Policy decisions and sensitive data Events from the agent, the extension and the LLM gateway where a policy acted (block, warn, coach, test mode) or sensitive data was found
All AI activity events Every event: visits, prompts, uploads, apps, connections
Audit log Changes in the console: who did what, when
LLM gateway calls Each call: who, which model, status, tokens, the policy's decision

Records name people: pseudonyms don't apply here (the destination is your security team's own tool). They never carry prompt text, file contents or page addresses, because Trakkwise doesn't have them. A warning's typed reason is in the event's meta.justification, as in the console.

A destination gets records from when it's added. If it fails, Trakkwise waits (a minute, doubling up to an hour), shows the error on the page, and sends everything from where it stopped once it accepts again. Use Test to send one test record now. Deleting a person's data in Trakkwise can't remove what was already sent: do that in the destination too.

Datadog

Choose your Datadog site and enter an API key. Logs go to https://http-intake.logs.<site>/api/v2/logs (gzip, at most 500 a request), with ddsource and service set to trakkwise, ddtags with the stream and record type, hostname set to the device, a one-line message, and the whole record under the trakkwise attribute. Datadog takes logs up to 18 hours old.

Microsoft Sentinel

Through the Azure Monitor Logs Ingestion API. In Azure:

  1. In the Log Analytics workspace behind Sentinel, create a custom table, for example TrakkwiseAI_CL, with these columns:

    Column Type
    TimeGenerated datetime
    Stream string
    RecordType string
    RecordId string
    Summary string
    Person string
    Tool string
    Action string
    Decision string
    Detail dynamic
  2. Create a data collection rule (with a data collection endpoint, or the rule's own ingestion endpoint) whose stream declaration has the same columns, named for example Custom-TrakkwiseAI_CL, and a data flow from it to the table.

  3. Register an app in Entra ID, give it a client secret, and give it the Monitoring Metrics Publisher role on the data collection rule.

  4. In Trakkwise, enter the logs ingestion endpoint (https://…ingest.monitor.azure.com, or the Azure Government or 21Vianet equivalent), the rule's immutable ID (dcr-…), the stream name, the Entra tenant ID, the app's client ID and its secret.

Trakkwise signs in with the app (client credentials), and posts at most 1 MB a call to {endpoint}/dataCollectionRules/{rule}/streams/{stream}?api-version=2023-01-01.

Webhook

Any https address that isn't on a private network. Each request is a POST of:

{ "source": "trakkwise", "stream": "policy", "records": [ { "type": "ai_event", "id": "…", "time": "…", "person": "…", "…": "…" } ] }

with X-Trakkwise-Timestamp (Unix seconds) and X-Trakkwise-Signature: v1=<hex>, the HMAC-SHA256 of <timestamp>.<body> with the signing secret shown once when the destination is added. Check it, and reject timestamps more than five minutes off:

const want = "v1=" + crypto.createHmac("sha256", secret).update(`${ts}.`).update(rawBody).digest("hex");
const ok = crypto.timingSafeEqual(Buffer.from(want), Buffer.from(signatureHeader));

Answer 2xx to accept a batch; anything else and the batch is sent again later. Use it for Splunk through a small forwarder, or for any other tool. (A direct Splunk HTTP Event Collector destination is planned.)

Record types

type Fields
ai_event id, time (when it happened), received_at, source (agent, extension, gateway), device_id, person, tool, tool_category, account_type, model, action, decision, policy_id, dlp_labels, bytes, meta
audit id, time, actor, action, target, detail
gateway_call id, time, key_id, person, provider, endpoint, model, stream, status, input_tokens, output_tokens, cache_read_tokens, cache_write_tokens, ms, error, decision, dlp_labels
test id, time, person (who pressed Test), message