Join our Newsletter — 33% off our NHI Course

Why weigh OCSF mapping against raw AI agent telemetry formats?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20225
Topic starter  

TL;DR: Normalized AI coding agent telemetry gives security teams a way to query approvals, denials and outcomes in one security event model, according to TENZIR. OCSF records can then carry the session context needed to reconstruct what the agent actually did.

Editorial analysis by NHI Mgmt Group, based on content published by TENZIR: “From AI agent actions to OCSF security events”.

Key questions

Q: Why does session context matter when investigating AI coding agent activity?

A: Session context ties a command or prompt to the specific agent instance that generated it, which is essential when agents act with user access.

Q: What breaks when AI agent approvals and execution outcomes are logged separately?

A: What breaks is control attribution.

Q: How should security teams handle AI agent telemetry that is recorded in different harness formats?

A: Security teams should normalize agent telemetry into a shared security event model before relying on it for detection or investigation.

Practitioner guidance

  • Normalize agent logs into a shared event model Map tool decisions, tool results, prompts, and session identifiers into a common schema so SIEM queries can work across different agent harnesses.
  • Preserve session-bound identity context Retain ai_agent name, instance UID, and command identifiers together so investigators can reconstruct which agent performed which action in which session.
  • Separate approval from execution outcome Record human approval, automated policy decisions, sandbox denials, and process success as distinct states so control effectiveness is measurable.

Bottom line: AI coding agents need normalized telemetry because raw harness logs are too inconsistent for security operations to query at scale.

Glossary terms: OCSF, AI Agent Activity Telemetry, Developer Session Identity, Process Activity

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 3 days ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20715
 

AI agent telemetry has to be governed as security evidence, not application noise. If a coding agent can run commands and change files, the telemetry is part of the control plane, not just the product log stream. OCSF mapping makes that evidence usable across SIEM, security lake, and investigation workflows. Practitioners should treat agent event normalization as a security architecture decision, not a logging preference.

A few things that frame the scale:

  • 7% of security leaders admit they do not know how often their AI systems are making autonomous changes to infrastructure, according to the 2026 Infrastructure Identity Survey.
  • Claude Code-assisted commits leaked secrets at a rate of 3.2%, more than double the human-only baseline of 1.5%, with peaks reaching 31 secrets per 1,000 commits in August 2025, according to the State of Secrets Sprawl 2026.

A question worth separating out:

Q: How should organisations decide whether AI agent telemetry belongs in the SIEM or security lake?

A: Place the normalized telemetry where security teams already investigate, but only after privacy controls and field mapping are in place. The right destination is less important than preserving queryable session context, command detail, and outcome state. If the data cannot support detections or investigations, storing it in a security platform adds noise rather than visibility.

👉 Read our full editorial: AI agent telemetry mapped to OCSF closes an observability gap



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.