B2 Identity and access control

NCSC CAF principle B2 expects you to understand, document and manage access to systems that support essential functions, so users, devices, privileged accounts and automated functions are verified, authenticated and authorized. This page explains how assessors test it, what evidence passes and what meeting it costs.

On this page

What B2 identity and access control asks for in the NCSC CAF

Principle B2 expects you to understand, document and manage access to the systems that support your essential functions, so that every user and automated function is verified, authenticated and authorized before it gets in. For an organization preparing an assessment, that means being able to show a current picture of who and what can reach those systems, why, and through which controls. The principle breaks into four contributing outcomes. B2.a covers verifying, authenticating and authorizing access to the networks and information systems behind essential functions. B2.b covers device management, so the endpoints used to reach them are known and controlled. B2.c covers privileged user management, the accounts that can change the most. B2.d covers identity and access management as a whole, the lifecycle and tooling that keeps the other three working.

Assessors judge each contributing outcome as achieved, partially achieved or not achieved, using indicators of good practice (IGPs) to guide their expert judgement. The IGPs are a guide, not a checklist, so a control that exists on paper but cannot be shown to work will not carry the outcome on its own. The CAF is also not a certification scheme. Achieving a CAF profile must not be presented as NCSC certification or endorsement. Whether you run a self-assessment or an independent assessment, the controls remain yours to own. An implementation partner can prepare systems and evidence, but only the independent assessor reaches a judgement. Confirm with your regulator or customer whether they accept a self-assessment before you plan the work.

The hardest part is usually the inventory, not the technology. Start by listing every service account, scheduled job and API credential that can reach an essential-function system, and record an owner for each. Unknown service accounts are often the first gap an assessor finds. Legacy applications without single sign-on are the second. An identity provider such as authentik can front some of them through proxy providers and can delegate sign-in for applications that speak OAuth2, OpenID Connect or SAML, so confirm each application's supported protocol with its vendor first. Shared administrator accounts are the third. Replace them with named privileged accounts, and check whether your chosen platform can enforce a second factor for administrator logins. Keep a dated record of each gap you close so you can show it to an assessor.

Which identities, devices and systems B2 puts in scope

Scope is the first decision that sets the size of B2 work. Each boundary below changes how many identities, devices and access paths an assessor will expect you to explain, so settle them in writing before evidence collection starts. Together they cover everything that can sign in to, or be signed into from, systems supporting essential functions.

Systems supporting essential functions

Start with the network and information systems that support each essential function, then map the dependencies they rely on, such as directory services, DNS, backup consoles, logging pipelines and hypervisors. Any dependency that can grant or verify access is in scope for B2, even when no end user signs in to it directly. Scope grows with every dependency you add, so each one adds accounts, logs and tests to review. Document the dependency map with named owners so an assessor can trace each access path back to the function it protects.

NCSC Principle B2

Human users and external staff

Include employees, contractors and staff employed by other entities who hold accounts on in-scope systems. Each population needs its own sponsor, joiner and leaver trigger, because partner staff are often missed when internal HR events fire. Check how second factors are enforced for each group, since identity platforms such as authentik, Keycloak and Zitadel can require them but your policy decides who must register one. Ask for a report of every external account, its sponsor and its last review date before you define the boundary.

Automated functions and service accounts

Include scheduled jobs, CI pipelines, API clients, integration accounts and any agent tokens that act on in-scope systems. These identities often outnumber human accounts and are easy to overlook because they rarely sign in interactively. Every automated identity needs a named owner, a stated purpose and a credential rotation rule. Record where each secret is stored and who can read it, because an unowned service account that cannot be explained is usually the first finding an assessor raises.

Managed and unmanaged devices

Decide which devices may authenticate to systems supporting essential functions. Corporate-managed laptops and servers are the straightforward case, while personal devices, unmanaged browsers and contractor machines need an explicit rule. Device checks depend on an accurate inventory, so the effort is driven by how many device types you permit. A device inventory that matches enrolment records is the core evidence. Keep the conditional access rules that block or allow each device class with the inventory, so the boundary can be tested rather than described.

Privileged and administrative tooling

Include admin consoles, SSH bastions, cloud root and break-glass accounts, hypervisor management, database administration and directory administration tools such as Kerberos administration in FreeIPA. These carry the highest impact if misused and often sit outside the main identity provider. Every administrative path should be listed, not only the primary console, because one forgotten tool can undo the controls on the rest. Document who holds each privilege, how elevation is approved and where break-glass use is logged.

Third-party and supplier access

Include vendor remote support, managed service providers, software suppliers with vendor accounts and integration partners that connect with API keys. This access often bypasses the internal directory, so it is easy to leave out of the first scope draft. Every vendor access path needs a contract reference, an end date and session logs. Ask suppliers to confirm which accounts they hold and how they are removed when a contract ends. An assessor will test whether the boundary includes these paths, so the supplier list should match the access records exactly.

How an assessor tests B2.a to B2.d and where findings land

This table compares how an assessor tests each contributing outcome under principle B2, which evidence it asks for and where findings usually land. Read each row as a test plan: the assessor interviews staff, reviews configuration and samples records, then forms a judgment against indicators of good practice and expert judgment. The main takeaway is that joiner, mover and leaver records and privileged access approvals are where identity controls most often fail under testing.

Contributing outcomeHow an assessor tests itEvidence usually requestedWhere findings usually land
B2.a Identity verification, authentication and authorizationInterviews with identity and service owners, then configuration review of sign-in, MFA and role assignments for essential function systems.Authentication policy, MFA enrollment reports, identity provider settings exports, role-to-permission mappings and access review records.Shared or generic accounts, MFA gaps for remote or administrative access, and authorization decided without documented rules.
B2.b Device managementSample a set of managed devices and check they are enrolled, patched and restricted before they reach essential function systems.Device inventory, enrollment and compliance reports, conditional access rules, and records of unmanaged devices blocked or remediated.Inventories that miss personal or contractor devices, and access granted from devices that fail compliance checks.
B2.c Privileged user managementSample privileged accounts and trace each grant to a documented approval, then check that elevated sessions are logged and reviewed.Privileged account register, approval records, session or audit logs, and periodic recertification records for administrative roles.Standing admin rights with no expiry, privileged accounts used for routine tasks, and approvals recorded after access began.
B2.d Identity and access management (IdAM)Sample joiner, mover and leaver records against HR events and check that access was changed or removed on time.Joiner, mover and leaver tickets, directory exports showing disabled accounts, and signed access review outcomes.Leavers with active accounts, movers keeping old access, and access reviews that approve everything without challenge.

Every sign-in passes one identity provider before the application

It starts with a user, a managed device or an automated service trying to reach an application inside the essential function network, which is drawn as a trust boundary. Human sign-ins and service requests go to one central identity provider, which enforces multi-factor authentication and checks the device before it passes an authorization decision to the application. Privileged access takes a separate path: a request goes to an approval step, and only an approved grant reaches a privileged gateway. Sign-in events and approvals are written to an audit store. Reviewers should confirm that no route reaches the application without the identity provider or the approval step, and that the audit store records both paths.

Users, devices and services reach the application through one identity provider.

How to implement B2 identity and access control in sequence

This sequence takes a team from knowing which identities and devices reach systems that support essential functions to showing that access is verified, controlled and reviewed. Each step produces a record an assessor can inspect, so the organization can judge its own position against principle B2 and share evidence with an independent assessor where one is used.

  1. Inventory identities, systems and devices

    The organization owns this step, and its IT and security teams carry it out. List every human account, shared account, service account and automated function that can reach systems supporting essential functions, along with the directories, cloud tenants, remote access paths and endpoints that sign in to them. Assign each entry an owner and a purpose. The step closes with an identity inventory and a device register, which the owner of each system has confirmed in writing.

  2. Define roles and an access policy

    Write the access policy that the inventory will be measured against. Define a role catalogue that maps each role to the systems, data and privileges it needs, and state who approves a request, how access is granted and how it is withdrawn. Business owners and security leads agree the draft, and a named accountable executive approves it. The output is a role catalogue and an approved access policy, which later steps reference as the standard for every grant.

  3. Deploy or confirm the identity provider

    Choose one authoritative source for people and service identities, or confirm the one already in use. The platform team deploys or configures it inside the organization's own infrastructure, recording directory connections, user lifecycle settings and single sign-on options. Open-source candidates include authentik, which can act as an identity provider for applications over OpenID Connect, SAML and LDAP, FreeIPA for Linux and UNIX single sign-on, and Keycloak. Confirm the features you need with the vendor before you rely on them. The step closes with a configuration record that the security team has reviewed. authentik provider documentation

  4. Connect applications and retire shared accounts

    Move each application in the inventory onto the identity provider, starting with systems that hold essential data or provide administrative functions. Applications delegate sign-in using a protocol they support, such as OpenID Connect, SAML or LDAP, and the application owner records the method used. Any application that cannot delegate sign-in is listed with a compensating control and an agreed retirement plan. Once named accounts exist, shared and generic accounts are disabled or removed and their credentials are changed. The output is an integration register showing each system, its sign-in method and the status of every shared account.

  5. Enforce multi-factor authentication and device conditions

    Require a second factor for every person who signs in, and apply it to administrators first. Use the identity provider's login policies to set which factors are accepted, such as authenticator apps, security keys or passkeys, and confirm which options your chosen product supports. Keycloak and Zitadel both document configurable second-factor settings, and Zitadel offers a Force MFA option. Add device conditions so that only managed endpoints meeting your baseline can reach sensitive systems. The output is a configuration record of login and MFA policies, plus a test showing that a sign-in without a second factor is refused.

  6. Separate and log privileged access

    Give administrators separate privileged accounts that are used only for administrative work, and keep ordinary accounts for email and everyday tasks. Grant privileges through roles from the catalogue, limit elevation where the platform supports time-bound access, and send sign-ins and privilege changes to an audit log that administrators cannot edit. The step is done when a test privileged change appears in the log with its approver recorded. The outputs are a register of privileged accounts and a sample of the audit log showing that test change.

  7. Run access reviews and leaver removal

    Set a recurring access review in which each system owner confirms every account and role against the role catalogue, removes what is no longer needed and records the decision. Connect leaver removal to the HR joiners, movers and leavers process so that departing staff and contractors lose access promptly. The step closes with a signed review record for each system and a leaver removal log that matches HR records. An assessor will ask to see both, so keep them in the same location as the inventory and policy.

Which evidence satisfies B2 and how to keep it current

B2 is judged on whether access works in practice, so assessors compare what you state with what the systems show. The six records below are the ones that most often carry that comparison, each with what it proves, the refresh interval to agree with your assessor, and who produces it. Schedule exports and tie each one to change records, because assessors will test the evidence against the live configuration.

Access control policy and role catalogue

The policy sets who may be granted access to systems that support essential functions, and the role catalogue lists what each role can reach in each system. Together they show the access model is defined and documented before any technical control is tested. Every role in the catalogue must trace to a configured group or policy. The organization owns and approves both documents, with input from system owners. Refresh the catalogue on every role change and record the approval date and version.

Identity inventory and review sign-offs

The inventory export lists every human, service and automated account with its owner, status, last sign-in and assigned roles. Each periodic access review is signed by the system owner against that export, which shows decisions were made on current data. Dormant, shared and unowned service accounts are the usual findings. Attach each export to its review record so the sign-off and the data match. The identity team produces the export, and system owners sign.

Authentication and MFA configuration records

Exported settings show which factors apply to which users, including password, recovery and session rules. They prove the authentication controls B2.a expects are in place, and they reveal drift between the documented policy and the running system. Look for local accounts, legacy protocols and break-glass accounts that bypass MFA, and record each exception with an owner and reason. Export the settings after every change ticket that touches the identity provider. The identity team produces them and security reviews them.

Keycloak admin guide

Privileged access request and approval records

Each elevation record names the requester, the approver, the system and role granted, and the start and end times. It shows privileged users are controlled and their use can be traced under B2.c. The approver and requester must be different people. Check that time-bound grants actually expired, and link each record to the session or audit trail that shows what was done. The request workflow or ticketing system produces these, and security confirms them each period.

Device management records

The device inventory lists each managed endpoint allowed to reach systems that support essential functions, with its compliance state, enrollment date and retirement date. It supports B2.b, which covers how devices are managed before they gain access. Compare the device export with the identity provider's record of device-linked sessions to find devices that reach systems without enrollment. The endpoint management team produces the export, and it should be scheduled and tied to device change records.

Joiner, mover and leaver logs

These are timestamped records of each account created, each role changed and each account removed, with the request or HR event that triggered it. They show that access changes follow each joiner, mover and leaver event, which is the lifecycle control B2.d covers. Leaver removals must fall within the timeframe your own policy sets. Confirm each log entry links to its HR or ticket trigger. The identity team produces the logs from provisioning tooling, and HR or service desk owners confirm the trigger events.

What B2 identity and access control costs to meet

This table compares the cost components of meeting principle B2, showing who is paid for each, whether it is one-time or recurring, and what moves it. Open-source identity platforms such as authentik, Keycloak, FreeIPA and Zitadel can remove license spend for the tool itself, but integration, operation and review labor remain. Ask for a written quote that separates each component, because CAF is outcomes-based and does not prescribe how much effort any one component needs.

ComponentOne-time or recurringWhat drives it up or downHow to keep it down
Tooling or licensesRecurring if commercial. Open-source platforms carry no license fee for the software itself.User count, number of identity sources, and vendor support tiersCompare self-hosted open-source options with any support contract quoted separately
Engineering time to integrate applicationsOne-time for each application, plus later change workNumber of applications, protocols in use (OIDC, SAML, LDAP, RADIUS) and custom sign-in flowsStandardize on fewer protocols and reuse one provider pattern across applications
Device management effortMostly recurringDevice count, enrollment method, and the number of device types that need trust checksDefine device trust rules once and apply them through existing device management
Privileged access toolingOne-time setup, then recurring operationNumber of administrator roles, session recording needs, and approval stepsLimit standing administrator accounts and require strong second factors for privileged users
Access review effortRecurring, each review cycleNumber of systems in scope, joiner and mover volume, and how entitlements are namedGenerate review reports from the identity provider and assign a named owner per system
Evidence upkeepRecurringAssessment frequency, number of systems in scope, and log retention periodsExport configuration and access logs on a fixed schedule into one indexed evidence store
External testing or reviewRecurring or per engagementScope size, number of identity flows tested, and whether retesting is neededAgree scope and deliverables in writing before work starts, and retest only changed flows
Assessor sampling timeRecurring, each assessment cycleNumber of samples the assessor selects and how quickly evidence can be locatedIndex evidence by control and user so samples can be produced without rework

Which self-hosted identity platforms can produce B2 evidence

authentik is an identity provider that your applications send users to for sign-in, so the access decision for each application sits in one place. Its provider types cover OAuth2 and OpenID Connect, SAML, LDAP, RADIUS and proxy providers, which lets modern and legacy applications delegate authentication to it. For B2, the configuration itself becomes part of the record of who can verify and authorize access.

  • Protocol coverage: OAuth2, OpenID Connect, SAML, LDAP, RADIUS and proxy providers let applications delegate sign-in and keep no separate user stores to manage.
  • B2.a evidence: Exported provider and application bindings show which applications verify users, which authentication flows apply and which groups are authorized to reach each one.
  • B2.d evidence: Event logs of sign-ins, failed attempts and changes to users and groups support lifecycle reviews. Confirm the log fields, export options and retention in your version.
  • Second factor: Authentication flows can include multi-factor stages. Confirm which second-factor methods and enforcement options your version offers before you describe them to an assessor.
  • License caveat: authentik is MIT licensed. Its main obligation is to keep the copyright and license notice with copies of the software, and it does not require you to publish your modifications. Have counsel check the license of any add-on you bundle.

Confirm each capability against the authentik version you deploy, since flow stages and log options can change between releases.

What buyers ask before bringing in help on B2

How long does B2 work usually take, and what drives it?

Effort depends mostly on how many systems supporting essential functions fall in scope and how fragmented their sign-in and admin paths are today. The work splits into a one-time phase (inventory of accounts and access paths, identity flow design, MFA rollout, separation of privileged access) and a recurring phase (access reviews, joiner, mover and leaver checks, evidence refresh). The biggest drivers are legacy applications that cannot delegate sign-in to a central identity provider, shared accounts, unmanaged devices and systems without a named owner. A timeline should not be accepted without a list of systems behind it. Ask any provider for a written schedule tied to that list, with the one-time and recurring effort shown separately so you can plan budget for both.

Can our own team complete B2 without an outside partner?

Yes, an internal team can work through B2 without outside help if it has identity engineering skills and time to build an evidence trail. B2 is outcomes-based, so the organization owns its judgement on what good access control looks like, and the NCSC judges each contributing outcome as achieved, partially achieved or not achieved. The skills that matter most are directory administration, single sign-on and MFA configuration, privileged access design, device management and evidence gathering. Teams usually ask for help in three places: building a complete access inventory, testing whether controls hold under challenge, and preparing evidence for an independent assessor. DeployOpen plans, implements and hardens self-hosted identity platforms inside your infrastructure and prepares evidence, but it does not issue assessments or certificates.

What does B2 need from our internal owners and approvers?

B2 needs named people, decisions and admin access from across the organization, beyond the security team's time. Each system supporting an essential function needs a named owner who confirms its user population and access rules. Approvers must sign off privileged roles, emergency access and exceptions, and they must be able to decline requests. Implementation staff need administrative access to directories, identity providers, device management and logging, ideally scoped to least privilege and time-limited. HR or whoever runs joiner, mover and leaver processes must supply authoritative data. An operations lead should review the access inventory before design starts, because most gaps appear where ownership is unclear:

  • Named system and identity source owners
  • Approvers for privileged roles and exceptions
  • Scoped admin access to directories, identity providers, devices and logs
  • HR contact for joiner, mover and leaver data
  • Operations lead to review the access inventory before design
Does the CAF give us a certificate for principle B2?

No. The NCSC states that the CAF is not a certification scheme, and it does not issue certificates for B2 or any other principle. A B2 result is a judgement against contributing outcomes B2.a to B2.d, each marked achieved, partially achieved or not achieved, using indicators of good practice as a guide to expert judgement. That result must never be described as NCSC certification or endorsement. If a customer or contract asks for a certificate, ask them which scheme they mean, because the answer determines the evidence and the assessor you need. The NCSC has no regulatory responsibilities, so organizations under cyber regulation should ask their regulator whether and how the CAF meets its requirements. Read the NCSC introduction to confirm how assessment results are meant to be used.

Should we self-assess or pay for an independent B2 assessment?

A self-assessment fits internal improvement and early readiness, while an independent assessment fits any case where a regulator, customer or contract expects a neutral view. The deciding drivers are who will read the result, whether your regulator accepts a self-assessment for this purpose, how much assessor skill your team has in-house, and whether your evidence will hold up under challenge from a third party. A self-assessment stays rigorous if the team documents its reasoning for each outcome, keeps the access inventory current and records the gaps it plans to fix. For an independent route, check that the firm is assured under the NCSC Cyber Resilience Audit scheme, and ask the assessor how they will test B2.a to B2.d and which evidence they will sample. Confirm the required route with your regulator or contract owner before you buy.

What should a fixed-scope quote for B2 work include?

A fixed-scope quote should state what is covered, what is excluded and what you must provide. It should list the systems and identity sources in scope, the contributing outcomes covered (B2.a to B2.d), the identity platform components and MFA options to be configured, and the deliverables, such as configuration, MFA enforcement, privileged access design, runbooks and an evidence pack. It should also include a milestone schedule, the client dependencies (owners, approvers and admin access), a retest step and handover. Ongoing support, upgrades and continuous testing are separate retainers and should be priced apart. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and its quote follows from that written scope. Ask every provider to show the same structure so the quotes can be compared line by line.

Who owns B2 identity and access control, and who the auditor is

Your organization owns principle B2 in full. Decisions about who may access essential-function systems, how devices are managed and how administrative accounts are controlled sit with your team, as do the approvals that grant, change and remove access. Your team also holds the conversation with your regulator about whether and how the CAF principle B2 applies to your obligations. Self-assessment is allowed under the CAF, and your team can run one, but a self-assessment is not an independent assessment and should not be presented as one.

  • Access policy and decisions: Define who may access essential-function systems, under what conditions, and who approves exceptions.
  • Privileged user oversight: Set the rules for administrative accounts, including who holds them, how often they are reviewed and when they expire.
  • Regulatory interpretation: Ask your regulator whether and how to use the CAF to meet its requirements, because the NCSC has no regulatory responsibilities of its own.
  • Evidence ownership: Sign off on access reviews, device registers and joiner, mover and leaver records, and keep them current between assessments.

Check that a named person inside your organization owns each B2 outcome and can answer an assessor's questions about it without relying on the partner to speak for them.

How DeployOpen scopes and prepares B2 evidence

DeployOpen helps organizations prepare evidence for CAF principle B2, which asks whether users, devices and automated functions that reach essential systems are verified, authenticated and authorized. We plan and build the identity and access setup inside your own infrastructure, then document how it maps to each B2 contributing outcome. Assessment judgements stay with the organization or an independent assessor, and DeployOpen does not issue them.

How we scope

  • We agree in writing which systems supporting essential functions fall under B2, including identity providers, directories and admin consoles.
  • We map the scope to outcomes B2.a to B2.d, with a named owner and evidence source for each.
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we build

  • We deploy self-hosted identity components such as authentik, Keycloak, Zitadel or FreeIPA, chosen against the written scope.
  • We configure single sign-on, MFA, privileged account controls and device enrollment, with each setting recorded.
  • We test the build against each contributing outcome, then retest after fixes, and report the results.

How we hand over

  • We document access policies, role models, MFA settings and privileged account procedures in a handover pack for your assessor.
  • We configure sign-in and admin logging so your team can pull records that show the controls operating.
  • Your team owns the controls, and we confirm with you which evidence the assessor will need.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so B2 settings keep pace with platform changes.
  • Retainer scope is agreed in writing, so you can see which B2 checks recur and who runs them.
  • Confirm with your regulator or customer which assessment route and assessor they accept before work is scoped.

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.