GuideLast checked 16 October 2026 with AI-assisted research. Editor: Akshay Dubey.Corrections logEditorial policy
On this page
  1. How auditors test
  2. The nine areas
  3. Framework mapping
  4. 30-day readiness plan
  5. FAQ
  6. Sources

NHI audit readiness is the ability to show an auditor, from records rather than assertion, that every service account, workload identity and AI agent identity in scope is inventoried, owned by a named person, reviewed, holding credentials that rotate or expire, and removed when no longer needed. Auditors test this by sampling and tracing to evidence.

The acceptance criteria below are our interpretation of good evidence. They are not taken from any standard and do not predict any auditor's opinion.

Terms used here. A non-human identity (NHI) is an identity used by software, a workload, a device or an AI agent: a service account, a workload identity, a cloud role or an agent identity. API keys, tokens, certificates, secrets and SSH keys are credentials that those identities hold. Auditors test both, but they test them differently: identities for existence, ownership and access, credentials for storage, lifetime and rotation. See what a non-human identity is.

How auditors test machine identities

Most audits of access control follow the same pattern, whatever the framework: request a population, check it is complete, select a sample, then trace each sampled item to evidence. Machine identities fail at the first two steps more often than at the last.

  1. Population. The auditor asks for a list, for example every service account in the production cloud accounts, or every application and system account in the cardholder data environment.
  2. Completeness. The auditor reconciles that list against a source they extract themselves or watch you extract: the cloud provider's IAM listing, the directory, the Kubernetes cluster, the secrets store. Identities that appear in the source but not in your inventory are a finding in themselves.
  3. Sample. The auditor picks items, usually weighted towards privileged, recently created and recently removed identities.
  4. Trace. For each item, the auditor asks for the approval, the owner, the last review, the credential age and, for removed items, proof that authentication stopped.

For attestation reports over a period, such as a SOC 2 Type II, the trace also covers time: did the control operate throughout the period, not only on the day of fieldwork. Our SOC 2 evidence guide covers the period problem in detail.

The nine areas auditors test

Each area below gives the typical evidence request, a sample test, the findings that recur and the acceptance criteria we suggest. Framework references follow in the mapping table.

1. Inventory completeness

  • Typical evidence request: A dated export of all non-human identities in scope, with type, system, purpose, owner and creation date, plus the method used to compile it.
  • Sample test: The auditor extracts the identity list directly from two or three source systems (for example one cloud account and one directory) and compares it with your inventory, in both directions.
  • Common findings: Identities in the source that are missing from the inventory; inventories that cover one cloud but not SaaS integrations or CI/CD; no date or method recorded, so the export cannot be reproduced.
  • Acceptance criteria (our suggestion): Every identity found in the auditor's source extract appears in the inventory, or in a documented exclusion with a reason. The export is dated and the query or tool that produced it is recorded.

2. Ownership

  • Typical evidence request: The owner field for each identity, the policy defining what an owner is accountable for, and the process for reassigning ownership when people leave.
  • Sample test: For a sample of identities, the auditor checks that the named owner is a current employee or contractor, and asks them what the identity does. The auditor then samples leavers from HR records and looks for identities they still own.
  • Common findings: Owners recorded as a team or distribution list only; owners who left the organisation months ago; owners who do not recognise the identity.
  • Acceptance criteria (our suggestion): Each identity has a named person as owner, with the owning team recorded as well. No sampled owner has left the organisation. Owners of sampled identities can state the purpose. See ownership and attribution.

3. Access reviews

  • Typical evidence request: The review schedule, the population reviewed in each cycle, and the review records with reviewer, decision and date for each identity.
  • Sample test: The auditor compares the review population with the inventory at the review date, then traces a sample of 'remove' decisions to the change that removed the access.
  • Common findings: Reviews that cover human accounts only; reviews approved in bulk with no per-identity decision; 'remove' decisions never actioned.
  • Acceptance criteria (our suggestion): The review population matches the inventory at that date. Each identity has a recorded decision by a named reviewer. Every 'remove' decision in the sample links to a completed change. See NHI access reviews.

4. Credential rotation and expiry

  • Typical evidence request: A report of credential age by identity (keys, secrets, certificates, passwords), the rotation standard by risk tier, and the exception register.
  • Sample test: The auditor selects credentials from the secrets store, the cloud key listing and the certificate inventory, and compares each credential's creation or last rotation date with your stated standard.
  • Common findings: Long-lived access keys well beyond the stated rotation period; rotation standards that exist on paper but are not measured; credentials found in code or configuration files outside the secrets store.
  • Acceptance criteria (our suggestion): Every sampled credential is within its rotation or expiry period, or has an approved, dated exception. Secret scanning results for the period show either no hard-coded credentials or a ticket for each finding. See credential rotation.

5. Privileged machine accounts

  • Typical evidence request: A list of non-human identities with administrative or broad permissions, the justification for each, and how their use is restricted and monitored.
  • Sample test: The auditor queries for identities holding administrator roles or wildcard permissions and compares the result with your privileged list. For a sample, the auditor checks whether the permissions match the documented purpose.
  • Common findings: Service accounts with owner or administrator roles 'for convenience'; privileged identities that are also usable for interactive login by people; no justification recorded.
  • Acceptance criteria (our suggestion): Every identity with administrative permissions is on the privileged list with a written justification and a named owner. Interactive use of system accounts is blocked or, where allowed, approved and attributable to an individual.

6. Offboarding and revocation

  • Typical evidence request: Records of identities removed during the period, with the trigger (workload retired, owner left, review decision), the date, and evidence that credentials were revoked.
  • Sample test: The auditor samples removed identities and retired workloads, then checks the authentication logs for any use after the removal date.
  • Common findings: Identity disabled but its keys or tokens still valid; workloads decommissioned with the service account left in place; no record linking the removal to its trigger.
  • Acceptance criteria (our suggestion): For each sampled removal, the credentials were revoked, and the logs show no successful authentication after the removal date. See NHI decommissioning.

7. Logging and monitoring

  • Typical evidence request: The logging configuration for authentication and permission changes by non-human identities, the retention setting, and examples of alerts raised and handled.
  • Sample test: The auditor picks a sampled identity and a date in the audit period, and asks you to show its authentication events for that date. The auditor also checks the retention setting against the period being audited.
  • Common findings: Logs that roll off before the audit period ends; events that record a shared account name, so actions cannot be attributed; no alerting on unusual machine identity behaviour.
  • Acceptance criteria (our suggestion): Authentication and permission-change events for sampled identities can be produced for any date in the period. Each event identifies the specific identity. Retention covers the full period. See NHI monitoring.

8. Third-party integrations

  • Typical evidence request: A list of external applications and suppliers holding credentials or OAuth grants into your environment, with scopes, owner and review date.
  • Sample test: The auditor extracts the OAuth application and connected-app listings from your main SaaS tenants and compares them with your third-party list, then checks scopes for a sample.
  • Common findings: Integrations authorised by individual users and never reviewed; broad scopes granted to tools no longer in use; suppliers absent from the supplier register.
  • Acceptance criteria (our suggestion): Every integration in the tenant extract is on the list with an owner, an approved scope and a review date within the period. Unused integrations are removed.

9. AI agents

  • Typical evidence request: A list of AI agents in scope, the identity or identities each uses, the credentials they hold, what each agent can reach, and the human accountable for it.
  • Sample test: The auditor selects an agent and asks you to show: which identity it authenticates as, which permissions that identity holds, which human approved its deployment, and how its access would be revoked.
  • Common findings: Agents running under a developer's personal credentials or a shared service account; no inventory of agents separate from applications; no tested way to revoke one agent's access without affecting others.
  • Acceptance criteria (our suggestion): Each agent has its own identity, recorded in the inventory with a named owner. Its actions can be attributed to that identity in logs. Revocation of a single agent has been tested and the test is recorded. See agent revocation.

Which frameworks ask for this

The table maps each area to the framework provisions that ask for something similar. This is our interpretation. None of these frameworks uses the term non-human identity, except that PCI DSS and NIST SP 800-53 name system or service accounts explicitly. "Not mapped" means we have not mapped a provision for that area, not that none applies or that the area is out of scope.

AreaPCI DSS v4.0.1ISO/IEC 27001:2022 Annex ASOC 2 TSCNIS2 Art. 21(2)DORA RTS 2024/1774NIST SP 800-53 Rev. 5
Inventory completeness7.2.5A.5.9, A.5.16CC6.1(i)Art. 20AC-2
Ownership7.2.5A.5.16CC6.2(i)Art. 20, Art. 21(e)(i)AC-2
Access reviews7.2.5.1A.5.18CC6.3(i)Art. 21(e)(iv)AC-2
Credential rotation and expiry8.6.3A.5.17CC6.1(j), where appropriateArt. 21(f)IA-5
Privileged machine accounts8.6.1A.8.2CC6.3(i)Art. 21(e)(ii)AC-2
Offboarding and revocationNot mappedA.5.18CC6.2, CC6.3(i)Art. 20, Art. 21(e)(iii)AC-2
Logging and monitoringNot mappedA.8.15, A.8.16Not mappedNot mappedNot mappedAC-2
Third-party integrationsNot mappedA.5.19CC6.1(d)Not mappedNot mapped
Hard-coded credentials8.6.2A.5.17CC6.1Not mappedNot mappedIA-5
AI agents7.2.5, 8.6.x if in scopeA.5.16, A.8.2CC6.1 to CC6.3(i)Art. 20AC-2, IA-5

What each source actually says, in short:

  • PCI DSS v4.0.1 (standard, mandatory for entities in scope of card brand programmes). Requirement 8.6.1 manages system and application accounts that can be used for interactive login, so that interactive use is prevented except in exceptional, approved, time-limited and attributable cases. 8.6.2 says passwords for those accounts are not hard coded in scripts, configuration files or custom source code. 8.6.3 says their passwords are changed periodically at a frequency set by targeted risk analysis, and on suspicion of compromise. Requirements 7.2.5 and 7.2.5.1 cover assigning and reviewing access for application and system accounts. All five were best practice until 31 March 2025 and are now in effect. See PCI DSS and NHI.
  • ISO/IEC 27001:2022 (standard, certifiable, voluntary). Relevant Annex A controls: A.5.15 Access control, A.5.16 Identity management, A.5.17 Authentication information, A.5.18 Access rights, A.8.2 Privileged access rights, A.8.5 Secure authentication, plus A.5.9 Inventory of information and other associated assets, A.5.19 Information security in supplier relationships, A.8.15 Logging and A.8.16 Monitoring activities. We give titles only. See ISO/IEC 27001 for machine identity.
  • SOC 2 (attestation framework, AICPA Trust Services Criteria). CC6.1 covers logical access security over protected information assets, CC6.2 registration and authorisation before credentials are issued, and CC6.3 authorising, changing and removing access. These are our summaries; the criteria are AICPA copyright.
  • NIS2 (law: EU Directive 2022/2555, applied through national transposing acts). Article 21(2)(i) lists "human resources security, access control policies and asset management"; 21(2)(j) lists multi-factor or continuous authentication solutions "where appropriate". See NIS2 and NHI.
  • DORA RTS (law: Commission Delegated Regulation (EU) 2024/1774, supplementing DORA for financial entities). Article 20 (Identity management) requires unique identification and authentication of natural persons and systems, a lifecycle process for identities and accounts, and records of identity assignments. Article 21 (Access control) requires least privilege, limiting generic and shared accounts to the extent possible, withdrawal of access rights without undue delay when no longer necessary, and review of access rights at least once a year, or at least every six months for ICT systems supporting critical or important functions. See DORA and NHI.
  • NIST SP 800-53 Rev. 5 (US federal control catalogue, voluntary outside federal systems). AC-2 Account Management names service and system accounts among account types and covers approval, monitoring, review and removal. IA-5 Authenticator Management covers protecting, changing and refreshing authenticators; its enhancement IA-5(7) addresses unencrypted static authenticators embedded in applications.

Standards are not law. Meeting ISO/IEC 27001 or receiving a clean SOC 2 report does not by itself show compliance with NIS2 or DORA. National competent authorities and financial supervisors decide what satisfies those laws. This page is not legal advice.

A 30-day readiness plan

This plan assumes an audit or attestation fieldwork date about six weeks away and an existing identity and access management function. It is our suggested sequence, not a framework requirement. It will not fix a control that should have operated across a past period; it makes what exists provable and puts gaps on record, each with an owner and a remediation date, before the auditor finds them. Never backdate approvals or reviews to cover the audit period: auditors check timestamps, and backdated evidence turns a control gap into an integrity problem.

DaysWorkOutputDone when
1 to 3Confirm scope with the auditor: systems, period, frameworks, whether AI agents and SaaS integrations are in scope.Written scope note agreed with the audit lead.The auditor has confirmed the population boundaries in writing.
4 to 8Extract identities from every in-scope source system. Reconcile against the existing inventory in both directions.Dated inventory export with the extraction method recorded.Every identity in the source extracts is in the inventory or a documented exclusion.
6 to 10Fill ownership gaps. Reassign identities owned by leavers. Record a named person and the owning team for each.Inventory with no blank or team-only owner fields; exception list for unresolved items.A cross-check against the HR leaver list returns no current owners who have left.
9 to 14Run the credential age report. Rotate or expire credentials outside standard. Run secret scanning across repositories and pipelines.Credential age report; rotation tickets; scan results with remediation tickets.Every credential is within standard or in the exception register with an approver and a date.
12 to 16Identify privileged non-human identities. Record justification. Block interactive login on system accounts where not needed.Privileged NHI list with justification; configuration evidence of interactive login controls.No identity with administrator rights is missing from the list.
15 to 20Run an access review covering non-human identities, with a recorded decision per identity. Action every removal.Review record with reviewer, decision and date per identity; change records for removals.Every 'remove' decision links to a closed change.
18 to 23Test revocation: pick three removed identities and one AI agent. Show credentials are revoked and logs show no later use.Revocation test record with log extracts.Each test shows no successful authentication after removal.
21 to 25Check log retention against the audit period. Pull sample events for named identities on random past dates.Retention configuration evidence; sample event extracts.Events can be produced for any date in the period.
24 to 28Review third-party integrations and OAuth grants in main SaaS tenants. Remove unused ones.Integration list with owner, scope and review date.The tenant extract matches the list.
27 to 30Assemble the evidence pack, mapped to the auditor's request list. Write a short note on known gaps and remediation dates.Indexed evidence folder; gap note signed by the control owner.Each request item has a file reference or a documented gap.

For the full set of artefacts by lifecycle stage, use the NHI evidence catalogue. Internal auditors planning their own testing can start from the internal auditor role page.

Frequently asked questions

What do auditors ask for first when testing non-human identities?

Usually a complete, dated list of service accounts, workload identities and other non-human identities in scope, with owners. They then reconcile it against a listing they extract themselves from the cloud provider, directory or cluster. Identities missing from your list are a finding before any sample is tested, so completeness is the first thing to fix.

Does PCI DSS v4.0.1 cover service accounts?

Yes, as application and system accounts. Requirements 8.6.1 to 8.6.3 cover interactive login on those accounts, hard-coded passwords and periodic password changes based on targeted risk analysis. Requirements 7.2.5 and 7.2.5.1 cover assigning and reviewing their access. These were best practice until 31 March 2025 and are now in effect.

How often must non-human identity access be reviewed?

Most frameworks leave the frequency to the organisation. DORA's RTS, Delegated Regulation (EU) 2024/1774 Article 21, is specific for financial entities: at least once a year, and at least every six months for ICT systems supporting critical or important functions. PCI DSS sets frequency through targeted risk analysis.

Are AI agents in scope for an access control audit?

If an agent authenticates to in-scope systems, its identity is part of the access population, whether or not the framework mentions AI. Auditors will ask which identity the agent uses, who owns it, what it can reach and how it is revoked. Agents running on personal or shared credentials are a common finding.

Can we fix non-human identity gaps just before a SOC 2 Type II audit?

Fixes help going forward but do not cover the earlier part of the period, because a Type II report tests operation across the whole period. Remediate, record the date the control started operating, and disclose known gaps with owners and dates. Never backdate reviews or approvals.

Sources

Monthly change log

Know when the NHI landscape changes.

One email a month from this reference: new deals, standards status changes and corrections. No sponsored content. Unsubscribe from any email.

We first email you a link to confirm. Privacy policy.