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.
Overview
- Every audit log entry is written,
allowincluded. - Each format gets its own file. Nothing goes to the PoisonZero cloud.
- Export errors never block protection.
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.
| Platform | Path |
|---|---|
| Linux | /etc/poisonzero/siem.json |
| macOS | /Library/Application Support/PoisonZero/siem.json |
| Windows | C:\ProgramData\PoisonZero\siem.json |
{
"enabled": true,
"dir": "/var/log/poisonzero-siem",
"formats": ["json", "cef", "syslog"],
"syslog_target": "siem.example.com:514",
"syslog_network": "udp",
"group": "splunk"
}| Field | Meaning |
|---|---|
enabled | true turns the export on, false turns it off. |
dir | Directory for the export files. The daemon creates it if it is missing. |
formats | Any of json, cef and syslog. Each one gets its own file. |
syslog_target | Optional host:port of a syslog receiver. If it is unreachable at start, only the files are written. |
syslog_network | Protocol for syslog_target: udp (default) or tcp. |
group | Optional group that may read the files, for your forwarder. See Permissions. |
hec | Optional 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
| File | Content |
|---|---|
audit.json | One JSON object per event. |
audit.cef | One CEF line per event. |
audit.syslog | One 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:
- Create a dedicated group, for example
pz-siem, or use the forwarder's own group, such assplunk. - Add only the forwarder user (for example
splunk,nxlogortd-agent) to the group. - Set
groupinsiem.jsonand 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.
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
hecobject of a localsiem.json. Files and syslog keep running. - Private devices ignore
siem.jsonand use thesiemsection 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
hectakes 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:
| Field | Content |
|---|---|
event.action | What PoisonZero did, the same value as action. |
event.severity | Severity from 0 to 10, the same value as in the CEF line. |
file.path | Path of the file the event is about. It is missing if the event has no file. |
host.name | Host name of the device that sent the event. |
observer.vendor | Always PoisonZero. |
observer.product | Always poisonzero. |
observer.version | Version 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.
{
"enabled": true,
"hec": {
"preset": "falcon",
"url": "https://<id>.ingest.us-1.crowdstrike.com/services/collector",
"api_key": "<API key>"
}
}| Field | Meaning |
|---|---|
preset | falcon sends a Bearer key and no sourcetype. splunk sends Splunk <token> and the sourcetype poisonzero:audit. |
url | API URL of the connector. Only https is accepted. |
api_key | API key of the connector. It is never logged; doctor shows only api_key=set. |
source | Optional. The default is poisonzero. |
sourcetype | Optional. Leave it empty for Falcon. |
enabled | Optional. 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_PROXYandNO_PROXYare honoured. TLS is always verified.
JSON format
One JSON object per line. Empty fields are left out.
| Key | Type | Meaning |
|---|---|---|
ts | string | Event time in RFC 3339, UTC. If it is missing, the daemon uses the write time. |
action | string | What the daemon did, for example allow, quarantine_reversible or detected_kept. |
path | string | Absolute path of the file the entry is about. |
reason | string | Why the daemon acted, as readable text. |
danger | number | Danger score from 0 to 1. Only set when the AI made the decision. |
threat_level | string | Threat level: low, medium or high. It sets the CEF and syslog severity. |
app_id | string | ID of the daemon that wrote the entry. |
agent | string | Name of the AI agent involved, if known. |
category | string | Attack category, for example exfil. Only set if known. |
grounded | boolean | true if the evidence quote appears word for word in the checked change. Only set when there is evidence. |
evidence_sha256, evidence_length | string, number | SHA-256 hash and length in bytes of the evidence quote, the text that triggered the finding. |
local_only | boolean | true if the entry is not reported to the PoisonZero cloud. |
detected_kept means found but left unchanged. It is not counted as a block.
{"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}CEF format
Header: CEF:0|PoisonZero|PoisonZero|<daemon-version>|<action>|<action>|<severity>|<extensions>. Reserved characters are escaped, empty values are left out.
| CEF key | Content |
|---|---|
rt | Event time, from ts. |
act | What the daemon did, from action. |
fname | Path of the file, from path. |
msg | Reason text, from reason. |
app | Daemon ID, from app_id. |
suser | Agent name, from agent. |
cs1 | Attack category, from category. Labeled cs1Label=Category. |
cs2 | Threat level, from threat_level. Labeled cs2Label=ThreatLevel. |
cn1 | Danger score, from danger. Labeled cn1Label=Danger. |
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.
<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.
| Input | CEF | Syslog |
|---|---|---|
high | 9 | warning (4) |
medium | 6 | notice (5) |
low | 2 | informational (6) |
No level: revert, meta_attack, fail_closed | 9 | warning (4) |
No level: quarantine_reversible, detected_kept | 6 | notice (5) |
No level: allow | 2 | informational (6) |
| No level: Other actions | 9 if danger ≥ 0.7, 6 if ≥ 0.3, else 2 | informational (6) |
leak0_dlp_incident | 5 | notice (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.
| Key | Meaning |
|---|---|
ts | Start 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. |
action | Always leak0_dlp_incident. CEF: act. |
path, reason | Both are always empty. |
app_id | ID of the daemon that wrote the entry. CEF: app. |
agent | ID 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.clientHash | Incident ID as hex SHA-256, the same as in the console. CEF: cs6 (ClientHash). |
leak0_incident.agentId | ID of the agent involved, the same value as agent. |
leak0_incident.targetKind | ai_service for a non-approved AI service, agent for a non-approved agent. CEF: cs4 (TargetKind). |
leak0_incident.targetId | ID of the service, for example chatgpt, or of the agent. CEF: cs5 (TargetId). |
leak0_incident.ruleClass | leak0 rule class, for example leak0:secret_to_foreign:value, or shadow_ai_use. CEF: cs3 (RuleClass). |
leak0_incident.action | What leak0 did: blocked, asked, redacted, warned or observed. CEF: outcome. |
leak0_incident.tool | Tool of the agent, for example Bash; for shadow_ai_use web (browser) or desktop (app). CEF: flexString1 (Tool). |
leak0_incident.at | The 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.
{"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 export | OpenTelemetry export | |
|---|---|---|
| Transport | Local files, optional syslog and HTTPS | OTLP/HTTP to a collector |
| Events | All audit actions, allow included | Findings only, no allow |
| Formats | JSON lines, CEF, RFC 5424 syslog | OTLP |
| Evidence | Hash and length only | hashes, redacted or full |
Read next
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.