ISO/IEC 42001 Implementation Guide

    Meeting ISO 42001 Annex A.7.4 Data Quality Requirements for Generative AI Inputs

    Annex A.7.4 addresses the quality of data for AI systems, and the organisation is expected to define and apply its own data quality requirements. For generative AI, that means setting criteria such as relevance, completeness, validity, sensitivity and source suitability for each input category (prompts, retrieved context, uploaded files and tool outputs), applying them where inputs enter the system, and keeping a record for each interaction. Runtime policy enforcement can generate that record for input-level criteria. Dataset provenance and training data assessment remain separate lifecycle processes.

    What A.7.4 requires and what it leaves to you

    ISO/IEC 42001:2023 specifies requirements for establishing, implementing, maintaining and continually improving an AI management system. ISO's own explainer lists managing data quality among its purposes and data governance among its requirements. Annex A.7.4, Quality of data for AI systems, is the control that carries this into practice.

    The control expects the organisation to define data quality requirements and apply them. It does not prescribe thresholds for a specific technology. That gap is where compliance teams get stuck with generative AI: the standard asks for defined requirements, and the organisation has to decide what quality means for an input that did not exist until a user typed it.

    The ISO/IEC 5259 series on data quality for analytics and machine learning is a useful vocabulary source. Part 2 covers data quality measures and Part 3 covers data quality management requirements and guidelines. Aligning your criteria with those parts makes the definitions traceable to a standard rather than invented locally.

    Why generative AI inputs change the problem

    A training dataset can be assessed once and versioned. Generative AI inputs cannot. NIST draft guidance notes that in retrieval-augmented generation (RAG) applications, context is often crafted at runtime in a query-dependent way from external sources such as documents and web pages. The prompt, the retrieved chunks, any uploaded file and any tool output differ with every interaction.

    A one-time assessment of the knowledge base therefore does not show that the context in a given response was suitable. It shows only that the repository met a standard on the day it was reviewed.

    NIST's characteristics for data, including accuracy, representativeness, relevance and suitability, were written for data lifecycle and content management. Applying them to prompts, chunks and uploads is an interpretive step. That is acceptable, provided you document the interpretation in the AI management system and apply it consistently. Five criteria are a practical starting set: relevance, completeness, validity, sensitivity and source suitability. Sensitivity deserves its own place, because PII, sensitive RAG content and system prompts are all recognised exposure concerns.

    Map criteria to the points where inputs enter

    Define criteria per input category, then record the measurement method and the action taken when a criterion is not met. The mapping below is a design choice, not wording from the standard. Adjust it to your architecture.

    • User prompts: Validity (permitted format, length and content type) and sensitivity (personal data, credentials). Actions: allow, redact the sensitive span, or block.
    • Retrieved context: Relevance to the query, source suitability (approved repositories, classification compared with the user's entitlement) and metadata completeness. Actions: drop or block chunks from unsuitable sources, redact sensitive content.
    • Uploaded files: Validity (supported type, readable content), completeness and sensitivity. Actions: block unreadable or unsupported files, redact, or escalate for human approval.
    • Tool outputs: Validity against the expected structure, sensitivity of returned data and suitability of the tool as a source. Actions: allow, redact or block before the result reaches the model.

    Separate per-interaction checks from periodic ones

    Not every criterion can be measured on every request. Sensitivity, input validity, source suitability and file completeness can usually be evaluated at the moment of interaction, because they depend on the content and its origin. Relevance is harder. It may need a defined proxy, such as retrieval score thresholds or restriction to approved collections, and periodic review of whether the proxy is still adequate.

    Write this split down. State which criteria are enforced per interaction and which are assessed on a schedule, with an owner for each. An auditor reading the documentation should be able to see that every criterion has a defined way of being verified, even if the cadence differs.

    Per-interaction enforcement acts in the execution path: the input is evaluated before it reaches the model, and the outcome is allow, redact, block or escalate for human approval. That placement matters for evidence. A control that runs in operation leaves a record of operation. A policy document does not.

    What evidence to expect to produce

    Auditors differ in approach, and certification bodies work under ISO/IEC 42006:2025, which sets requirements for bodies that audit and certify AI management systems. Confirm with your certification body how it expects evidence for dynamic inputs, and whether it wants samples.

    In general, the evidence that demonstrates a data quality control is operating falls into three layers. The first is the defined requirement: the criteria, their measurement method and the action for each, approved and version-controlled. The second is the operating record: for an individual interaction, which input categories were present, which criteria were evaluated, what the result was and what action was taken. The third is the review: periodic analysis of those records, exceptions and changes to criteria, which shows the control is being managed and not only run.

    Runtime enforcement can generate the second layer directly, because the decision and its inputs are produced at the moment of enforcement. It does not replace the first or third layers, which depend on human decisions and review. NIST AI 600-1 also suggests periodic monitoring for PII or sensitive data exposure and testing of data and content flows, which supports treating the review layer as part of the control.

    What stays outside runtime enforcement

    Runtime enforcement does not cover the lifecycle data controls. In the NIST crosswalk, the same Map 2.3 outcome on data collection and selection maps to several adjacent controls: data for development and enhancement (7.2), acquisition of data (7.3), quality of data for AI systems (7.4), data provenance (7.5) and data preparation (7.6). Dataset provenance, training data assessment and data preparation are lifecycle activities. They need their own process, owner and evidence, and the boundary should be stated in the AI management system documentation.

    The crosswalk also shows why one control set can serve several frameworks. Data-quality controls map to NIST AI RMF Map 2.3, while Measure 1.2 maps to AI system verification and validation and Map 5.1 maps to AI risk assessment. Mapping each input criterion to both ISO/IEC 42001 and NIST AI RMF avoids producing duplicate evidence.

    Finally, connect the criteria to existing data, IT and risk governance, as NIST AI 600-1 suggests for new generative AI policies. Certification is optional and gives independent confirmation against the standard. Runtime evidence supports an audit. It does not determine its outcome.

    Where Trussed fits

    Trussed enforces policy in the execution path across models, agents, tools and MCP servers. For individual interactions and tool calls, it can allow, redact, block, rate limit or escalate for human approval, so input-level criteria such as sensitivity and source suitability are enforced at runtime, not reviewed after the fact. That enforcement generates audit-ready evidence mapped to frameworks including NIST and the EU AI Act, and it can be deployed self-managed in the customer cloud with configurable retention and data residency.

    Trussed does not provide dataset provenance or model lineage. Those remain with the lifecycle controls described above.

    Where generative AI inputs enter the system

    User prompts

    Validity and sensitivity checked before the model sees the input.

    Retrieved context

    Relevance and source suitability checked per query.

    Uploaded files

    Completeness, validity and sensitivity checked per file.

    Tool outputs

    Validity and sensitivity checked before results return to the model.

    Turn input-level criteria into evidence

    See how policy enforcement in the execution path produces audit-ready evidence for individual interactions.

    See How Evidence Is Produced