Turning an LLM Incident Finding into a New Runtime Policy Rule with Evidence
Treat the incident finding as the source artifact. Break it into a condition, a scope and an action, and write them as a versioned, machine-evaluable rule. Replay the original incident pattern and representative normal traffic to test the rule before wide rollout. Then enforce it before execution on each interaction and tool call, and keep a record that links the incident, the rule version and the enforcement outcomes.
Validate the rule before wide rollout
- Reconstruct the incident pattern from retained prompt and completion logs and agent traces.
- Replay it against the draft rule and confirm that the intended action fires.
- Replay a representative sample of normal traffic in the same scope and count the interactions the rule would have affected wrongly.
- Test variations of the original pattern, including red-team attempts to evade the condition, and tighten or widen the condition accordingly.
- Run the rule in an observe-only mode, recording what it would have done, before switching on the action.
- Approve rollout against thresholds you define in advance, in the way NIST describes go/no-go review of performance and assurance thresholds.
Define the evidence chain before the rule goes live
- The incident record, including the added trigger, data or tool, context and severity fields.
- The after-action review that led to the rule change.
- The rule definition, rationale, owner and version history.
- Validation results: replay outcomes, false-positive counts and the rollout approval.
- Enforcement records showing the interaction or tool call, the rule version applied and the action taken.
- Outcome trends over time, such as how often the rule fired and how decisions were resolved.
Start with an incident record that can produce a rule
A one-off patch, a prompt edit or a manual review closes a ticket but rarely creates a control that is enforced on the next occurrence. The usual cause is an incident record that describes what happened without capturing what a rule would need to match.
The NIST Generative AI Profile suggests a minimum set of incident reporting criteria: System ID, Title, Reporter, System/Source, Data Reported, Date of Incident, Description, Impact(s), and Stakeholder(s) Impacted. Use these as the base record. They are written for reporting, so add the fields a rule author needs: the trigger (the prompt pattern, retrieved content or model output that started the event), the data class or tool involved, the context (application, user role, session state) and a severity rating. These additions are practitioner judgment rather than a NIST requirement.
Telemetry matters as much as the record. NIST workshop findings recommend identifying, collecting, retaining and testing AI evidence sources before an incident, including prompt and completion logs and agent traces. If those were not retained, the original pattern cannot be reconstructed, and the rule cannot be validated against it.
Decompose the finding into condition, scope and action
A usable rule answers three questions. What exactly must be true for the rule to fire? Where does it apply? What happens when it fires? "Do not expose sensitive data" answers none of them. A testable rule is narrower and can be evaluated mechanically.
NIST SP 2400-102e2026, an initial public draft, describes evaluating each proposed action, or an agent's full action trajectory, against an explicit policy before it executes. It names three ways to implement the checks: runtime rules in a domain-specific language, guardrail agents that translate safety requests into executable checks, and verifiable rules extracted from policy documents. Whichever form you use, the rule needs an explicit form that a machine can evaluate and that you can replay against a recorded incident. As a draft, the guidance may change.
Keep scope at the level of one interaction or one tool call. A rule that depends on judging a whole business process is hard to test and hard to explain to an auditor.
- Condition: The observable match: a pattern in a prompt or response, a data class in an output, or a specific tool call with specific arguments.
- Scope: The applications, models, tools, user roles or data sources where the rule applies, so that it does not fire everywhere.
- Action: Allow, redact, block, rate limit or escalate for human approval, applied before the interaction or tool call completes.
- Rationale: The incident it came from and why this action was chosen over the alternatives.
- Identity and version: A rule ID and version that every enforcement decision can reference.
Choose the enforcement action deliberately
The guidance reviewed here does not prescribe criteria for choosing among actions, so the following is practitioner judgment. The general principle is to match the action to the consequence of a wrong decision in each direction. NIST AI 800-1 also notes that mitigations can carry tradeoffs in cost, transparency, researcher access and user privacy, so record why you chose the action.
- Allow: Fits low-severity patterns where the evidence matters more than interruption. The decision is still recorded against the rule version.
- Redact: Fits cases where the interaction has legitimate value but one element, such as a data field in a response, must not leave.
- Block: Fits actions that should never occur in the given scope, such as an unauthorized tool call, where there is no safe partial outcome.
- Rate limit: Fits patterns that are harmful only in volume or repetition, such as probing or bulk extraction.
- Escalate for human approval: Fits actions that are sometimes legitimate but consequential. It adds latency and reviewer load, so use it where the false-positive cost of blocking is high.
What the runtime layer must support
A rule enforced at runtime changes the outcome of the next interaction. A review after the fact only describes it. That is why the enforcement point has to sit in the execution path, evaluating each interaction and tool call before it completes, and why this workflow is only repeatable if the layer provides a few things: explicit, versioned rules that can be tested against recorded incidents; all five actions, with the action recorded for each decision; the rule version attached to every enforcement record; and retention and export that match your audit needs.
Trussed maps to these requirements in a limited way. It enforces policy in the execution path across models, agents, tools and MCP servers, applying allow, redact, block, rate limit or escalate for human approval to individual interactions and tool calls. That enforcement generates continuous audit-ready evidence mapped to frameworks including NIST and the EU AI Act. It can be self-managed in the customer cloud, with configurable retention and data residency.
Whatever layer you use, test it with your own incident: write the rule, replay the pattern, and see whether you can produce the full chain of evidence from one incident to its enforcement outcomes.
From finding to enforced rule
Incident finding
Trigger, data or tool involved, context and severity, captured in a structured record.
Policy rule
Condition, scope and action, versioned and machine-evaluable.
Validation
Replay of the original pattern and normal traffic, with false positives counted.
Enforcement and evidence
Decisions made before execution, each tied to a rule version.
Test the workflow on one of your own incidents
Walk through a real finding, from condition and scope to enforcement action and audit-ready evidence, with a Trussed expert.
Talk to an Expert