Policy · POL-12

Logging, Audit and Provenance Policy

Sets what agents must log, how logs are protected and reviewed, and how models, artefacts and generated content carry provenance.

DRAFTDRAFT for review by Felix and legal counsel. This is the CoE's own working draft, not legal advice. Framework references are indicative and must be checked against the current text before use.

Version 0.1 draft · 30 November 2026

Download Word (.docx) Control register (.xlsx)

Document control

Document IDPOL-12
TypePolicy
Version0.1 draft
StatusDraft, not approved
OwnerAgentOps / SRE (the CoE lead acts as owner until this role is staffed)
ApproverDesign authority
Effective dateOn approval
ReviewEvery 12 months, and on trigger events

1. Purpose

When something goes wrong, or an auditor asks, the organisation must be able to show what an agent saw, decided and did, under whose authority, and with which versions.

2. Scope

All agent traces, decision logs, approval records, version records and provenance metadata for agents and their outputs.

3. Definitions

TermMeaning
TraceThe linked record of one agent run: inputs, context references, plans, tool calls, decisions, approvals and outputs.
ProvenanceVerifiable information about where a model, artefact or piece of content came from and how it was made.

4. Roles and responsibilities

ActivityOWNARCENGOPSSECPRVLGL
Maintain the trace schemaRACC
Protect log integrityRA
Review logsIRA
Sign artefacts and mark contentARC

R responsible · A accountable · C consulted · I informed. OWN Agent owner (business) · ARC Agentic solution architect · ENG Agent engineer · OPS AgentOps / SRE · SEC AI security (CISO office) · PRV Privacy officer / DPO · LGL Legal counsel

5. Policy statements

  1. POL-12.1Every agent must log, using the shared trace schema, the request, context references, plans, requested and executed tool calls with arguments, authorization decisions with policy version and actor chain, approvals, model and prompt versions and outputs.
  2. POL-12.2Audit logs must be append-only or hash-chained, stored outside the agent's own permissions and time-synchronised.
  3. POL-12.3Personal data and secrets must be masked before traces leave their trust boundary. Access to logs must be limited and logged.
  4. POL-12.4Logs are retained as POL-06 sets out. Where the EU AI Act applies, automatically generated logs are kept for at least six months.
  5. POL-12.5Models and agent artefacts must be signed and listed in the AI-BOM. Generated content must carry machine-readable provenance where law requires.
  6. POL-12.6Agent traces, decision logs and network logs must be joinable by trace ID, fed to the SOC and reviewed on a schedule set by tier.

6. Controls and framework mappings

Each control has an owner, a test and evidence in the control register. The full crosswalk, including ISO/IEC 27001, SOC 2, DORA, MITRE ATLAS and sector guidance, is on the crosswalk page.

IDControlType · mode · frequencyMain mappings
LOG-01What every agent logs. Agents log the request, context references, plans, requested and executed tool calls with arguments, authorization decisions with policy version and actor chain, approvals, model and prompt versions and outputs, using the shared trace schema.Detective · Automated · ContinuousISO/IEC 42001A.6.2.8
NIST AI RMFMEASURE 2.8
EU AI ActArt. 12; Art. 19; Art. 26(6)
CoE planCtrl 19; AZ-6; Sec. 8
LOG-02Tamper-evident, time-synchronised logs. Audit logs are append-only or hash-chained, stored separately from the agent's own permissions, and time-synchronised.Preventive · Automated · ContinuousCoE planCtrl 19
LOG-03Sensitive data in logs protected. Personal and secret data are masked or redacted before traces leave their trust boundary, and log access is limited and itself logged.Preventive · Automated · ContinuousOWASPLLM02 Sensitive information disclosure; LLM07 System prompt leakage
CoE planSec. 8 masking
LOG-04Provenance of models, artefacts and outputs. Models and agent artefacts are signed and listed in an AI bill of materials. Generated content is marked where law requires, using machine-readable provenance.Preventive · Hybrid · Per releaseEU AI ActArt. 50(2)
OWASPLLM03 Supply chain; ASI04 Agentic supply chain vulnerabilities
CoE planCtrl 18
LOG-05Logs reviewed and joined. Agent traces, decision logs and network flow logs are joined by trace ID, fed to the SOC, and reviewed on a schedule set by tier.Detective · Hybrid · Weekly for Tier 3; monthly otherwiseCoE planNET-8; AZ-6

7. Exceptions

Exceptions are requested, assessed and recorded through PRC-19. Each exception names the statement or control it departs from, the compensating controls, the residual risk, an owner and an expiry date of no more than 12 months. Tier 3 exceptions need the AI governance board; others need the CoE lead and the AI risk and compliance lead.

No exception may be granted for a prohibited use, for a legal obligation, or for the requirement that agent bounds are enforced outside the model.

8. Compliance and enforcement

Compliance is measured through the controls above and tested by the second line each year and by internal audit on its own plan. An agent that does not meet this policy loses its production credentials until it does, through the registry gate in POL-01. Breaches by people are handled under the organisation's existing disciplinary and contract terms.

9. Review

The owner reviews this policy at least every 12 months through PRC-20, and sooner when a trigger event occurs: a significant incident, a new or amended law or standard in the crosswalk, a material change to the agent estate, or an audit finding.

↑