Research / IT audit & AI assurance
Auditing Enterprise AI: Control Testing, Evidence and Workpaper Documentation
Enterprise AI auditing evaluates the controls over AI systems and AI-enabled business processes against defined criteria. This guide explains how to plan an engagement, test controls, evaluate evidence and document conclusions that an independent reviewer can examine.
Includes an enterprise AI risk and control matrix, a workpaper structure and a synthetic retrieval-augmented generation (RAG) authorization audit.
From audit objective to conclusion
What did we test?
What does the evidence establish?
- Scope and criteriaIdentify the risk, control and requirement.
- Control testingRecord procedures, observations and exceptions.
- Evidence and workpapersDocument what the results support and where they fall short.
In this guide
01 / Scope
What does an enterprise AI audit examine?
The scope of an enterprise AI audit may include governance, model validation, technical controls and the business process in which AI is used. Each requires different evidence.
Suppose an employee asks the company’s AI assistant for a colleague’s salary. The application has passed a security review, management approved its deployment and the supplier provided assurance reports. Can the employee retrieve the salary record? Until someone tests the application’s access controls, those reviews may leave that question unanswered.
Algorithmic auditing, model validation, AI management system audits and internal audit engagements address related but distinct questions. Raji et al. proposed a lifecycle-oriented approach to internal algorithmic auditing in 2020. [1] The remit of an internal audit function can extend to the business process, its supporting technology and management’s oversight.
- AI governance
- Are decision authority and oversight appropriate?Examine risk ownership, accountability, approval and escalation.
- AI management system
- Does the AI management system (AIMS) conform to defined requirements?Examine the management system within its stated scope.
- AI-enabled process
- Are operational risks adequately controlled?Examine the workflow, consequential actions and affected populations.
- Model validation
- Does the model meet defined requirements for its intended use?Review evaluation methods, test conditions, acceptance criteria and limitations.
- Technology and suppliers
- Are material dependencies controlled?Examine data, access, infrastructure, integrations and third-party responsibilities.
- Human oversight
- Can designated people identify and correct inappropriate AI-assisted actions?Test actual review, escalation, override and intervention mechanisms.
A reliable model can still be deployed in an application that exposes confidential records. Define the audit objective before selecting the evidence.
02 / Criteria
Which standards and frameworks apply?
Professional auditing standards govern the engagement itself. The criteria used to assess an AI application may come from organizational policy, technical standards, contracts or applicable laws.
- IIA Global Internal Audit Standards
- Internal audit engagement requirements. [2]Planning, evidence, documentation, reporting and follow-up.
- IIA AI Auditing Framework
- AI-specific guidance. [3]Consider AI governance, risk and controls.
- ISACA ITAF, 5th Edition (2026)
- IT audit and assurance standards and guidance. [4]The fifth edition addresses emerging technology, including AI auditing.
- ISO/IEC 42001:2023
- AI management system requirements. [5]Use applicable AIMS requirements where they form part of the engagement criteria.
- ISO/IEC 23894:2023
- AI risk management guidance. [6]
- NIST AI RMF and AI 600-1
- Voluntary risk management framework and generative AI profile. [7] [8]Use applicable risk outcomes and guidance when developing criteria and procedures.
- ISO/IEC 42006:2025
- Requirements for AIMS audit and certification bodies. [9]Certification differs from internal audit of a particular production application.
What changed for internal auditors in 2026?
The IIA Cybersecurity Topical Requirement took effect on 5 February 2026; its Third-Party Topical Requirement took effect on 15 September 2026. When an applicable topic is covered in an assurance engagement, assess the relevance of its requirements and document the basis for exclusions. Both are pertinent to AI applications that process confidential information or depend on hosted models. [10] [11] [12]
ISO/IEC 42001 certification concerns conformity within the certified management system’s scope. It does not establish the operating effectiveness of every application control. See the ISO/IEC 42001 guide for management system context.
03 / Engagement planning
How should internal auditors scope an AI engagement?
Start with the business process. For a knowledge assistant, access restrictions and the accuracy of answers may be priorities. In an AI-assisted anti-money laundering (AML) investigation, the auditor may need to compare generated summaries with transaction records and establish who can close or escalate a case.
- Business activity
- Identify the operational objective and consequential decisions.Name the process owner, users, affected populations and responsibilities.
- System boundary
- Identify the deployed application and material dependencies.Record model or service identifier, data sources, prompts, retrieval indexes, identity, tools and infrastructure.
- Population and period
- Specify the activity and interval to which conclusions relate.Distinguish transactions, control events, configurations and test scenarios.
- Prior work
- Identify assessments that may support the engagement.Examine their coverage, methodology, limitations and changes since completion.
- Audit criteria
- Define what constitutes satisfactory control operation.Tie criteria to applicable requirements and approved risk or performance limits.
Test inventory completeness when it is material. Reconcile the registered AI systems against procurement, cloud resources, identity records and application discovery. Record any parts of the organization the reconciliation did not cover.
Under IIA Standard 13.6, the work program establishes the procedures for achieving the engagement objectives. [2] An access-control policy may prohibit unauthorized retrieval of human resources records. The procedure should test that prohibition. A general statement about responsible AI does not provide sufficiently precise criteria for that test.
Agree on acceptance criteria before testing. If management has not defined them for a consequential AI function, assess that gap rather than choosing a threshold after seeing the results.
04 / Risk and control matrix
What enterprise AI controls should auditors test?
A risk and control matrix (RCM) links an identified risk to the control intended to manage it and the procedure used to evaluate that control. The following matrix is an illustrative practitioner resource, not a prescribed catalog from any standards body.
Scroll the table horizontally if needed.
| Control domain | Control objective | Illustrative test procedure | Expected evidence |
|---|---|---|---|
| AI inventory | Material deployments are identified and authorized. | Reconcile register with independently obtained procurement and infrastructure records. | Inventory, approvals, reconciliation results. |
| Governance | Deployment and material changes are authorized. | Sample approvals and confirm authority. | Decision records and approval history. |
| Data governance | Data is authorized and suitable for intended use. | Trace selected sources to origin, permissions and quality checks. | Lineage and quality records. |
| Model validation | Model meets defined use-case criteria. | Review evaluation methods, acceptance thresholds and unresolved exceptions. | Evaluation plan, datasets, results. |
| Change management | Material changes are evaluated before release. | Trace model, prompt, index and application changes through approval and regression testing. | Change tickets and version history. |
| Access management | Information restrictions are enforced. | Test retrieval using permitted and prohibited identities. | Permissions, retrieval traces and outputs. |
| Output reliability | Material assertions are supported by source information. | Reconcile selected outputs to authoritative records. | Outputs, original records, discrepancies. |
| Human oversight | Staff can identify and intervene in inappropriate actions. | Test review, override and escalation scenarios; sample actual interventions. | Review decisions and override records. |
| Monitoring | Material failures are identified and investigated. | Examine coverage and trace selected alerts to disposition. | Telemetry, alerts and investigations. |
| Third-party AI | Supplier risks and customer responsibilities are managed. | Evaluate due diligence, assurance coverage and contractual responsibilities. | Contracts, reports and risk records. |
| Incident management | Incidents are addressed and corrective actions verified. | Trace incidents through investigation and remediation. | Incident records and retest evidence. |
| Agentic AI | Automated actions respect delegated authority. | Test prohibited actions and required approval conditions in an authorized environment. | Tool permissions, approvals and execution traces. |
Use the matrix as a starting point for an enterprise AI audit. Add controls for the actual deployment, its business risks and applicable obligations.
05 / Control evaluation
What is the difference between design, implementation and operating effectiveness?
- Design effectiveness
- Could the control address the risk if it were implemented and operated as intended?Examine the proposed mechanism, dependencies and relevant failure conditions.
- Implementation
- Does the control exist in the environment being examined?Inspect deployed configuration and observe the mechanism.
- Operating effectiveness
- Did the control operate as intended under the relevant conditions and period?Examine control events, transactions or appropriately selected test scenarios.
Consider an AI application that initiates payments. Its design requires independent approval, and a walkthrough confirms that an approval function exists. Yet transaction records could show payments that bypassed it. The walkthrough establishes implementation; the records may establish failures in operation.
Control testing and model performance testing
Model performance testing asks whether the model meets its specified performance criteria. Control testing asks whether safeguards work. For example, a reviewer may catch an incorrect AI-generated transaction summary before it affects a decision. Conversely, good average model accuracy says little about whether that reviewer actually checks the underlying records.
06 / Fieldwork
How should auditors test AI controls?
Most enterprise AI audit fieldwork uses familiar IT audit techniques. Adapt them to the application, especially where data, model behavior or configuration can change between tests.
- Inquiry and inspection
- Understand the process and examine records.Interviews, approvals, configurations and logs can establish documented expectations and observed settings.
- Observation
- Observe the actual control activity.Examine review, authorization and escalation in practice.
- Reperformance and recalculation
- Independently repeat a procedure or verify a metric.Preserve inputs, evaluation methods and discrepancies.
- Negative and scenario testing
- Examine behavior under defined permitted and prohibited conditions.Include boundary cases and foreseeable control failure conditions.
- Regression testing
- Assess whether changes impair previously tested properties.Connect tests to the affected dependencies and compare relevant results.
- Data analytics and sampling
- Examine selected instances or a defined population.Document completeness, selection method and intended inference.
Testing nondeterministic systems
Two answers can use different wording and still satisfy the same control. In an access-control test, the relevant result is whether restricted information was retrieved or disclosed. In an accuracy test, compare factual assertions and omissions against the source records.
Record the input, execution conditions, available version and configuration information, observed output and evaluation method. Repeat tests when variability is relevant. Repeated executions of an identical request should not automatically be treated as independent evidence or coverage of distinct scenarios. NIST’s AI RMF and generative AI profile provide additional risk and evaluation context. [7] [8]
How many AI control tests are sufficient?
There is no universal sample size for an enterprise AI audit. First decide whether the test is intended to identify a failure or estimate the frequency of failures in a defined population.
A sample of actual approval transactions and a set of deliberately selected access-control scenarios serve different purposes. The former may support statistical inference if the population and sampling design permit it. The latter can establish that a prohibited outcome occurred, without showing how often it occurs. One unauthorized disclosure may be material on its own.
07 / Evidence
What constitutes sufficient and reliable AI audit evidence?
AI audit evidence is sufficient only in relation to the conclusion it is intended to support. IIA Standard 14.1 addresses relevance, reliability and sufficiency of information used in engagement work. [2]
Scroll the table horizontally if needed.
| Evidence artifact | What it may establish | What still requires examination |
|---|---|---|
| Approved policy | Documented expectations. | Implementation and actual operation. |
| Architecture record | Documented design. | Correspondence with deployed environment. |
| Configuration export | Settings at collection time. | Historical operation and completeness. |
| Production logs | Recorded events. | Coverage, integrity and omitted events. |
| Validation report | Results under defined conditions. | Applicability to current deployment and population. |
| Supplier assurance report | Findings within stated scope and period. | Exclusions, customer responsibilities and changes. |
| Auditor reperformance | Independently observed behavior. | Untested conditions and inference limits. |
| Management attestation | Management’s representation. | Corroboration of the assertion. |
| AI-generated summary | Generated representation of source records. | Accuracy, completeness and provenance. |
Suppose the application logs every answer but not the documents retrieved to generate it. Even if the log is authentic and complete for answers, it cannot establish whether restricted content entered the model’s context. The auditor needs retrieval evidence.
Can internal audit rely on prior AI assessments?
Standard 9.5 addresses coordination and reliance. Internal audit documents its basis for reliance and remains responsible for its conclusions. [2] A prior evaluation may be technically sound yet not cover the current use, population, configuration or control objective. Several reports may also depend on the same underlying assessment.
Examine the earlier provider’s competence and objectivity, scope, methods, supporting evidence, exceptions and material changes. The ISAI article The IIA Three Lines Model for AI examines these questions and introduces CEDAR-3L for cross-line evidence reliance.
08 / Documentation
What should an AI audit workpaper contain?
An AI audit workpaper records what was examined, how it was tested, what evidence was obtained, what exceptions were identified and how the auditor reached a conclusion. Under IIA Standard 14.6, documentation must enable a competent reviewer to repeat the work and derive the engagement results. [2]
A screenshot of an AI response is hard to evaluate without knowing who made the request, which application generated it and what data or configuration was in use. Record those details when they affect the result.
- Engagement and workpaper ID
- Unique reference to the audit work program.
- Risk, control and criterion
- Define the risk, control objective and requirement being tested.Record the control owner and the approved evaluation criterion.
- System and dependencies
- Identify the environment, application and material versions.Include relevant model, prompts, data, retrieval, permissions and integrations.
- Population and selection
- Record the operating period or scenario boundaries.Explain completeness, sample design, selection and limitations.
- Procedure and expected result
- Document the steps actually performed and the predetermined acceptance condition.
- Actual result and evidence
- Record observations, exceptions and traceable evidence references.Preserve material inputs, execution conditions and outputs.
- Conclusion and limitations
- Explain what the results establish and what remains unexamined.
- Preparation and review
- Record preparer, reviewer, dates, review notes and resolution.Follow applicable approval and retention requirements.
- Business process
- Risk and criterion
- Control objective
- Test procedure
- Evidence and observation
- Workpaper conclusion
- Finding and action
- Follow-up verification
If the supplier will not disclose the model version, record the service identifier, test date and available settings. State that the underlying version could not be verified. Do not guess.
09 / Worked example
Worked enterprise AI audit: testing RAG access controls
Does the application preserve document permissions?
The case and all test records below are fictional. They demonstrate an audit procedure, not an actual engagement or empirical findings.
Employees may obtain restricted information through an internal generative AI assistant that they cannot access directly.
Prevent unauthorized document content from entering a user’s model context or response.
Every document included in the model context must be authorized for the user under effective source-document permissions. Unauthorized retrieval constitutes an exception even if the final response withholds the content.
Application-level authorization filters evaluate permissions before retrieved content is passed to the model.
Retrieval-augmented generation (RAG) can introduce dependencies on ingestion, classification metadata, vector search, permission synchronization and context construction. OWASP identifies security risks associated with vector and embedding mechanisms. [13]
Audit procedure
Examine the design
Inspect the application architecture and authorization rules. Establish the intended point at which restricted content must be excluded.
Verify implementation
Compare source permissions with identity groups and the retrieval configuration. Observe the authorization mechanism in the examined environment.
Execute selected scenarios
Use approved test identities and synthetic content. Select 30 scenarios purposively across roles, document sensitivity and permission revocation.
Record and evaluate
Capture expected permissions, retrieval traces, authorization decisions, context construction and final responses. Reconcile each observation with the criterion.
- Test scenarios
- 30
- Satisfactory
- 27
- Exceptions
- 3
Scroll the table horizontally if needed.
| Scenario group | Tested | Pass | Exceptions |
|---|---|---|---|
| Authorized departmental retrieval | 10 | 10 | 0 |
| Unauthorized cross-department retrieval | 10 | 8 | 2 |
| Restricted document retrieval | 5 | 5 | 0 |
| Retrieval after permission revocation | 5 | 4 | 1 |
| Total | 30 | 27 | 3 |
In two cross-department scenarios, restricted content entered the model context. One response also disclosed that content. In the third exception, a document remained retrievable after access was effectively revoked. The specific technical causes are not yet established.
Twenty-seven scenarios passed. Three did not. The control requires every document entering the model context to be authorized, so a 90% pass rate is not an acceptable result against that criterion. It is also not a statistical estimate of production reliability.
Exhibit 1. Completed AI audit workpaper
Illustrative records only. No actual audit sign-off or supporting evidence files are implied.
- Engagement / ID
- Enterprise AI Application Controls / AI-AC-004Risk AI-R-012 · Control AI-C-017
- Owner
- Enterprise Application SecurityFictional function.
- Objective and criterion
- Determine whether the knowledge assistant enforces document permissions.No unauthorized document content may enter the model context.
- Environment
- Fictional production-equivalent test environment.Application 2.4 (fictional); hosted model version not independently identifiable.
- Period and selection
- Point-in-time assessment; 30 purposive scenarios.No statistical projection or historical operating period.
- Procedure
- Compare effective permissions with retrieval traces, context and responses.See the four procedures above.
- Expected / actual
- All selected scenarios conform / 27 satisfactory, 3 exceptions.One exception includes user-facing disclosure.
- Evidence
- EV-001 to EV-005Illustrative references listed below.
- Design
- Documented design is capable of addressing the risk if correctly implemented and operated.Actual failure mechanism requires investigation.
- Implementation
- Authorization mechanism present in the test environment.Implementation did not enforce the criterion consistently.
- Operation
- Exceptions demonstrated under selected test conditions.Historical production-period operation remains unexamined.
- Conclusion
- The examined implementation fails the authorization criterion in three selected scenarios.Frequency and extent of production exposure are not established.
- Review status
- Illustrative only; not reviewed or signed off.In an engagement, retain preparer and reviewer identity, dates and review-note resolution.
Exhibit 2. Evidence register
- EV-001
- Information-access policy and authorization matrixEstablishes criterion.
- EV-002
- Architecture and configuration recordSupports documented design and observed implementation.
- EV-003
- Test identities and effective source permissionsEstablishes expected access decisions.
- EV-004
- Scenario inputs, retrieval traces, model context and responsesSupports observed behavior.
- EV-005
- Scenario reconciliation and exception analysisConnects deviations to the conclusion.
The evidence IDs are illustrative. In a real engagement, each would resolve to an original record with its collection date, collector, relevant version and applicable integrity or retention controls. To assess historical exposure, the auditor would need production records.
10 / Reporting
How should AI audit findings be documented?
Describe the discrepancy between the applicable criterion and observed condition, assess significance and establish the basis for corrective action. The IIA’s Principle 14 addresses engagement findings, recommendations, action plans and conclusions. [2]
Exhibit 3. Illustrative AI audit finding
Enterprise AI assistant permits unauthorized retrieval of restricted content.
- Criteria
- No unauthorized document content may enter the model context.
- Condition
- Three of 30 selected scenarios resulted in unauthorized retrieval.One also resulted in user-facing disclosure.
- Cause
- Not established.Investigate authorization filtering and permission synchronization.
- Effect
- Restricted information entered an unauthorized test execution context.Wider production exposure is possible but unverified.
- Recommendation
- Investigate and remediate failures; assess historical exposure; independently retest affected paths.
- Action owner
- Enterprise Application Security (proposed).Management to confirm owner and target date.
- Follow-up
- Examine changes, repeat failed tests, test adjacent boundaries and obtain relevant production records.
The audit has established unauthorized retrieval in the test environment, but not the cause or extent of production exposure. Rate the finding under the organization’s audit methodology, taking account of information sensitivity, exposure and compensating controls.
11 / Follow-up
When should previously tested AI controls be reassessed?
A model upgrade may leave an independent authorization control unaffected. But adding a new document repository can change access risks without changing the model at all. Decide what needs retesting based on the actual change and its effect on the control.
- Model replacement
- Evaluate output reliability and material behavioral changes.
- Prompt or workflow revision
- Examine instruction handling, output restrictions and business rules.
- Retrieval or data changes
- Test integrity, accuracy and authorization.
- Identity changes
- Test access and permission revocation.
- New tools or actions
- Test execution authority and approval boundaries.
- Supplier, infrastructure or user population changes
- Examine applicability of earlier evidence and affected responsibilities.
- Material incident
- Examine related deficiencies, exposure and corrective-action effectiveness.
Document which prior conclusions remain supportable, which procedures need repeating and why. Follow-up under IIA Standard 15.2 concerns confirmation of implementation of recommendations or action plans. [2]
12 / Interpretation
What are the limitations of enterprise AI auditing?
Auditors may have access to an AI application but not its underlying model, historical configuration or supplier records. A black-box test can establish how the application behaved during the test; it may not reveal why.
- Control deficiency
- A demonstrated weakness in design, implementation or operation.
- Evidence deficiency
- Information needed to support an assertion is missing, incomplete or unreliable.
- Performance deficiency
- The system does not meet a defined performance criterion.
- Scope limitation
- A restriction prevents adequate examination of a relevant property.
Missing evidence does not prove a control failed. It may prevent the auditor from determining whether it worked. If a consequential control cannot be observed, examine whether that is itself a deficiency.
Conclusion
The RAG example illustrates why an enterprise AI audit must go beyond policies, approvals and model evaluations. The relevant evidence was the comparison of effective document permissions with actual retrievals. The workpaper must preserve that comparison so another auditor can assess the finding without relying on the original auditor’s judgment alone.
13 / Common questions
Frequently asked questions
What is an enterprise AI audit?
An evaluation of governance, risk management and controls over AI systems and AI-enabled business processes against defined criteria.
How do internal auditors test AI controls?
Use inspection, observation, reperformance, sampling and technical tests, including negative scenarios, output verification and human intervention testing as relevant.
How does an AI audit differ from model validation?
Model validation examines performance and suitability for intended use. Internal audit may examine validation itself, governance, operational controls, security and decision authority.
What constitutes sufficient AI audit evidence?
Evidence that is relevant, reliable and sufficient for the audit conclusion. For example, a deployment approval alone cannot establish that a control operated throughout the audit period.
What should an AI audit workpaper include?
The objective, criterion, risk, control, system, population, test procedure, expected and actual results, evidence, exceptions, limitations, conclusion and review details.
Does ISO/IEC 42001 certification prove AI safety?
No. Certification concerns management system conformity within a defined scope; it does not establish the safety or effectiveness of every deployed application.
How many test cases are required for an AI audit?
There is no universal number. The appropriate selection depends on the control, risk, population, methodology and intended inference.
Can AI-generated documentation serve as audit evidence?
A generated record may assist an engagement, but verify it against appropriate sources. It cannot establish an observation that was never collected.
Can internal audit rely on a vendor assessment?
Yes, where the provider and underlying work are suitable for the intended reliance decision. Examine the scope, methods, exceptions, changes and material dependencies.
Does an AI audit require access to model source code?
Not necessarily. An auditor can test access restrictions without inspecting the model’s source code. Conclusions about internal mechanisms, however, may require access that the supplier does not provide.
14 / References
Sources and editorial approach
Primary standards and technical guidance inform this article. The testing matrix and workpaper are proposed practitioner resources; they are not official control catalogs or independently validated audit methodologies. All worked-example results are synthetic.
- Raji, I. D., et al. (2020). Closing the AI Accountability Gap: Defining an End-to-End Framework for Internal Algorithmic Auditing. Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency. Official sourceLifecycle-oriented algorithmic auditing.
- The Institute of Internal Auditors (2024). Global Internal Audit Standards. Official sourceStandards 9.5, 13.2–13.6, 14.1–14.6 and 15.2.
- The Institute of Internal Auditors. Artificial Intelligence Auditing Framework, 2nd Edition. Official sourceAI-specific audit guidance; locate the framework in the IIA document directory.
- ISACA (2026). IT Audit Framework (ITAF), 5th Edition. Official sourceIT audit and assurance methodology; fifth edition announced 26 February 2026.
- ISO/IEC 42001:2023. Information technology — Artificial intelligence — Management system. Official sourceAIMS requirements.
- ISO/IEC 23894:2023. Information technology — Artificial intelligence — Guidance on risk management. Official sourceAI risk management guidance.
- NIST (2023). Artificial Intelligence Risk Management Framework (AI RMF 1.0). NIST AI 100-1. Official sourceGovern, Map, Measure and Manage.
- NIST (2024). Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile. NIST AI 600-1. Official sourceGenerative AI risk profile.
- ISO/IEC 42006:2025. Information technology — Artificial intelligence — Requirements for bodies providing audit and certification of artificial intelligence management systems. Official sourceRequirements for AIMS audit and certification bodies.
- The Institute of Internal Auditors. Topical Requirements. Official sourceApplicability and implementation information.
- The Institute of Internal Auditors (2025). Cybersecurity Topical Requirement. Official sourceEffective 5 February 2026.
- The Institute of Internal Auditors (2025). Third-Party Topical Requirement. Official sourceEffective 15 September 2026.
- OWASP GenAI Security Project. LLM09:2026 — Vector and Embedding Weaknesses. Official sourceSecurity risks associated with retrieval and vector systems.
Related InfoSecured.ai research
See our editorial standards for how we use sources and develop practical guidance.
Back to the beginning