RAG knowledge assistant for ISO 42001 data controls

How ISO/IEC 42001 Annex A data controls apply to the document corpus behind a self-hosted RAG assistant, and the records to keep for assessment.

On this page

How a RAG knowledge assistant meets ISO 42001 data controls

Annex A controls A.7.3 to A.7.6 of ISO/IEC 42001:2023 govern the acquisition, quality, provenance and preparation of the data an AI system relies on. For a RAG knowledge assistant, that data is the document corpus the assistant retrieves from, so the corpus and its records become the evidence trail an auditor will follow. If your organization must show an AI management system that covers data, the question is not whether the assistant answers well, but whether you can show where every indexed document came from, why it was selected, how its quality was checked and how it was prepared for retrieval. ISO/IEC 42001 applies to any organization that provides or uses AI systems, and it is designed to sit alongside an existing management system such as ISO/IEC 27001.

ISO does not certify organizations. External certification bodies do that work, and accreditation of those bodies is voluntary. The function you buy from an implementation partner prepares the controls, procedures and records that a certification body would examine, and it does not issue an attestation of its own. Start with the statement of applicability required by clause 6.1.3. It must list the Annex A controls you need and justify including or excluding each one. Not every control must be implemented, but every exclusion needs a reason you can defend. For a RAG assistant, A.7.3 to A.7.6 are rarely optional if the assistant answers staff questions from internal policies, so confirm early with your certification body and legal team how they expect you to scope the data area.

Turn each control into a named record tied to the corpus. Typical records include a source register listing each connector, owner and selection rationale for A.7.3, quality requirements and acceptance checks for A.7.4, a provenance log that follows each document through its versions into the vector index for A.7.5, and documented parsing, chunking and metadata rules for A.7.6. The ISO/IEC 5259 series on data quality for analytics and machine learning, published in 2024, can inform how you define and measure quality, and you should confirm with your partner which parts of it fit your corpus. Ask the partner to show how the chosen platform, whether Open WebUI, AnythingLLM, RAGFlow or Dify, records document IDs, versions and chunk metadata, since those fields determine whether provenance can be traced at all.

Mapping A.7.3 to A.7.6 to RAG functions and configuration

This table maps each ISO/IEC 42001 Annex A data control from A.7.3 to A.7.6 to the configuration an assistant needs and the evidence an assessor would expect to see. Read each row as a requirement, the job the assistant must do, and the setting to confirm on the platform you choose. Feature names are generic, so verify each one in the version you deploy before you write it into a statement of applicability.

RequirementWhat the assistant must doHow to configure it on the chosen platform
A.7.3 Acquisition and selectionOnly ingest from sources the organization has approved, and record why each source was selected and who approved it.Limit connectors to an approved source list, use service accounts with read-only scope, and keep a register of each collection with owner, purpose and selection criteria. Confirm which connectors your Dify, RAGFlow, AnythingLLM or Open WebUI version supports.
A.7.4 Quality of dataApply documented acceptance criteria per document class and block or flag files that fail parsing checks or have expired content.Set a required metadata schema per collection, run parsing checks on scanned and tabular files before indexing, and define a stale-content rule with a review date per document. Confirm whether your platform offers pre-index validation or whether it must be scripted.
A.7.5 ProvenanceStore source URI, document version, owner and ingestion timestamp with every chunk so any answer traces back to a specific approved version.Write these fields as chunk metadata at ingestion, keep them in the vector store payload or a linked relational table, and expose them in citations. Confirm that metadata survives re-chunking and that citations show the version, not only the file name.
A.7.6 Preparation: chunkingSplit documents in a consistent, documented way so that citations point to the right passage and tables stay usable.Choose chunking rules per document type (headings, sections, tables), record the chunk size and overlap as configuration, and test a sample of answers against the source text. Confirm the chunking methods your chosen platform exposes.
A.7.6 Preparation: deduplication and conflictsPrevent duplicate or superseded versions of a policy from competing in retrieval.Hash files at ingestion, mark superseded versions as inactive in metadata, and filter retrieval to active versions only. Confirm whether deduplication is native or needs a pipeline step.
A.7.6 Preparation: re-indexingRe-index a changed document and remove the old chunks and embeddings in the same operation.Trigger re-indexing from source change events or a scheduled job, and log each run with document ID, old and new version and result. Confirm whether the platform deletes old vectors automatically.
A.7.6 Preparation: deletionRemove a document's chunks, embeddings and cached answers when it is withdrawn from the approved source list.Run a delete by document ID across the vector store, metadata database and file storage, then check that no chunk remains. Keep a deletion record for the assessor. Confirm how backups and logs are handled under your retention rules.

Which self-hosted platforms fit the data record-keeping

The assistant platform, the vector store and the trace store each keep a different part of the record that ISO/IEC 42001 Annex A asks you to document for data. Licenses decide whether the same stack can serve internal staff only or also customers, so check them before the platform choice is fixed.

RAGFlow for document parsing

RAGFlow is an Apache-2.0 retrieval-augmented generation engine with a strong focus on document parsing and chunking. For the A.7.5 provenance record, its parsing and chunking settings determine which source file, page and version each chunk traces back to, so ask the implementation partner to confirm that every chunk keeps a stable reference to its source document and parse run. Apache-2.0 places no user-count or multi-tenant limit on internal use, which keeps the license question simple for an internal assistant. Confirm the parser behavior on your own scanned and tabular files before relying on it for record keeping.

AnythingLLM workspaces as data scopes

AnythingLLM is MIT licensed and organizes documents into workspaces, which can serve as a documented boundary for each data set. Under A.7.3 acquisition and A.7.6 preparation, a workspace can map to one approved source collection with a recorded owner, selection criteria and ingestion date. Confirm how the platform logs document uploads, embedding runs and deletions, because those events are the evidence that the corpus matches the documented selection. The MIT license imposes few distribution conditions for internal use.

Dify and its multi-tenant restriction

Dify uses a modified Apache License 2.0 that requires a commercial license to operate a multi-tenant service from the source code. For an internal assistant with one organization and one workspace, the community edition is the relevant case, and the Docker Compose stack needs at least 2 CPU cores and 4 GB of RAM. Its SECRET_KEY, workspace encryption keys and SSRF proxy settings are configuration records that auditors may ask to see. Confirm with the vendor whether your planned use counts as multi-tenant before you choose it.

Open WebUI and the 50-user threshold

Open WebUI is distributed under the Open WebUI License, which bars altering or removing its branding for deployments above 50 end users in any rolling 30-day period unless an enterprise license or written permission applies. Retrieval supports 13 vector databases with hybrid search and reranking, which affects how retrieved passages are logged. Multi-replica operation requires PostgreSQL instead of SQLite and Redis for shared state, and those stores hold the chat and retrieval logs you must retain. Ask the partner to confirm the user count and branding plan in writing.

Self-hosted vector database records

The vector database stores embeddings derived from source documents, and each vector must keep metadata linking it to a source file, version and access scope. Under A.7.5 provenance and A.7.4 quality, this metadata lets you show which corpus version produced an answer and which quality checks the chunks passed. Options such as pgvector in PostgreSQL, Qdrant, Milvus and Weaviate differ in backup, deletion and access control behavior, so ask how a removed source file is purged from embeddings and snapshots. Keep the database inside your infrastructure so the derived data stays under your records policy.

Phoenix license and trace records

Langfuse, licensed MIT outside its ee directories, and Arize Phoenix, licensed under the Elastic License 2.0, both record traces of retrievals, prompts and outputs. The Elastic License 2.0 prohibits providing Phoenix to third parties as a hosted or managed service, which does not limit an internal deployment but does matter if a vendor or partner hosts it for you. Trace records support the logging evidence that the EU AI Act expects for high-risk systems, so confirm retention periods against the six-month minimum in Article 19(1) and any longer obligations you carry. Confirm the license terms with counsel before deployment.

Which records differ by deployment size and model

A small internal assistant keeps the same core ISO/IEC 42001 data records as a larger one, but the access evidence is simpler and the licensing question is usually settled early. The controls that matter most are A.7.3 (acquisition), A.7.4 (quality) and A.7.5 (provenance), so the source register and document history stay the centerpiece of the file.

  • Access records: a named user list exported from the identity provider or local accounts, reviewed on a set schedule.
  • Source register: each collection with its owner, origin, approval date and document version, so answers can be traced to a known source.
  • Application logs: upload events, indexing runs and answer sessions, stored in the database or a protected file volume.
  • Retention: set by internal policy. If the system is high-risk, keep the logs for at least six months under Article 19(1) unless other law requires longer.
  • Licensing evidence: a record of the peak number of end users in any rolling 30-day period, which determines whether Open WebUI branding rules apply.

Confirm with counsel whether the assistant is high-risk under the EU AI Act. If it is not, Article 12(1) and Article 19(1) do not apply, but the source and access records still support ISO/IEC 42001 controls.

Evidence auditors ask for and which component produces it

This table maps the evidence an assessor is likely to request for the document corpus behind a RAG assistant to the component that produces each record. Read it as a preparation checklist: DeployOpen prepares these records for an assessor, but does not issue audit reports or certifications, and the assessor decides what is sufficient. The main takeaway is that most evidence must be generated continuously by the pipeline itself, not reconstructed after an audit is scheduled.

Evidence itemWhat it provesProducing component
Statement of applicability with justificationsWhich Annex A controls, including A.7.3 to A.7.6, apply to the assistant and why others are excluded (clause 6.1.3)Governance document maintained by the client, drafted with DeployOpen against the written scope
Approved source register with ownersWhich repositories, file shares and wikis may feed the index, who approved each one and who answers for its accuracyConnector configuration in the ingestion pipeline plus a register kept in the client's document management or GRC system
Ingestion logs with timestamps and file hashesWhich file version entered the corpus, when, and from which approved source (A.7.3)Ingestion pipeline logs, such as Airflow or Dagster run history, with hash values stored per file
Per-chunk provenance metadataWhich source document, version, section and owner each chunk and citation came from (A.7.5)RAGFlow, Dify or Open WebUI knowledge base metadata, exported to the client's own storage
Data quality acceptance recordsWhich quality requirements were defined for the corpus and that sampled documents met them before indexing (A.7.4)Review checklist and sign-off record, with parsing and deduplication reports from the pipeline
Deletion and re-index logsThat withdrawn or superseded documents were removed from the index and that the index reflects the approved versionPipeline job logs and vector store delete records from the self-hosted vector database
Trace records from Langfuse or PhoenixWhich retrieved chunks and model outputs were produced for a given answer, supporting review of data use in operationSelf-hosted Langfuse or Phoenix, configured to store traces in the client's infrastructure

What tooling alone does not satisfy

A RAG assistant can enforce parts of the data controls in ISO/IEC 42001 Annex A, but the policy, the quality criteria and the certification decision sit with people and external bodies. The cards below mark where software stops and where the organization, its domain owners and an accredited certification body take over.

Policy and statement of applicability

Clause 6.1.3 requires a statement of applicability that lists the Annex A controls the organization needs and justifies including or excluding each one. The corpus pipeline cannot write that justification for you. Someone accountable must decide which A.7 controls apply to the assistant, record the reasons and keep the statement current when the corpus or the use case changes. Confirm who signs it and how often it is reviewed.

Quality criteria need domain owners

A.7.4 asks the organization to define and document quality requirements for the data and to show that the data meets them. Tooling can check parsing errors, duplicates and missing metadata, but it cannot decide whether a retention schedule or a procedure is accurate or current. Each document collection needs a named owner who sets acceptance rules, reviews samples and approves removals.

Provenance does not prove truth

A.7.5 requires a documented process for recording where data came from across its life cycle. A source path, hash and ingestion timestamp show which file entered the index and when. They do not show that the file was approved, correct or the latest version. Keep provenance records separate from validity decisions, and state in the records which one the assistant relies on.

Certification comes from an accredited body

ISO does not certify organizations. Accredited certification bodies do, and ISO/IEC 42006:2025 sets additional requirements for bodies certifying AI management systems. As of Global ACI-FMRA-001 version 3.3 (August 2026), ISO/IEC 42001 is not listed as an endorsed sub-scope of the Global ACI recognition arrangement, unlike ISO/IEC 27001. Ask the certification body whether it is accredited for ISO/IEC 42001 and how it treats that gap before scoping the work.

EN 18286 is a separate reference

The European Commission says ISO/IEC 42001 helps set up an AI management system but does not match the quality management system the EU AI Act requires. EN 18286 covers that quality management system and was cited in the Official Journal on 14 October 2026 under Implementing Decision (EU) 2026/2274. A RAG assistant in scope of the Act needs both references mapped separately. Confirm with counsel and the certification body which obligations each one supports.

What ISO 42001 data controls cost to implement and how long they take

What drives the cost of implementing ISO 42001 data controls for a RAG assistant?

The biggest drivers are the number of source systems, the condition of the documents, and how much evidence the controls must produce. Each additional source needs its own acquisition record, connector work and permission mapping. Scanned files, inconsistent versions and undocumented owners add parsing and cleanup effort before any control can be evidenced. Evidence volume matters too: keeping provenance records, quality measurements and preparation logs for every refresh is more work than keeping a single snapshot. Ask any partner to price these items separately in the written scope: source count, parsing scope, evidence templates, and the number of review cycles.

Can an internal team implement ISO 42001 data controls without outside help?

A capable internal team can implement the controls, but the work spans policy, engineering and evidence, and most teams split it across several functions. The engineering side covers connectors, metadata tagging, the vector index and logging. The management side covers documented acquisition criteria, quality requirements and provenance procedures aligned to Annex A controls A.7.3, A.7.4 and A.7.5. Teams with a current ISO/IEC 27001 management system and an established data governance function usually have a head start. Those without one often use a partner for the technical build and keep policy ownership in-house. DeployOpen implements and documents the technical controls inside the client's own infrastructure, and the client keeps decision rights over policy.

What does the organization need to provide for an ISO 42001 data controls engagement?

The organization must provide named domain owners for each document source, a policy approver who can sign off acquisition and quality criteria, and read access to the source systems so that permissions and metadata can be mapped. Without owners, provenance records and acceptance decisions have no accountable person behind them. Without source access, connectors cannot be tested against real permission structures. Plan for time from these people during scoping, because the written scope depends on which sources, owners and approvers are confirmed. Ask your partner to list these inputs as prerequisites in the statement of work.

Can the data controls be implemented before seeking ISO 42001 certification?

Yes. Organizations can implement controls, document them and collect operating evidence before engaging a certification body. ISO does not certify organizations; external certification bodies do, and accreditation of those bodies is voluntary. ISO/IEC 42006:2025 sets additional requirements for bodies certifying AI management systems, so ask a certification body which accreditation arrangement it operates under before planning. Organizations are not required to implement every Annex A control; the statement of applicability under clause 6.1.3 must list the necessary controls and justify inclusion or exclusion. Confirm the scope of your statement of applicability with your certification body before you build.

How are refresh and re-indexing of the document corpus supported after go-live?

Refresh is an ongoing operating cost, not a one-time build task. Each change to a source document can affect acquisition records, quality checks, provenance entries and the vector index, so the controls need a defined refresh cycle and an owner for each source. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, and these can cover re-indexing runs, control evidence reviews and platform updates. Upgrades matter here because open-source RAG platforms ship releases often. For example, Dify 1.16.0 and 1.17.0 arrived about a month apart in 2026, so plan for regular patching. Ask for the retainer terms, the re-indexing procedure and the evidence produced in each cycle in writing.

How long does it take to implement ISO 42001 data controls for a document corpus?

No duration can be given without a defined scope, because the timeline depends on source count, document condition, owner availability and approval cycles. A narrow corpus from one well-governed repository is far quicker to document than a multi-source estate with scanned files and unclear ownership. Approval cycles for acquisition and quality criteria often take longer than the technical build. Ask any implementation partner for a fixed-scope plan with milestones and dependencies, and check which of your own approvals sit on the critical path. DeployOpen agrees scope, deliverables and timelines in writing before work starts.

Does DeployOpen issue ISO 42001 certification or audit reports?

No. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those functions. DeployOpen's work covers configuring the platform, documenting the controls, building the records for acquisition, quality, provenance and preparation, and testing the assistant's retrieval and access behavior. Your certification body will decide what evidence it needs and how it assesses that evidence. Ask your certification body early which records it expects so the build matches its requirements.

How the data controls are rolled out in phases

The sequence turns the Annex A data controls into working gates on the document corpus, so each source that reaches the assistant has an approved scope, a recorded origin and a quality check behind it. Each step ends with a record that an auditor or internal reviewer can inspect.

  1. Scope the statement of applicability

    The organization decides which Annex A controls apply to the assistant, including A.7.3, A.7.4, A.7.5 and A.7.6, and records a justification for each inclusion or exclusion as clause 6.1.3 requires. The AI owner, the information security lead and the compliance lead sign off on the statement before any document is loaded. Done means a versioned statement of applicability exists that names the assistant, its intended users and the data controls in scope.

  2. Inventory and approve document sources

    The team lists every repository, file share, wiki and ticketing export the assistant may read, and records the owner, classification and retention rule for each one. Data owners approve or reject each source against the documented acquisition criteria, which covers why the source is needed, how it was selected and who may authorize its use. Done means an approved source register exists and every excluded source has a stated reason.

  3. Build the quality and provenance gates

    Engineers write the quality requirements for the corpus, such as required metadata, accepted file types, currency of content and duplicate handling, and configure the ingestion pipeline to test each document against them. Provenance fields (source system, author, version, approval date and content hash) are attached to each document and carried into chunks and embeddings. Done means a test run rejects a sample of non-conforming documents and every accepted chunk traces back to a source record.

  4. Run ingestion with evidence capture

    The approved sources are loaded through the gated pipeline in a controlled run, with each batch logged with its timestamp, source list, rejection count and the version of the parser and embedding model used. Rejected items are held in a review queue rather than silently dropped. Done means the ingestion log can reproduce which documents were indexed, when, and under which rules, and the first retrieval tests confirm citations resolve to the right source.

  5. Review and maintain the corpus

    The team schedules periodic reviews of source approvals, quality metrics and provenance exceptions, and re-runs ingestion whenever a source changes or is withdrawn. Removals and re-indexing are recorded so that deleted or superseded content no longer appears in answers. Done means each review produces a dated record with decisions, owners and any changes to the statement of applicability, ready for an internal audit or an external assessor to examine.

How DeployOpen scopes, builds and documents the data controls

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For a RAG knowledge assistant, we start by mapping the document corpus to the ISO/IEC 42001 Annex A data controls, then build the ingestion, quality and provenance records alongside the assistant so the evidence exists when an auditor asks for it.

How we scope

  • Written scope listing which document sources, connectors and collections fall under the data controls for the assistant
  • Statement of which Annex A data controls (A.7.3 to A.7.6) apply, with the reasoning for each inclusion or exclusion
  • Agreed deliverables for acquisition records, quality requirements, provenance logging and data preparation rules before any build starts

How we build

  • Ingestion and parsing pipeline on self-hosted RAGFlow, AnythingLLM, Dify or Open WebUI with a self-hosted vector database
  • Quality checks on parsed text, metadata completeness and document versions, tested against the quality requirements written in the scope
  • Provenance capture that links each chunk and embedding back to its source file, owner, version and ingestion run

How we hand over

  • Documentation of data acquisition decisions, quality thresholds, provenance procedures and preparation steps, written for the client's own team
  • Retrieval and answer test results, with citation checks, recorded as evidence for the data controls and the statement of applicability
  • Runbooks for re-indexing, source removal and log retention, so the client's staff can operate the controls after handover

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers for the assistant and its data pipelines
  • Re-review of the data controls when source collections, platform versions or the Annex A scope change
  • DeployOpen prepares systems, controls and evidence for assessments, while independent auditors and certification bodies issue any audit report or certificate

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.