Skill 1.4.3

Implement auditing through trace logging, provenance metadata, and approval workflows

Key Concepts

Trace logging with OpenTelemetry sends spans for each request, model call, retrieval and tool call to Application Insights, including model deployment, token counts, latency and, where policy allows, prompt and response content. Azure Monitor diagnostic logs and the Azure activity log record data-plane requests and management changes such as new deployments and guardrail edits. Retention settings on the Log Analytics workspace keep logs for the period that regulation requires.

Provenance metadata records where an output came from: the agent and model versions, prompt version, retrieved document identifiers and citations, and, for generated images and video, the C2PA content credentials that Azure OpenAI image and video models embed. Approval workflows insert a human decision before sensitive actions, such as MCP tool approval requests or a human-in-the-loop step in a Foundry workflow, and record who approved and when.