Skip to main content

Security & compliance

Keycloak Security Audit

Your auditor will ask how your identity system is configured, who can change it, and how you'd know if someone tried. We audit Keycloak against ISO 27001, SOC 2, NIST 800-63B, OWASP ASVS, and NIS2, so you have the answers, and the evidence, before they ask.

What we check

Keycloak rarely fails loudly. A misconfiguration usually returns success and waits. Every finding names the setting, why it matters, how to fix it, and the controls it maps to.

Authentication

Password policy, brute-force and lockout settings, MFA and passkey enforcement, flow structure, and recovery paths.

ISO 27001 A.5.17, A.8.5 · SOC 2 CC6.1 · NIST 800-63B · NIS2 Art. 21

Clients and tokens

PKCE, redirect URI wildcards, implicit and password grants, full-scope tokens, service accounts, client policies, and token and session lifetimes.

ISO 27001 A.8.5, A.8.24 · SOC 2 CC6.1, CC6.7 · OWASP ASVS OAuth and OIDC

Privileged access

Who can administer the master realm and each customer realm, admin role sprawl, and admin-cli exposure.

ISO 27001 A.5.15, A.5.18, A.8.2 · SOC 2 CC6.2, CC6.3

Federation

Identity provider trust settings, mapper behavior, account linking, and first-login flows.

ISO 27001 A.5.16, A.8.5 · SOC 2 CC6.1

Logging and monitoring

Login and admin events, what is stored and for how long, and whether events reach your SIEM.

ISO 27001 A.8.15, A.8.16 · SOC 2 CC7.2

Versions and extensions

Keycloak version and known CVEs, installed extensions, and your upgrade path.

ISO 27001 A.8.8, A.8.9 · SOC 2 CC7.1, CC8.1

Start with a scan. Go as deep as your audit needs.

A realm scan finds configuration problems. An audit-ready deployment also needs the infrastructure, the upgrade path, the logs, and the recovery plan reviewed together. That is the Deployment Audit, and it is part of Silver and Gold support.

Free Check

A quick pass over a realm export, run entirely in your browser.

Freeno account needed
  • Core rule set against one realm
  • Score and top findings on screen
  • Full findings report sent to your email
  • Your realm export never leaves your browser

The full realm check is on the way. The Client Checker covers client configuration today.

Automated Audit

The full rule suite, mapped to the controls your auditor asks about.

$399first scan
  • Up to 3 realms per scan
  • Every finding with severity and fix steps
  • Mapped to ISO 27001, SOC 2, NIST 800-63B, OWASP ASVS, and NIS2
  • Evidence checklist for your audit
  • $149 per rescan
  • $99 / month for monitoring: weekly rescans and alerts on drift and new CVEs

Included with Phase Two hosting.

Recommended

Reviewed Audit

The Automated Audit, read and prioritized by a Phase Two engineer.

$1,500one time
  • Everything in Automated Audit
  • 60–90 minute review session with a Phase Two engineer
  • Written, prioritized remediation plan
  • Credited toward a support engagement started within 60 days

Deployment Audit

A review of your whole Keycloak system, for teams preparing for an audit.

Includedwith Silver & Gold
  • Realms, clients, flows, federation, and extensions
  • Infrastructure, database, caching, network, and secrets
  • Logging and SIEM, backup and recovery, upgrade path
  • Control matrix and evidence pack for your auditor
  • Remediation guided or done for you, then a rescan
  • Help answering your auditor's questions

Part of a support engagement (three-month minimum).

Included with Phase Two hosting

Hosted customers get an automated Keycloak audit of their realms as part of their plan. Starter clusters get a simple version. We hold SOC 2 Type II and ISO 27001 for the platform underneath, so your auditor can rely on our reports for the infrastructure and use the audit for the configuration you own. Reports are available through our Trust Center.

An AI review is a good start. It will miss things.

Asking an AI assistant to look over your Keycloak configuration is a reasonable first pass. But Keycloak fails quietly. Mix ALTERNATIVE and REQUIRED executions at the same level of a flow and Keycloak drops the alternatives. Create executions through the Admin API and their order isn't the order you asked for. Every call returns 204, and a general-purpose model sees nothing wrong.

Our open-source Keycloak skills teach your agent these traps, and each one ships with a benchmark. Install them for more accurate Keycloak work, then run an audit to catch what was still missed.

Questions

Will an audit make us compliant?

No audit can do that, and we aren't your auditor. It makes you audit-ready: you know where your Keycloak configuration stands against the controls your auditor will test, what to fix first, and what evidence to collect.

Is the audit included with hosting?

Yes. Phase Two hosting includes an automated Keycloak audit of your realms. Starter clusters get a simple version. For the hosting infrastructure itself, your auditor can rely on our SOC 2 Type II report and ISO 27001 certificate in the Trust Center.

Why can't I buy the Deployment Audit on its own?

Because it covers your whole Keycloak system, not one realm export: infrastructure, upgrades, logging, recovery, and the remediation that follows. That work takes more than a single session, so it runs inside a Silver or Gold support engagement, which has a three-month minimum.

Does my realm export leave my browser?

Not for the Free Check, which runs entirely in your browser; we only email you the findings. The Automated Audit runs the full rule suite on our side, under the same SOC 2 and ISO 27001 controls that protect our hosted customers.

Which frameworks do you map findings to?

ISO 27001 Annex A, SOC 2 Trust Services Criteria, NIST SP 800-63B, OWASP ASVS, and NIS2 Article 21. If your auditor works from another framework, tell us and we'll map to it during a Reviewed or Deployment Audit.

Do you audit self-hosted Keycloak and Red Hat build of Keycloak?

Yes. The automated tiers work from a realm export of any recent Keycloak version, and the Deployment Audit covers self-hosted infrastructure as well as configuration.

Want to fix things before you scan? Start with Securing Keycloak in production.

Have an audit coming up?
Let's get you ready for it.