Keycloak · Arazzo Workflow
Keycloak Apply a Realm Security Baseline
Version 1.0.0
Capture a realm's current settings, apply brute force protection and session hardening, and verify the result.
View Spec
View on GitHub
AuthenticationAuthorizationIdentity ManagementOpenID ConnectSecuritySSOArazzoWorkflows
Provider
Workflows
harden-realm
Apply and verify a security baseline on a Keycloak realm.
Snapshots the realm's current security settings, applies brute force protection, SSL enforcement, password policy, event logging, and session lifespan limits, then verifies the applied baseline.
1
captureCurrentBaseline
Snapshot the realm's current security settings before changing anything. This is the rollback record, and the before/after comparison that makes the change auditable.
2
applySecurityBaseline
Apply the baseline in a single realm update: brute force protection with a growing lockout, SSL enforcement, the password policy, admin and login event logging, and tightened token and session lifespans. Realm update is a full-representation PUT, so every intended control is named explicitly.
3
verifyBaseline
Read the realm back and assert the controls persisted. An update that returns 204 while silently dropping a field is the failure mode this step exists to catch.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.