{
  "block": {
    "t": "u64 — decimal seconds",
    "e": "string — event type, used when d is absent",
    "d": "string — event detail; takes precedence over e",
    "ph": "64 hex — previous block hash",
    "h": "64 hex — this block hash",
    "u": "i32 — uid",
    "p": "i32 — pid",
    "pp": "i32 — parent pid (context)",
    "f": "u32 — flags (context)",
    "c": "string — command/context",
    "hn": "string — hostname",
    "un": "string — username",
    "ip": "string — peer address (attribution)",
    "port": "u16 — peer port (attribution)",
    "cg": "u64 — cgroup id (attribution)",
    "cgp": "string — cgroup path (attribution)"
  },
  "digest": "h = SHA-256( prev_hash + event + timestamp + uid + pid )",
  "hooks": [
    "execve",
    "openat",
    "unlink",
    "unlinkat",
    "truncate",
    "rmdir",
    "chmod",
    "fchmodat",
    "rename",
    "renameat",
    "ftruncate",
    "setuid",
    "setgid",
    "setresuid",
    "setreuid",
    "kill",
    "tkill",
    "tgkill",
    "init_module",
    "finit_module",
    "delete_module",
    "mount",
    "connect",
    "bpf",
    "setsockopt"
  ],
  "exit_codes": {
    "0": "chain intact",
    "1": "chain broken — first break printed",
    "2": "usage error"
  }
}