Technical Guide

IT General Controls for Large Language Model Logging Systems

Treat the LLM logging pipeline as an in-scope system and apply the four ITGC domains to it. Most of these controls are inherited from existing logging standards. Sensitive data in prompts, tampering with agent action records, and broad access to conversation records need added safeguards.

Why LLM logs belong in ITGC scope

The pipeline that records LLM prompts, outputs, and tool calls is a system like any other that auditors test. It should appear in the system inventory as in scope for ITGC testing, with its components identified, so that the four ITGC domains can be applied to it.

Because most of the required controls are inherited from existing logging standards, this is largely an exercise in extending current practice. The exceptions are covered in the risks section below.

Mapping the four ITGC domains to the logging pipeline

Each domain covers a different part of the pipeline. Access management governs who can read and administer logs. Change management governs capture, redaction, and retention settings. IT operations covers completeness, availability, retention, and integrity. System development and acquisition covers how logging components are built or bought.

ITGC domains across the LLM logging pipeline
ITGC domainPipeline scopeControl objective
Access managementLog viewers, administrators, service accounts, and exportsGovern who can read and administer logs
Change managementCapture, redaction, transport, and retention configurationGovern changes to capture, redaction, and retention settings
IT operationsPipeline reliability, storage, retention, integrity, and reviewCover completeness, availability, retention, and integrity of logs
System development and acquisitionLogging libraries, agent frameworks, and observability vendorsCover how logging components are built or bought

LLM-specific risks that require added safeguards

Inherited controls and controls that need adaptation

Most controls carry over from existing logging standards without change. Three LLM-specific risks need added safeguards, and each maps to evidence an auditor can review.

Risks that need added safeguards
RiskRelated ITGC domainEvidence to retain
Sensitive data in promptsChange management and IT operationsChange records with approvals for redaction and retention configuration; retention and deletion job results mapped to documented retention periods by data class
Tampering with agent action recordsIT operationsIntegrity check results or storage settings demonstrating that records cannot be silently altered
Broad access to conversation recordsAccess managementCurrent list of users and roles with access to raw conversation records, plus the latest completed access review

Audit evidence readiness checklist

Use this list to confirm that the evidence an auditor is likely to request is available for the logging pipeline.

  • A system inventory showing the LLM logging pipeline and its components as in scope for ITGC testing
  • A current list of users and roles with access to raw conversation records, plus the latest completed access review
  • Change records with approvals for logging, redaction, and retention configuration changes
  • Monitoring output showing how pipeline failures and dropped records are detected and resolved
  • Retention and deletion job results mapped to documented retention periods by data class
  • Integrity check results or storage settings demonstrating that agent action records cannot be silently altered

Where runtime policy enforcement fits

Runtime policy enforcement and audit logging can support consistent, reviewable evidence for AI agent activity, which complements the controls described above.

Discuss logging controls for your AI agents

Talk with a Trussed AI expert about how runtime policy enforcement and audit logging can support consistent, reviewable evidence for AI agent activity.

Talk to an Expert