Keycloak vs Zitadel for SOC 2 and ISO 27001 audits: which fits your scope?
Neither platform passes a SOC 2 or ISO 27001 audit on its own, because the auditor tests the organization and the systems that are in scope, including how the identity platform is configured, changed and reviewed. The choice decides which evidence you start with. Zitadel fits when you want its vendor reports in the evidence pack and an event store as your audit source. Keycloak fits when your team already runs it and can export, retain and review its user and admin event records, because that is the evidence an assessor will ask to see for sign-in and configuration changes.
This page covers only the compliance angle, and the general comparison of the two platforms sits on its own page. Three decisions shape the evidence each option gives you, starting with the scope of vendor reports. Zitadel's compliance page says it holds an independent SOC 2 Type II attestation and an ISO/IEC 27001:2022 certification, and that the reports, certificate and Statement of Applicability are requested through its trust center. The page gives no issue dates, so confirm the report period and whether the controls covered apply to the hosted service or to the self-hosted build you will operate. For Keycloak, ask the maintainers or your support provider what third-party reporting exists for the version you run, and plan to build the control evidence yourself.
The second decision is where audit records are exported and how long they are kept. Zitadel's audit trail is an append-only eventstore kept for an unlimited period, viewable in its console event viewer and through its Event API, and it can feed SOC and SIEM systems. Keycloak records user and admin events once you configure auditing as described in its server administration guide, so you must set the storage location, export path and retention period yourself and show that they worked across the audit period. The third is who operates the platform. Both support PostgreSQL 14 to 18 for production, and in a self-hosted deployment your team owns upgrades, admin access and log review, so name those owners before the assessor asks.
What SOC 2 and ISO 27001 ask of an identity platform
SOC 2 and ISO/IEC 27001 both test whether an organization runs its controls and keeps evidence for them. The four cards set out the SOC 2 scope and report types, the ISO/IEC 27001 control structure, who issues the result, and what an identity platform can contribute to an assessment.
SOC 2 scope and report types
SOC 2 examinations use the AICPA's 2017 Trust Services Criteria with the revised points of focus published in 2022. CC1 to CC9 apply to every SOC 2 report and cover security; the other four categories are added only when in scope. A Type 1 report tests control design as of a date. A Type 2 report adds operating effectiveness over a period, which is where sign-in reviews, access removals and admin changes must show they ran consistently. Ask each vendor which period its evidence covers.
Trust Services CriteriaAnnex A technological controls
ISO/IEC 27001:2022 is the third edition of the standard. Its normative Annex A lists 93 controls in four themes: organizational, people, physical and technological. The technological theme, clause 8, holds 34 controls, and access, authentication and logging controls sit there, so it is the theme an identity platform touches most directly. Check which Annex A controls the organization has selected in its Statement of Applicability, because platform settings only count once the organization has adopted and documented them.
Who issues the certificate
ISO does not certify organizations. Accredited certification bodies do, working to ISO/IEC 17021-1 together with ISO/IEC 27006-1:2024, and the International Accreditation Forum's MD 29:2024 required them to apply that version to all clients by 31 March 2026. A certificate runs on a three-year cycle, and the body must carry out at least one audit, either surveillance or recertification, in every calendar year. Plan evidence collection and access reviews around those audit windows, and confirm with the certification body which year each audit falls in.
Evidence for organization controls
Neither SOC 2 nor ISO/IEC 27001 certifies a product, so no identity tool is compliant on its own. An identity platform contributes evidence for controls the organization operates: who was granted access, which MFA policy applied and which admin changed a realm or organization setting. Keycloak's Server Administration Guide documents user and admin event auditing as the main evidence for sign-in and configuration changes, while Zitadel's audit trail is an append-only event store kept for an unlimited period. Confirm what each retains, for how long, and how you export it.
Zitadel audit trailHow Keycloak and Zitadel meet SOC 2 and ISO 27001 controls as documented
This table sets out what each platform documents against the identity-related controls that SOC 2 and ISO/IEC 27001 assessors commonly ask about. Read each row as the product's stated capability, then confirm the gaps in the product documentation and your own setup. The main takeaway: Zitadel documents an unlimited-retention event store and its own certifications, while Keycloak documents strong MFA and lockout options and leaves retention and attestations for you to verify.
| Requirement | Keycloak as documented | Zitadel as documented |
|---|---|---|
| Sign-in controls and MFA | Passkeys, recovery codes, TOTP/HOTP and WebAuthn, with OTP policy settings. | Confirm which second factors and MFA policies it supports in the product documentation. |
| Brute force protection | Temporary and permanent account lockout for repeated failed sign-ins. | Confirm lockout options and thresholds in the product documentation. |
| Audit of sign-ins and configuration changes | Configurable user event and admin event auditing for sign-ins and configuration changes. | Every change is stored as an event, viewable in the Console Event Viewer and through the Event API. |
| Audit retention and tamper resistance | Confirm event retention periods and tamper controls in your own storage and SIEM setup. | Append-only event store kept for an unlimited period, usable in SOC and SIEM systems. |
| Database and backup | Relational database required in production, including PostgreSQL 14 to 18. Backup and restore are yours to define and test. | Self-hosted on PostgreSQL 14 to 18. Backup and restore procedures are yours to define and test. |
| Patching and release cadence | Four minor releases a year since Keycloak 26.0, with opt-in breaking changes. | Current release v4.19.5, released October 15, 2026. Confirm its patch window with the vendor. |
| Vendor attestations | Confirm with your distributor or hosting provider which attestations, if any, cover the product. | Holds SOC 2 Type II attestation and ISO/IEC 27001:2022 certification. Reports are requested through Zitadel's trust portal. |
| Encryption and data location | Confirm TLS settings, encryption at rest and hosting location in your own deployment. | Confirm encryption and data location in the product documentation. Self-hosting keeps data in your infrastructure. |
How far Zitadel's attestations carry into your own audit
Zitadel's compliance page says it holds an independent SOC 2 Type II attestation and an ISO/IEC 27001:2022 certification, and that the reports, the certificate and the Statement of Applicability are requested through its trust portal. The page gives no issue dates, so treat it as a starting point and read the documents themselves. Before you cite either one, confirm four things with Zitadel in writing: whether the SOC 2 report scope covers the hosted service, the self-hosted software or both; the audit period the Type II report covers; whether the certificate's scope names the product and deployment model you will run; and whether the components your team deploys, such as the Console, hosted login and the Helm chart, sit inside that scope.
Read the Statement of Applicability to see which Annex A controls Zitadel marks as applicable and which it excludes, then check the identity-related ones against how you will configure the platform. The SOC 2 report covers the common criteria in CC6, which address logical access, so ask whether the auditor noted any exceptions in that area and how they were resolved. Zitadel documents an append-only eventstore kept for an unlimited period, viewable in the Console Event Viewer and through the Event API, and usable in SOC and SIEM systems. That retention is a capability you have to configure and export, so confirm that your settings produce the records your assessor will sample.
A vendor report describes Zitadel's own controls over its service or software. It does not show that your instance is configured correctly, that your administrators use multi-factor authentication, or that your access reviews happen, so you still need your own evidence for the systems you run: deployment configuration, admin roles, exported sign-in and configuration logs, and change records for upgrades. For Keycloak the position is different. As open-source software, Keycloak has no vendor report or certificate covering your instance, so your assessor will examine your own controls over the platform, supported by Keycloak's user and admin event logging. If you buy a commercial or managed distribution instead, request its own report or certificate, its scope statement and its audit period before you treat it as covering your deployment.
Evidence an assessor will ask for in a SOC 2 or ISO 27001 audit
Keycloak generates most of its sign-in and configuration evidence itself, so the work is turning those settings into dated exports that cover the whole audit period. Assessors usually sample events, then ask how the controls that protect accounts were configured and who could change them. The Keycloak Server Administration Guide documents the settings below.
- Event auditing configuration: Keep screenshots and exports showing that user events and admin events are enabled, with the date each setting was last changed.
- Event samples for the period: Export user and admin events across the full audit window and record the query used, so an assessor can repeat the sample.
- MFA and lockout policy exports: Record the enabled second factors (passkeys, recovery codes, TOTP or HOTP, WebAuthn), the OTP policy, and the brute force settings for temporary and permanent lockout.
- Admin role lists and access reviews: Keep the list of accounts holding admin roles, each review record with its approver, and the removals made after each review.
- Database backup, release and upgrade records: Keep backup records for the production database, plus release notes, upgrade plans and test results for each version. The project plans four minor releases a year, so these records accumulate quickly.
Before the audit, check that each export carries a date and an environment name, and that its period matches the period in your audit scope.
Zitadel's evidence divides between what Zitadel attests to for its hosted service and what your team keeps for a self-hosted instance. Its certifications and compliance page says it holds an independent SOC 2 Type II attestation and an ISO/IEC 27001:2022 certification, but it gives no issue dates, so confirm them directly with the vendor.
- Event Viewer and Event API exports: Export events for the audit period from the Console Event Viewer or through the Event API. Zitadel describes its audit trail as an append-only eventstore kept for an unlimited period, which makes sampling straightforward.
- Trust portal reports and certificate: Request the reports, the certificate and the Statement of Applicability through the trust portal. Check the scope boundary, the period each report covers and the certificate dates against the version and deployment you run.
- Self-hosted configuration and database backups: Keep your own configuration files and PostgreSQL backup records, since the instance and its database are yours to run. Zitadel supports PostgreSQL 14 through 18 for self-hosting, so record the database version with each backup.
- Upgrade records for the version in use: Document each upgrade and its test results for the Zitadel version you run. The current release is v4.19.5, released on October 15, 2026, so record whether your deployment is on that line or an earlier one, and why.
- Gaps the vendor report does not cover: A vendor report covers Zitadel's service and controls. Hosting, backups and admin access in your own environment need your own records.
Before relying on the reports, confirm that their periods and scope match your audit window, and ask your assessor how they will treat any gap between them.
Both platforms generate the same kinds of requests, because the assessor tests your system and how you operate it. A SOC 2 Type 1 report covers the system description and control design as of a date, while a Type 2 report adds operating effectiveness over a period, so the records below need dates that span your audit window.
- System description and scope statement: Describe the identity services, the users and applications they serve, the hosting boundary and the trust services categories in scope. Security is always in scope through common criteria CC1 to CC9, and the other four categories apply only when you include them.
- Access control and change policies: Provide written policies for who may change realms or instances, how configuration changes are approved, and how emergency changes are logged.
- Admin access list and review dates: Provide the current list of people with administrative access to the identity platform, the date of each review, and the approver who signed it off.
- Incident records and handling: Provide tickets for suspected account takeover, lockout spikes and admin misuse, showing how each was detected, handled and closed.
- SIEM retention settings: Provide the documented retention periods for identity events in your SIEM and the settings that enforce them. Platform event records show what was logged, but the retention set in your SIEM determines how long it stays available.
Before the audit, confirm which criteria the assessor maps each request to, and name an owner and a retention period for every record.
How audit records and vendor reports reach the assessor
The diagram starts with users and admins signing in to Keycloak or Zitadel. Keycloak records user and admin events when auditing is on. Zitadel keeps every change in an append-only event store, read in the Console Event Viewer and through the Event API. In both cases the records should flow to a log store or SIEM the organization runs, where retention is set. That store, policies, access reviews and change records form the evidence pack. Only Zitadel adds vendor reports from its trust portal. The pack goes to the assessor, a CPA firm for SOC 2 or an accredited certification body for ISO 27001. Confirm retention covers the sampling period.
Audit records and vendor reports converge in one evidence pack for the assessor.
Setting up the chosen platform for SOC 2 or ISO 27001 scope
This sequence turns the chosen platform into a configured, documented system that an assessor can test. Work runs in seven steps, from fixing the audit scope to proving that patches and access reviews happen on a schedule. Each step closes with an output you can hand to the auditor.
Fix the audit scope first
Agree the in-scope systems, the SOC 2 criteria categories and the Type 1 date or Type 2 period, or the ISO 27001 scope statement, before changing any configuration. The compliance lead and the platform owner sign off together, with the identity platform, its database, admin consoles and the applications it signs in listed by name. Security is covered by the common criteria CC1 to CC9 in every SOC 2 examination, and the other four categories only enter scope when you choose them. Done means a written scope document that you can show the auditor as the boundary for every later step.
Turn on the audit source
Enable event auditing in every realm in scope so that user events and admin events are recorded, and confirm the setting in the Keycloak Server Administration Guide for your release. For Zitadel, confirm that its append-only event store holds the change record and that the Event API is reachable from your SIEM. The platform owner does this with a named administrator account, a test sign-in and a test configuration change. Done means both test actions are visible in the destination system with timestamps and the acting administrator recorded.
Set retention and test a full export
Write down how long audit events are kept, where they are exported and who may read them, then run one complete export from the platform into the log store. Confirm with the vendor and check your own database how Keycloak purges stored events before you set a retention figure. Zitadel describes its event store as kept for an unlimited period, but the retention period in your SIEM remains your decision. The compliance lead approves the retention record and the platform owner runs the export. Done means the export file opens, its record count matches a query on the source, and the procedure is written as a runbook.
Configure sign-in controls and lockout
In Keycloak, set the OTP and WebAuthn policies, choose which second-factor methods users must use (passkeys, recovery codes and TOTP or HOTP are documented options), and enable brute force protection with temporary or permanent lockout. For Zitadel, set the login policy options its documentation confirms for your version, including allowed second factors and lockout behavior, and test each one. The identity owner tests with a standard user, an administrator and a deliberately locked account. Done means a control record naming each policy value and test evidence of a lockout, a second-factor prompt and a successful sign-in with the correct method.
Harden the database and hosting
Run the platform on a supported database version, PostgreSQL 14 to 18 for both Keycloak and self-hosted Zitadel, and record the version in the scope document. Ask the vendor to confirm in writing how backups, TLS for database connections and encryption at rest work in your chosen deployment, since these depend on your hosting. The infrastructure team applies the settings and restores a backup to a test database. Done means a completed restore test, a recorded backup schedule and a signed TLS and encryption statement from the security team.
Define admin roles and review access
Map each administrator role to the Keycloak realm roles and admin console permissions, or to the Zitadel instance and organization roles, and remove standing access that no one needs. Set the review interval in your own access policy and record the reviewer, the date and the outcome of each review. Record every change to realm or instance configuration in a change ticket that links to the matching admin event or event store entry, so the change and its approval can be traced. The identity lead owns the role map and the review schedule. Done means a role matrix, one completed access review and a change log that matches the audit events from the second step.
Set the patch and upgrade cadence
Set the patch and upgrade rule against the release cadence of the chosen platform. Keycloak plans four minor releases a year and makes breaking changes in minor releases opt-in, so build the calendar around that. Confirm Zitadel's current cadence and support window in writing before you commit to a rule. Test each release in a staging copy, then deploy it and keep the test record. Collect any vendor compliance reports you rely on and check their scope against your system boundary. Done means a dated patch calendar, a test record for the latest release and a note naming which in-scope systems each vendor report covers.
Questions buyers ask before hiring help for a SOC 2 or ISO 27001 audit
How much effort does SOC 2 or ISO 27001 audit preparation take?
The effort depends mostly on how many systems are in scope and how much evidence already exists. The main drivers are the number of systems in scope, including the identity platform, its database, its admin consoles and the hosts it runs on; whether a SIEM exists and how long logs are retained; how many realms or organizations the identity platform serves, since each one needs its own access evidence; how well admin access is already documented; and which audit type is in play. A SOC 2 Type 2 examination needs evidence across the whole audit period, while ISO 27001 needs a management system with a documented mapping to the Annex A controls. A team with documented admin roles, central logs and a named owner for each control will spend far less time than one rebuilding history from scratch. Ask any provider to size the work against a written list of systems and controls before agreeing a fee.
How long does SOC 2 or ISO 27001 audit preparation take?
The timeline depends on the written scope, and no fixed duration applies to every environment. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so the schedule follows the systems, controls and evidence named in that document. For a SOC 2 Type 2 report, part of the clock sits outside the implementation work: the auditor examines whether controls operated effectively over the audit period, so evidence has to be generated continuously for that window. Preparation can shorten the setup, but it cannot change the period itself. ISO 27001 certification follows the audit cycle and schedule set by the accredited certification body. Ask the CPA firm or certification body which audit period and windows they expect, and ask for each milestone to be tied to a named deliverable in the scope.
What does our team need to provide for audit preparation?
Your team supplies the access and the people that the evidence depends on. Expect to provide:
- Admin access to a test environment that mirrors the production identity platform, so changes can be reviewed and tested before they reach production.
- A named policy owner who approves access, multi-factor authentication and password policies and signs off on each one.
- Read access to the log store, including the identity platform's audit events and the retention settings of the SIEM or log platform.
- Change ticket history for the identity platform, showing who requested, approved and deployed each configuration change.
- Someone who answers auditor questions quickly and knows where each system's evidence is kept.
Confirm with the auditor which of these they will sample, because the list follows the audit scope and not a generic checklist.
Can our own team run a SOC 2 or ISO 27001 audit without a partner?
Yes, if your team has platform operations and governance skills, but the audit itself is never run by the implementer. A CPA firm performs a SOC 2 examination, and an accredited certification body performs ISO 27001 certification audits. DeployOpen prepares systems, controls and evidence for those assessments, and it does not issue audit reports, attestations or certifications. Internally, the work needs people who can configure and harden the identity platform, write and maintain policies, run access reviews and interpret logs, plus one owner for the control set over time. A team missing those skills should expect the gap to show during evidence collection, when auditors ask why a control was designed the way it was. Decide early which parts your team will own and write that split into the scope so nothing depends on assumption.
Does Zitadel's SOC 2 report mean our deployment is covered?
No. A vendor's report covers the scope its auditor tested, so you must check that scope before relying on it. Zitadel's compliance page states that it holds an independent SOC 2 Type II attestation and an ISO/IEC 27001:2022 certification, and that the reports, certificate and Statement of Applicability are requested through its trust portal. Confirm whether the report covers the self-hosted software you run or only the hosted service, and which controls it tested. Your own controls still need evidence regardless: who can administer the instance, how changes to the database and deployment configuration are approved, how the event store is backed up and retained, and how access reviews are performed. Ask the auditor which vendor documents they will accept and what they expect for the parts of the deployment your organization operates.
What do we pay for in SOC 2 or ISO 27001 work, and what recurs?
Four parties are paid for different parts of the work, and only some costs repeat. Expect to pay:
- DeployOpen, for the implementation scope agreed in writing, which covers planning, configuration, hardening, evidence preparation and documentation. Most engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as retainers.
- The CPA firm or certification body, for the audit itself. Fees depend on the audit type, the scope and the sampling the auditor applies.
- The platform, where it applies. Keycloak is licensed under Apache-2.0. Zitadel is licensed under AGPL-3.0 with a commercial license also offered, so confirm which terms fit your use.
- Your staff, for access reviews, patching, log review and answering auditors.
Patching, access reviews, log review and the next audit cycle recur. DeployOpen does not publish a price list, and a quote follows the written scope, so ask for systems, deliverables and retainer terms as separate lines.
How DeployOpen prepares SOC 2 and ISO 27001 evidence
DeployOpen scopes, builds and documents identity evidence for Keycloak vs Zitadel for SOC 2 and ISO 27001 audits inside your own infrastructure. We prepare the configuration, logging and access-control records an assessor will ask for, and we hand over documentation your auditor can review. We do not issue audit reports or certifications; independent auditors and certification bodies do.
How we scope
- The written scope names which platform, which deployment and which audit criteria are in play, agreed before work starts.
- Scope covers the identity flows in use: sign-in, MFA, admin console access and any brokered or federated logins.
- Fixed-scope engagements: deliverables and timelines are written down, and ongoing support is available as a retainer.
How we build
- Turn on Keycloak auditing for user and admin events, then decide where they are stored and who reads them.
- Set brute force lockout, two-factor methods (passkeys, recovery codes, TOTP or HOTP) and OTP policy against your access standard.
- For Zitadel, confirm the scope of the vendor's SOC 2 and ISO certificate before relying on it for your install.
How we hand over
- Written records of configuration, access control and logging, mapped to the criteria or controls in scope.
- Evidence samples an assessor can review, such as event logs, admin change records and MFA policy settings.
- A list of open items the client still owns, such as HR-driven access reviews and the audit itself.
How we support
- Retainers are available for ongoing support, upgrades and continuous testing after handover.
- Re-check evidence when a Keycloak or Zitadel upgrade changes settings or logging, since the audit period may span it.
- Ask us for a quote that names the audit scope, the criteria in play and who signs off each deliverable.

