Blog
RAG Access Evidence Becomes an Operating Standard
RAG access evidence is on its way to becoming an operating standard. AWS has released two APIs plus console support for Amazon Bedrock Knowledge Bases, giving teams a way to inspect and analyse document permissions in a knowledge base. This is more than a convenience feature: once AI answers run in production, teams must be able to tell whether a document was correctly withheld or whether an access permission was set up incorrectly.
The answer is not the only thing that needs evidence
RAG systems connect language models with enterprise knowledge. Two kinds of failure show up in practice: an agent may surface content that a user should not see. Or it may miss an expected document, even though that document matters for the business task. In the chat, both cases look the same at first: the answer seems incomplete or surprising.
AWS names the new functions CheckIngestedDocumentAcl and GetIngestedDocumentAcl. According to the announcement, the first verifies a specific user’s access to an ingested document. The second returns the ACL attached to the document. This makes it possible to distinguish a retrieval-quality issue from a data-ingestion issue or an access-control rule.
The access path is an audit object
For organisations in the DACH region, the rule of thumb is straightforward: never judge a RAG answer by its wording alone. Judge the access path behind it as well. For every critical use case, at least four pieces of information should be traceable:
- Identity: Which user or service account submitted the request?
- Source decision: Which documents were considered, returned or left out?
- Permission: Which ACL or policy accounts for that decision?
- Point in time: Which data and permission version was in effect when the answer was generated?
This matches a core principle of the EU AI Act: for high-risk AI systems, Article 12 requires the technical capability for automatic event logging across the system lifecycle. Not every internal knowledge base is automatically a high-risk AI system. The principle still holds value: traceability comes from technical logs, not from a screenshot taken after the fact.
Start with an access test suite
For one selected RAG workflow, build ten to twenty test cases: allowed documents, deliberately excluded documents, changed permissions and outdated content. Re-run them whenever a connector, index or identity provider changes. Measure answer quality, source coverage and access correctness as separate metrics.
A knowledge base then stops being just a search source for a chatbot. It turns into a controllable enterprise system whose knowledge boundaries remain explainable.