← All PBQs

Chapter 5

Emma Woodhouse Handles a Hostile Offboarding

Emma Woodhouse, IAM Specialist at Highbury Networks, gets a 4:55 p.m. call from HR: a senior systems engineer named Frank Churchill is being terminated for cause, effective immediately. Frank has accounts in roughly forty systems — Highbury's on-prem Active Directory, two cloud tenants, the customer support tool, the source code repository, the secrets vault, and a dozen SaaS apps onboarded over the years through the company's identity provider.

Emma's nightmare: Highbury never finished cleaning up the IAM landscape after last year's acquisition, so some apps still use local accounts that were never wired into central sign-on. Frank also held a long-lived API token for the deployment pipeline and has SSH keys cached on at least two laptops.

Emma needs to revoke access cleanly, prevent Frank from re-authenticating with cached credentials, ensure none of his automation accounts continue running with his identity attached, and produce an audit-ready record for legal. She also wants to use this incident to push leadership toward closing the structural gaps — federation coverage, long-lived credential hygiene, and brokered, recorded admin access — before the next termination.

$ idp-admin account.export --user fchurchill --include-derived
  ran 16:56 by ewoodhouse@highbury  ticket: TERM-2099
──────────────────────────────────────────────────────────────
AD       fchurchill         federated      groups: eng-prod,
                                                  secrets-admin
SAML     salesforce         active         last_login=15:38
SAML     servicenow         active         last_login=15:12
SAML     github-enterprise  active         last_login=15:51
                                            sessions: 3 (browser, cached)
SAML     snowflake          active         last_login=11:02
LOCAL    legacy-billing     active         NOT federated
                                            (2023 acq, never migrated)
LOCAL    bug-tracker-19     active         NOT federated
LOCAL    timesheet-old      active         NOT federated
TOKEN    deploy-pipeline    issued 2023-03  no_expiry  scope: prod/*
SSH-KEY  ed25519 pubkey     present on 22 hosts (eng-prod cluster)
──────────────────────────────────────────────────────────────
10 rows.  Termination effective 17:00 today.  Hostile separation.

Use the export to step through Emma's offboarding playbook, then click Check answers.

Emma's first action — driven by the AD row — is to disable Frank's account at the , which acts as the single source of truth for every SAML row in the export. This single change effectively kills new sessions because each app trusts assertions issued by that source.

However, federated logout does not invalidate the flagged on the GitHub row (sessions: 3, browser, cached) — already issued and sitting client-side. To kill those, Emma triggers a global session/token revocation in the IdP and in the SaaS apps that support it.

The TOKEN deploy-pipeline row — no_expiry, scope: prod/* — requires an immediate . Going forward, Highbury should adopt so that no human-owned credential lives longer than the human's tenure.

The SSH-KEY row is handled by removing Frank's public key from on every host in the eng-prod cluster. Long-term, Emma will route all SSH access through a , which brokers session-by-session credentials and records keystrokes for high-privilege sessions.

The three LOCAL rows — not federated — must be disabled manually; this is a textbook failure of . To prevent recurrence, Emma will propose , the standard for automating account creation and removal across SaaS.

Finally, to give legal a defensible timeline of every revocation action, Emma exports the from the IdP, PAM, and source repo.