Implementing ISO 42001 Annex A.7.5 data provenance controls for RAG sources and prompt data
Treat Annex A.7.5 as a requirement to know, record and be able to show where the data shaping AI outputs came from. For RAG and prompts, that means a governed source inventory, provenance metadata captured at ingestion, and a per-interaction record of what was retrieved and injected. Extending the control to inference-time data is your organization's interpretation, so document it in your AI management system. Source inventory, classification and dataset lineage depend on upstream data management. Policy decisions on individual interactions can be enforced and evidenced at runtime.
Separate upstream governance from interaction-level evidence
- 1
Corpus governance
Source inventory, owner, origin, usage rights, classification, deduplication and access scoping. Depends on data management practice, and is evidenced by inventories, approvals and permission reviews.
- 2
Ingestion and indexing
Records of what entered the index, from where, at which version, and what transformations such as chunking or embedding were applied. Evidenced by pipeline records and change history.
- 3
Per-interaction record
What was retrieved, what prompt inputs were injected, and what policy decisions applied to that request. Evidenced at runtime, one interaction at a time.
Interpreting Annex A.7.5 for runtime data
ISO/IEC 42001 is the international standard for AI management systems, and it covers data governance, data quality and documented policies for AI use. Annex A.7.5 is titled Data provenance and sits within a group of data controls: data for development and enhancement (A.7.2), acquisition (A.7.3), quality (A.7.4) and preparation (A.7.6). NIST's crosswalk between the AI RMF and ISO/IEC 42001 links these controls to the AI RMF Map and Measure functions, which is useful when you need to explain the control to teams that already work from NIST.
The control grouping reads naturally for training and development data. RAG sources, vector indexes, retrieved chunks, user inputs, system prompts and injected context change at inference time and often sit outside dataset inventories. Applying A.7.5 to them is an interpretation, and a defensible one. NIST's draft cybersecurity profile for AI treats all data input, including inference input, as part of the AI supply chain, and says data provenance deserves the same weight as software and hardware origin.
Because the standard does not spell out this reading, write it down. State in your AIMS scope that RAG stores, indexes and prompt data are in scope for A.7.5, name the owner of that decision, and record the rationale. Certification is voluntary, and a documented interpretation does not guarantee a particular audit outcome. It does give the auditor a stated position to test your practice against.
Define a provenance record schema
Published frameworks supply the raw attributes. NIST's GenAI Profile points to source, signatures, versioning and watermarks, plus intellectual property, licensed-works and sensitive-data rights. It also calls for practices that determine data origin and content lineage, including original sources and transformations. NIST's dataset documentation outline adds version history, digital signature, release and decommissioning dates, and attribution. None of these is a RAG schema, so adapting them is a design choice you should record.
Keep the schema small enough that teams will populate it. Retrieval path and classification have no standard definition for RAG, so define them yourself: for example, which index, query scope and permission context produced a retrieved chunk, and which classification label the source carried at that time.
- Origin and ownership: Where the source came from and the named owner accountable for it.
- Version and integrity: Version identifier, release and decommissioning dates, and a signature or hash where feasible.
- Rights and classification: Licence or usage rights, sensitive-data status and the classification label applied.
- Transformations: Chunking, embedding, redaction or cleaning steps, with pipeline version.
- Retrieval path: Index, query scope and permission context that returned each chunk.
- Prompt inputs: Prompt template version, user input and injected context, with handling decisions applied.
What runtime enforcement can and cannot evidence
Some provenance questions can only be answered at the moment of an interaction. Was this retrieved content allowed into the context? Was sensitive data redacted from a prompt? Was a tool call blocked? Controls that live in a review process cannot answer these per request. They need to be enforced in the execution path, with a record produced as a by-product of enforcement.
This is where Trussed fits, as a secondary element of the design. Trussed enforces policy in the execution path across models, agents, tools and MCP servers, with actions including allow, redact, block, rate limit and escalate for human approval. Enforcement happens at runtime, not review after the fact, and it produces audit-ready evidence for individual interactions and tool calls. That evidence supports the per-interaction layer described above.
The boundary matters. Trussed does not provide dataset provenance, model lineage or end-to-end tracing of agentic workflows. Source inventory, upstream classification, licensing review and ingestion lineage remain data management responsibilities, and your schema should assign them to named owners.
Governance tradeoffs and what to decide first
Richer records cost more to capture, store and protect. A per-interaction record that includes prompt content can itself contain sensitive data, so apply the same classification and retention rules to evidence that you apply to the data it describes. Decide which attributes are mandatory for every interaction and which are captured only for higher-risk use cases, and document the criteria.
Assign responsibility for provenance monitoring and incident response, and define how you will judge whether your measures are effective. Use the NIST-to-ISO crosswalk to link AI RMF Map and Measure activities to the data controls in your management system documentation, so one body of evidence serves both.
Before a certification audit, test yourself with one question: for a sampled interaction, can you show which sources and prompt inputs shaped the output, who owned them, and what policy decision applied? If the answer depends on reconstructing events manually, the per-interaction layer is the gap to close first.
Three layers of provenance evidence
Corpus governance
Source inventory, ownership, rights, classification, permissions
Ingestion and indexing
Origin, version and transformation history for content entering the index
Per-interaction record
Sources, prompt inputs and policy decisions for each request
Plan the evidence behind your A.7.5 interpretation
Talk through how runtime enforcement and per-interaction evidence can support the RAG and prompt data layer of your ISO 42001 program.
Talk to an ExpertHow does your AI governance program compare?
See where your program has gaps in less than 2 minutes.