Employee Offboarding
Zero standing access within 1 hour of termination
Employee offboarding from a security perspective isn't just "disable the account." It's revoke every SSO session, invalidate every long-lived credential the person created, remove them from every access group, wipe the device, transfer file ownership, revoke API keys they generated, drop them from every shared secret vault, review their code contributions for embedded secrets, and audit their activity in the last 30 days for anything unusual. Miss any of these and either data walks out the door or an ex-employee retains access for weeks.
An hour-by-hour walkthrough.
Step by step.
- 01
Pre-offboarding inventory + anomaly check
Inventory of every access surface, credential, and ownership relationship at T-30. Anomaly detection: unusual activity in the last 30 days (downloads, code exports, credential creation, unusual hour access).
Okta · GitHub · AWS · Google Vault · Anomaly detection - 02
Stage the offboarding plan for the effective time
Plan queued for the exact effective time (usually end-of-day or as-specified by HR). Actions in sequence: SSO first (blast radius contained), then per-system removals, then device wipe, then ownership transfer.
Scheduler · Runbook · Coordination engine - 03
Execute at T-0 in coordinated sequence
Okta suspend cascades most SSO apps in seconds. Direct writes for non-SSO systems (GitHub, AWS IAM, third-party APIs). Every action confirmed; failures retry then escalate.
Okta · GitHub · AWS · Third-party APIs · MDM - 04
Handle credentials + shared secrets
Every API key John personally created: rotated or revoked. Personal access tokens: revoked. Shared vault entries he could access: rotated. Code scan for hardcoded secrets that survive after departure.
Vault · HashiCorp · Secret scanning · Credential registry - 05
Ownership transfer + audit record
Files, projects, Slack channels transferred to designated successor (from HR form). Full audit record: what was revoked, what was transferred, timestamps, confirmations. Handoff to security for anomaly review.
Google Drive · Notion · Slack · Audit log · Successor registry
What you connect to make this run.
Workday · BambooHR · HRIS
readTermination event trigger. Effective time (exact minute), manager designation of successor for ownership transfer, termination reason (affects security-review depth for high-risk terminations).
Okta · Google Workspace · Microsoft Entra
read+writeIdentity plane suspension cascades SSO removal to most apps. Session revocation active-first (kicks user out immediately) then account suspension.
GitHub · AWS · GCP · Azure · Third-party APIs
read+writeSystems without SSO integration require direct API removal. Per-system runbooks maintained. Credentials rotated where the departing employee could have exported.
MDM · Endpoint management
writeDevice wipe queued at T-0, executes on next device check-in. Personal data preserved only if BYOD; corporate devices fully wiped per policy.
Before and after, honestly.
Playbooks that pair with this one.
Answers about this playbook.
What about high-risk terminations (fired for cause)?
High-risk flag from HR triggers accelerated timeline (immediate revocation, not effective-time-scheduled), deeper anomaly review, and preservation-hold on all their data pending legal review.
How does it handle voluntary departures where the employee needs access to wrap up?
Configurable wind-down period per policy. Employee retains scoped access (read-only, no export) for a defined window. All actions logged in a separate audit view.
What about ownership of code contributions after departure?
Code stays; author history preserved. Repository access removed. Any personal forks of company repos detached (either transferred to successor or removed per policy).
What about ex-employees returning as contractors or rehires?
Return event triggers new-provisioning flow with the audit history intact. Prior access removed on original departure stays removed; new access granted per current role.
How does it handle service accounts the person owned?
Service accounts owned by the departing employee flag for ownership transfer. If no successor, escalates to security lead for reassignment. Rotation of any credentials the person had access to.
See it run on your data.
Free plan, no credit card. Connect the systems this playbook needs and run it against a past event first.