Skip to content

feat(audit): SIEM export (CEF / syslog / json) - #90

Closed
sandstream wants to merge 1 commit into
feat/audit-tamper-evidentfrom
feat/audit-cef-export
Closed

sandstream wants to merge 1 commit into
feat/audit-tamper-evidentfrom
feat/audit-cef-export

Conversation

@sandstream

Copy link
Copy Markdown
Owner

Completes the "tamper-evident + exportable audit log" roadmap item (#80) — a regulated/air-gapped deployment can ship its local .kit-audit.jsonl into a SIEM.

  • toCef — one ArcSight CEF line per event (failures = severity 7, success = 3; rt/suser/outcome/environment/duration/msg extensions; correct CEF header \/| and extension \/=/newline escaping).
  • toSyslog — wraps the CEF line in an RFC 5424 frame (CEF-over-syslog).
  • kit audit export [--format cef|syslog|json].

Pure formatters, unit-tested. ⚠️ Stacked on #86 (base = feat/audit-tamper-evident).


Generated by Claude Code

Completes the "tamper-evident + exportable audit log" roadmap item (#80): a
regulated/air-gapped deployment can now ship its local `.kit-audit.jsonl` into a
SIEM.

- `toCef` emits one ArcSight CEF line per event (failures rank severity 7 vs 3
  for triage; rt/suser/outcome/environment/duration/msg extensions; proper CEF
  header `\`/`|` and extension `\`/`=`/newline escaping).
- `toSyslog` wraps the CEF line in an RFC 5424 frame (CEF-over-syslog, the common
  SIEM transport).
- `kit audit export [--format cef|syslog|json]` reads the log and prints records.

Pure formatters, fully unit-tested. Stacked on the audit hash-chain branch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015ERHw6bVUz39sAuoQZ1iyg
@sandstream
sandstream deleted the branch feat/audit-tamper-evident June 24, 2026 04:16
@sandstream sandstream closed this Jun 24, 2026
sandstream added a commit that referenced this pull request Jun 24, 2026
sandstream added a commit that referenced this pull request Jun 24, 2026
….0 (#97)

* recover(#94): feat(agent-audit): cover Claude command/agent/skill/plugin + settings exec surfaces

* recover(#90): feat(audit): SIEM export (CEF / syslog / json)

* chore(release): 1.24.0 — consolidated security batch + recovered #90/#94

Documents the merged hardening batch (#70-89) and bumps the version. The two
recovered features (#90 SIEM export, #94 Claude agent-audit surfaces) were
auto-closed when their stacked base branches were deleted on merge; recovered
here via the PRs' own deltas onto current main.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* style: prettier-format recovered #90/#94 files

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@sandstream
sandstream deleted the feat/audit-cef-export branch June 30, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants