Talk this topic through with an AI

You get an answer from the documentation and the page it comes from.

Console & fleet

SIEM export (Enterprise)

The daemon writes every audit event to local files as JSON lines, CEF and RFC 5424 syslog. Your SIEM forwarder reads them from there.

~4 min read · Console & fleet

For CrowdStrike Falcon Next-Gen SIEM and Google SecOps (SIEM) there are ready-made integrations: Send events to Falcon Next-Gen SIEM and send events to Google SecOps.

Overview

  • Every audit log entry is written, allow included.
  • Each format gets its own file. Nothing goes to the PoisonZero cloud.
  • Export errors never block protection.
The audit.log in the vault stays the reference record (see incidents and audit). The SIEM files are a copy for your SIEM.

Configuration

Create siem.json in the config directory and restart the daemon. POISONZERO_CONFIG_DIR sets another directory.

PlatformPath
Linux/etc/poisonzero/siem.json
macOS/Library/Application Support/PoisonZero/siem.json
WindowsC:\ProgramData\PoisonZero\siem.json
jsonsiem.json
{
  "enabled": true,
  "dir": "/var/log/poisonzero-siem",
  "formats": ["json", "cef", "syslog"],
  "syslog_target": "siem.example.com:514",
  "syslog_network": "udp",
  "group": "splunk"
}
FieldMeaning
enabledtrue turns the export on, false turns it off.
dirDirectory for the export files. The daemon creates it if it is missing.
formatsAny of json, cef and syslog. Each one gets its own file.
syslog_targetOptional host:port of a syslog receiver. If it is unreachable at start, only the files are written.
syslog_networkProtocol for syslog_target: udp (default) or tcp.
groupOptional group that may read the files, for your forwarder. See Permissions.
hecOptional HTTPS delivery to Falcon or Splunk. See HTTPS delivery.

The file export is off if siem.json is missing or not valid JSON, enabled is false, or dir or formats is empty. On Windows, SYSTEM or the Administrators must own the file and no other account may change it.

Files and rotation

FileContent
audit.jsonOne JSON object per event.
audit.cefOne CEF line per event.
audit.syslogOne RFC 5424 line per event. It also goes to syslog_target if set.

Each file rotates to *.1 at 10 MiB. One old file is kept per format.

Permissions

By default only the daemon's user can read the files (directory 0755, files 0600). To give a forwarder read access on Linux or macOS:

  1. Create a dedicated group, for example pz-siem, or use the forwarder's own group, such as splunk.
  2. Add only the forwarder user (for example splunk, nxlog or td-agent) to the group.
  3. Set group in siem.json and restart the daemon.

The directory becomes 0750 and the files 0640, owned by that group. If the group does not exist, dir is a symlink or the rights cannot be set, the file export does not start and the error is logged.

To revoke access, remove group and restart the daemon. Old *.1 files keep their rights until the next rotation. Windows ignores group: Grant read access through the directory ACL.

Never use a broad group such as staff, users, wheel or everyone. On macOS every local user is in staff, so the monitored agent could read the export. The daemon logs a warning for these groups.

HTTPS delivery to Falcon or Splunk

You set it up in the console, see Falcon Next-Gen SIEM. How the devices apply it:

  • Cloud devices apply the console setting at the next config poll, without a restart. It replaces only the hec object of a local siem.json. Files and syslog keep running.
  • Private devices ignore siem.json and use the siem section of the signed client config. Export a new client config; it applies at the next daemon start. See cloud or private.
  • Remove key in the console stops HTTPS delivery on cloud devices at the next config poll. A local hec takes over, if there is one. Private devices keep sending until you apply a new client config.
  • On cloud devices the key stays in memory, never in the config cache or a log. After a restart without a console connection, delivery starts after the next successful config poll.

Each event carries the full JSON line in event, the event time in time (Unix seconds with milliseconds) and these search fields:

FieldContent
event.actionWhat PoisonZero did, the same value as action.
event.severitySeverity from 0 to 10, the same value as in the CEF line.
file.pathPath of the file the event is about. It is missing if the event has no file.
host.nameHost name of the device that sent the event.
observer.vendorAlways PoisonZero.
observer.productAlways poisonzero.
observer.versionVersion of the daemon that sent the event.

Without the console

On a cloud device without a console setting, put a hec object in siem.json and restart the daemon. Keep dir and formats to also write files, or leave them out for HTTPS only.

jsonsiem.json
{
  "enabled": true,
  "hec": {
    "preset": "falcon",
    "url": "https://<id>.ingest.us-1.crowdstrike.com/services/collector",
    "api_key": "<API key>"
  }
}
FieldMeaning
presetfalcon sends a Bearer key and no sourcetype. splunk sends Splunk <token> and the sourcetype poisonzero:audit.
urlAPI URL of the connector. Only https is accepted.
api_keyAPI key of the connector. It is never logged; doctor shows only api_key=set.
sourceOptional. The default is poisonzero.
sourcetypeOptional. Leave it empty for Falcon.
enabledOptional. false turns HTTPS delivery off and keeps the object.

Delivery

  • Events go out in batches of up to 200 events or 512 KiB, every 2 s or when a batch is full.
  • Network errors, 408, 429 and 5xx are retried, with pauses from 1 s up to 30 s. The queue holds 10,000 events; when it is full, the oldest are dropped and the count is logged.
  • Other 4xx and all 3xx answers drop the batch and are logged. Redirects are never followed, so the key never reaches another host.
  • At shutdown the daemon sends for up to 3 s. Events still queued are logged as not delivered.
  • HTTPS_PROXY and NO_PROXY are honoured. TLS is always verified.

JSON format

One JSON object per line. Empty fields are left out.

KeyTypeMeaning
tsstringEvent time in RFC 3339, UTC. If it is missing, the daemon uses the write time.
actionstringWhat the daemon did, for example allow, quarantine_reversible or detected_kept.
pathstringAbsolute path of the file the entry is about.
reasonstringWhy the daemon acted, as readable text.
dangernumberDanger score from 0 to 1. Only set when the AI made the decision.
threat_levelstringThreat level: low, medium or high. It sets the CEF and syslog severity.
app_idstringID of the daemon that wrote the entry.
agentstringName of the AI agent involved, if known.
categorystringAttack category, for example exfil. Only set if known.
groundedbooleantrue if the evidence quote appears word for word in the checked change. Only set when there is evidence.
evidence_sha256, evidence_lengthstring, numberSHA-256 hash and length in bytes of the evidence quote, the text that triggered the finding.
local_onlybooleantrue if the entry is not reported to the PoisonZero cloud.

detected_kept means found but left unchanged. It is not counted as a block.

jsonaudit.json line
{"ts":"2026-06-10T12:00:00Z","action":"quarantine_reversible","path":"/home/dev/.claude/CLAUDE.md","reason":"prompt injection: exfiltration instruction","danger":0.93,"app_id":"app-7c1","agent":"claude-code","category":"exfil","threat_level":"high","evidence_sha256":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08","evidence_length":72}
The evidence quote itself is never exported, in any format. Only its hash and length are.

CEF format

Header: CEF:0|PoisonZero|PoisonZero|<daemon-version>|<action>|<action>|<severity>|<extensions>. Reserved characters are escaped, empty values are left out.

CEF keyContent
rtEvent time, from ts.
actWhat the daemon did, from action.
fnamePath of the file, from path.
msgReason text, from reason.
appDaemon ID, from app_id.
suserAgent name, from agent.
cs1Attack category, from category. Labeled cs1Label=Category.
cs2Threat level, from threat_level. Labeled cs2Label=ThreatLevel.
cn1Danger score, from danger. Labeled cn1Label=Danger.
textaudit.cef line
CEF:0|PoisonZero|PoisonZero|0.7.8|quarantine_reversible|quarantine_reversible|9|rt=2026-06-10T12:00:00Z act=quarantine_reversible fname=/home/dev/.claude/CLAUDE.md msg=prompt injection app=app-7c1 suser=claude-code cs2=high cs2Label=ThreatLevel cn1=0.93 cn1Label=Danger

Syslog format

RFC 5424 with facility local0 (16). The message is the CEF line.

textaudit.syslog line
<132>1 2026-06-10T12:00:00Z build-host poisonzero - audit - CEF:0|PoisonZero|PoisonZero|0.7.8|quarantine_reversible|quarantine_reversible|9|rt=2026-06-10T12:00:00Z act=quarantine_reversible ...

Severity

The threat level (threat_level) sets the severity. Entries without a threat level use the action.

InputCEFSyslog
high9warning (4)
medium6notice (5)
low2informational (6)
No level: revert, meta_attack, fail_closed9warning (4)
No level: quarantine_reversible, detected_kept6notice (5)
No level: allow2informational (6)
No level: Other actions9 if danger ≥ 0.7, 6 if ≥ 0.3, else 2informational (6)
leak0_dlp_incident5notice (5)

leak0 DLP incident

With leak0 in Compliance mode, the device writes each incident once as leak0_dlp_incident to all configured formats, also while the PoisonZero backend is unreachable. This includes the use of a non-approved AI service (shadow_ai_use), once per device, service and UTC day, with the action observed. The device writes it at a random time of that UTC day, after the day if the use came later, never at the time of use. In anonymous mode nothing is sent to the SIEM.

KeyMeaning
tsStart of the 10-minute UTC slot of the incident, not the exact time; for shadow_ai_use the start of the UTC day. CEF: rt.
actionAlways leak0_dlp_incident. CEF: act.
path, reasonBoth are always empty.
app_idID of the daemon that wrote the entry. CEF: app.
agentID of the agent involved, for example claude-code; for shadow_ai_use the browser ID, for example chrome, or the service ID of the app. CEF: suser.
leak0_incident.clientHashIncident ID as hex SHA-256, the same as in the console. CEF: cs6 (ClientHash).
leak0_incident.agentIdID of the agent involved, the same value as agent.
leak0_incident.targetKindai_service for a non-approved AI service, agent for a non-approved agent. CEF: cs4 (TargetKind).
leak0_incident.targetIdID of the service, for example chatgpt, or of the agent. CEF: cs5 (TargetId).
leak0_incident.ruleClassleak0 rule class, for example leak0:secret_to_foreign:value, or shadow_ai_use. CEF: cs3 (RuleClass).
leak0_incident.actionWhat leak0 did: blocked, asked, redacted, warned or observed. CEF: outcome.
leak0_incident.toolTool of the agent, for example Bash; for shadow_ai_use web (browser) or desktop (app). CEF: flexString1 (Tool).
leak0_incident.atThe same value as ts.

The event never contains a web address (host or URL), page title, prompt or file content. The brackets name the CEF label, for example cs3Label=RuleClass. As on every event, the CEF header carries the daemon version, and the syslog line and HTTPS delivery carry the host name.

jsonaudit.json line
{"ts":"2026-11-05T10:20:00Z","action":"leak0_dlp_incident","path":"","reason":"","app_id":"app-7c1","agent":"claude-code","leak0_incident":{"clientHash":"5f0c...","agentId":"claude-code","targetKind":"ai_service","targetId":"chatgpt","ruleClass":"leak0:secret_to_foreign:value","action":"blocked","tool":"Bash","at":"2026-11-05T10:20:00Z"}}

Air-gapped networks

Leave syslog_target empty and set no HTTPS destination in the console. Your on-premises collector reads the files.

SIEM export or OpenTelemetry export?

SIEM exportOpenTelemetry export
TransportLocal files, optional syslog and HTTPSOTLP/HTTP to a collector
EventsAll audit actions, allow includedFindings only, no allow
FormatsJSON lines, CEF, RFC 5424 syslogOTLP
EvidenceHash and length onlyhashes, redacted or full

To send events over HTTPS directly to Falcon Next-Gen SIEM or Splunk HEC, with no extra software, see CrowdStrike Falcon Next-Gen SIEM. For Google SecOps, see Google SecOps. See also incidents and audit, storage and retention and cloud or private.