Implementation Guide

    LLM Policy Misconfiguration Audit: Identifying Every Request the Policy Allowed

    To scope a misconfigured LLM policy, take the policy version history to set the exposure window, then pull every interaction and tool call in that window with its decision record. Re-evaluate each against the corrected policy and sort results into affected, unaffected and indeterminate. The audit succeeds only if decision-level evidence was recorded at enforcement time.

    Scoping the exposure window and affected interactions

    1. 1

      1. Fix the policy history

      Collect every version of the affected policy with deployment timestamps and the exact diff of the faulty change.

    2. 2

      2. Bound the window

      Start at the moment the faulty version or rule began to be enforced, not when it was authored. End when decision records first show the corrected version in force. Scope the window per rule or scope if the error was narrow.

    3. 3

      3. Pull candidate interactions

      Select all interactions and tool calls in the window that fall under the affected scope, along with their decision records.

    4. 4

      4. Re-evaluate

      Run the recorded inputs and outputs against the corrected policy to see which would have been redacted, blocked or escalated.

    5. 5

      5. Classify

      Mark each interaction as affected, unaffected or indeterminate, and record the reason for each classification.

    6. 6

      6. Remediate and document

      Act on affected interactions according to your incident process, and retain the full analysis as evidence.

    • Policy identifier and version in force at the moment of the decision
    • Matched rule identifier, so a faulty rule can be queried directly
    • Action taken: allow, redact, block, rate limit or escalate
    • Identity and request context, including the scope the policy applied to
    • Tool-call details, including the tool name and its execution result
    • Timestamp and a shared correlation ID that links prompt, response and tool calls to one decision
    • Does every decision record the policy version, matched rule and action taken?
    • Can you list every interaction under a given rule and scope for a stated time window?
    • Is a shared ID available to join prompts, responses and tool calls to one decision?
    • Are retention periods for decision records and request content set deliberately, and do they match how long you may need to scope an error?
    • Who can alter or delete decision records, and is that access controlled and itself recorded?
    • Do unknown or uncovered tools fail closed, and is that behaviour recorded?

    Why scoping a policy error is an evidence problem

    A policy can be wrong in several ways: a rule that is too permissive, a rule attached to the wrong scope, a redaction step that was disabled, or a policy version that should never have been deployed. In each case the questions afterward are the same. Which prompts, responses and tool calls were allowed that should have been redacted, blocked or escalated, and during what period?

    Most teams try to answer this from application logs. Those logs usually record that a request happened, but not which policy version was in force, which rule matched, or what decision was made. Without those three facts, you can estimate the exposure window but not prove it, and you cannot separate requests that the faulty rule touched from those it never affected.

    The practical conclusion is that the audit is decided before the incident. What the enforcement layer wrote down at decision time determines whether the question can be answered with confidence later.

    Limits of re-evaluation and data that was not retained

    Re-evaluation tells you what the corrected policy would decide on the recorded inputs. It does not always reproduce what would have happened at the time. If a decision depended on live context, such as identity attributes, a tool registry state or a classifier output that can vary between runs, the replay is an approximation and should be labelled as one.

    Retention is the harder limit. If prompts, responses or tool-call arguments were not stored, you cannot replay them. You can still count the interactions that passed through the faulty rule, because the decision records identify them, but you cannot determine whether sensitive content was present. Those interactions belong in the indeterminate group, and the report should state plainly why.

    When a redaction step was disabled, the stored response is the exposure itself, so it also needs handling as sensitive data in the audit dataset. For tool calls, check the execution result as well as the policy decision, since an allowed call may have had effects outside the model interaction.

    Tool coverage deserves a separate check. The OWASP cheat sheet advises that unknown tools fail closed and only explicitly low-risk tools skip review. If a scope error let unlisted tools through, the fail-closed default would have limited the damage, and the audit should confirm whether that default existed.

    What regulators and auditors will expect to see

    A regulated enterprise generally has to show what its AI was allowed to do and what it actually did. For a misconfiguration, that means a defensible exposure window, a list or count of affected interactions, the policy change that caused the error, the correction, and the basis for any interaction you could not classify.

    For the EU AI Act (Regulation (EU) 2024/1689), the text has been amended since adoption in June 2024, and a consolidated version dated 27 July 2026 is published. An AI Omnibus has added prohibitions. As of December 2026, check any article you rely on, including record-keeping and incident provisions, against the current consolidated text rather than earlier summaries.

    Trussed enforces policy in the execution path and generates continuous audit-ready evidence from that enforcement, mapped to HIPAA, NAIC, NYDFS, the EU AI Act and NIST. Because the evidence is produced by the decision itself, the policy version and action for an individual interaction or tool call exist without reconstruction. Retention is configurable and deployment can be self-managed in the customer cloud.

    Retrospective policy impact analysis

    Policy history

    Versions in force and change timestamps set the exposure window.

    Decision records

    Matched rule, action taken and request context for each interaction.

    Re-evaluation

    Recorded interactions are run against the corrected policy.

    Classification

    Affected, unaffected and indeterminate interactions, with remediation and evidence.

    Check whether your evidence can answer the question

    Walk through how runtime enforcement produces decision-level evidence for individual interactions and tool calls, and test it against your own scoping requirements.

    See How Evidence Is Produced