AI Telemetry and Monitoring
ISC2 AI Security · Lesson 25 of 34 · 3:24:55
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Lesson 25 of the free ISC2 AI security series (pilot exam, domain 5, secure AI operations and incident response). In this lesson: AI telemetry, correlation: SIEM, SOAR, threat intelligence, log integrity and evidence, privacy-preserving telemetry, real time monitoring, and dashboards and alerts. With three quick checks and a recap, and Ravenmoor Payments, a fictional payment provider, as the running example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Logs that could not answer
When Ravenmoor's assistant leaked part of a merchant agreement last spring, the security team could not answer basic questions: which prompt caused it, what the model returned, and which documents it retrieved. The logs held only web requests. This lesson covers the telemetry that AI systems need, and how to use it.
AI telemetry
AI systems produce new kinds of telemetry. Prompts and completions show what users asked, and what the model answered, including the system prompt version in use. Retrieval events show which documents and embeddings were fetched for each answer. Tool calls show which tools an agent invoked, with which parameters, and what came back. API traffic adds who called, from where, how often, and how many tokens each call used.
Correlation: SIEM, SOAR, threat intelligence
Telemetry is most useful when it is correlated. Send AI events to the SIEM, the security information and event management system, alongside identity, network, and endpoint logs, so that one investigation sees everything. Correlation rules link events: a blocked prompt injection, followed by an unusual tool call from the same session, is far more serious than either alone. SOAR, for security orchestration, automation, and response, then runs playbook steps automatically, such as suspending a session or opening a ticket. Threat intelligence feeds add known attack patterns, malicious prompts, and compromised models or packages, to enrich detection.
Log integrity and evidence
Logs are evidence, so protect their integrity. Write them to append-only storage, apart from the systems they describe, so that a compromised agent cannot erase its tracks. Hash or sign log batches, synchronize clocks, and restrict who can access or delete logs. During an incident, document the evidence, what was collected, when, by whom, and how its integrity was checked, so that findings hold up with regulators, partners, or courts.
Privacy-preserving telemetry
AI telemetry is full of personal and sensitive data, because users type it into prompts. Privacy-preserving telemetry masks or tokenizes sensitive values before they are stored, such as card numbers, names, or secrets. Keep enough context to investigate, like the event, the identity, and a masked session number, and limit access to raw prompts to a few investigators, with logging. Set retention periods for prompts and completions, as for any personal data.
Real time monitoring
Some problems need detection in real time, not in next week's report. Monitor AI behavior: refusal rates, guardrail blocks, toxic or off-topic outputs, and sudden changes in answers. Monitor performance drift: accuracy, error rates, and input distributions against the baseline. Monitor agent actions as they happen: which tools, how often, what amounts, and whether they stay within their boundaries. Alerts go to the on-call team, with thresholds tied to the release requirements of lesson twenty-four.
Dashboards and alerts
Good monitoring combines these signals into dashboards for each AI system. Security sees attacks and misuse, MLOps sees drift and errors, and owners see business outcomes. Each alert links back to the raw events, with their masked context. And the monitoring itself is monitored: a silent log pipeline is an alert too.
Recap
Let's recap. AI telemetry covers prompts, completions, retrieval events, tool calls, and API traffic. The SIEM correlates AI events with other logs, SOAR automates responses, and threat intelligence enriches detection. Logs are evidence: append-only, stored apart, hashed, and documented. Privacy-preserving telemetry masks sensitive values, limits access, and sets retention. And real time monitoring watches behavior, performance drift, and agent actions, against release thresholds.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
Ravenmoor’s assistant blocked an injection attempt in a session, and two minutes later the agent in that session called a payout tool it never uses. Where should these events be linked?
- In the model card
- In the SIEM, through correlation
- In the training dataset
- In the vector database
Show the answer
In the SIEM, through correlation
The SIEM correlates events from the same session, and turns two weak signals into one serious alert. “In the model card” is wrong, since a model card documents a model, and holds no events. “In the training dataset” is wrong, because a training dataset is no place for security events. And “In the vector database” is wrong, since the vector database stores embeddings, and it does not correlate alerts.
A compromised agent at Ravenmoor deleted its own log entries. Which design would have prevented this?
- Larger log files
- Logs kept on the agent’s own server
- Shorter retention periods
- Append-only logs, stored apart
Show the answer
Append-only logs, stored apart
Append-only storage, kept apart from the systems it describes, stops a compromised agent from erasing its tracks. “Larger log files” is wrong, since the size of a log does not protect its entries. “Logs kept on the agent’s own server” is wrong, because logs on the agent's own server are exactly what it can reach. And “Shorter retention periods” is wrong, since shorter retention only removes evidence sooner.
Ravenmoor’s disputes agent normally grants about ten credits an hour, and tonight it granted four hundred in twenty minutes. Which capability should flag this?
- Real time monitoring of agent actions
- A quarterly access review
- The model card
- Monthly cost reports
Show the answer
Real time monitoring of agent actions
Real time monitoring of agent actions compares activity with normal patterns, and alerts at once. “A quarterly access review” is wrong, since a quarterly review would find this months later. “The model card” is wrong, because a model card documents the model, and it monitors nothing. And “Monthly cost reports” is wrong, since a monthly cost report arrives long after the money is gone.