Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 4 min read

Identity Lifecycle Management: Designing Joiner-Mover-Leaver Controls

Plenty of teams have joiners and leavers mostly automated. HR creates a record, the directory builds an account, and termination disables it. The gap shows up in the middle, when someone changes roles and keeps everythin

Plenty of teams have joiners and leavers mostly automated. HR creates a record, the directory builds an account, and termination disables it. The gap shows up in the middle, when someone changes roles and keeps everything they had before.

This piece is adapted from a MeritSOLVβ„’ Research & Insights guide on identity lifecycle design. The scenario below is illustrative, not a client report.

Why access outlives the job

Access sticks around because employment changes aren't wired to ownership decisions. Hiring and exit usually fire a trigger. Internal transfers often don't, so nobody reviews what the person no longer needs.

A quick way to see it in your own environment: pick a few people who changed roles recently and compare their current access with what the new role actually requires. Any rights carried over from the old job are evidence of a missing mover trigger. For each one, write down three things:

  • which system should have sent the change
  • which application owner should have acted
  • where the approval should have been kept

The mover is usually the hardest case

Picture a company that automates account creation and termination. A project manager transfers to finance and still has administrator rights in an application from the old role. Hiring worked. Exit would have worked. The control failed at the role change.

So design lifecycle triggers around employment events and entitlements, with a named owner for every application.

Event Required authorization Exception to test
Joiner Role-based baseline + manager approval Excess initial privileges
Mover Remove old access and approve new Accumulated old-role access
Leaver Identity disable + app-level confirmation Shadow or local accounts
Contractor end Sponsor termination and access review Access beyond contract date

A simple mover diff

You don't need an IAM platform to start testing this. If you can export the role baseline and a user's current group memberships, a set difference tells you what to question. Here's an illustrative sketch with made-up group names:

# Illustrative only: compare a mover's current groups to the new role baseline
role_baseline = {
    "finance-analyst": {"erp-readonly", "finance-share", "expense-approver"},
}

user = {
    "id": "jdoe",
    "new_role": "finance-analyst",
    "groups": {"erp-readonly", "finance-share", "pm-tool-admin", "jira-project-admin"},
}

expected = role_baseline[user["new_role"]]
carried_over = user["groups"] - expected
missing = expected - user["groups"]

print("Review for removal:", sorted(carried_over))
print("Not yet granted:", sorted(missing))

Every item in carried_over either gets removed or goes into an exception register with an owner, a reason and an expiry date. That register is what an auditor will want to see later.

A few more things worth building in from the start:

  • Measure latency from the authoritative HR event to the confirmed application action. When you judge IT's performance, leave out any time the event wasn't available to IT yet.
  • Keep human, non-human and emergency accounts in separate populations.
  • Require evidence of manager approval for role changes, and keep an escalation channel for exceptions.

NIST SP 800-53's access control (AC) and identification and authentication (IA) families are a solid reference for tailoring this design.

Five steps to build it

1. Map the events. Hire, role change, approved leave, termination and contractor expiry, plus the systems that receive each trigger.

2. Identify the system of record and triggering authority. Know which source is authoritative and how its identifiers map to tenant users, local accounts, SaaS groups and non-human identities.

3. Document approvers, role definitions and evidence capture. Tie each entitlement to an approved role or sponsor and keep the sign-off, fulfillment timestamp and any exception evidence.

4. Design exception handling for urgent changes. Keep emergency privilege elevation separate from standard changes. Overrides need an expiry, monitoring and a review after the fact.

5. Test separation of duties and recertification. Run one mover case and one leaver case end to end, including any separation-of-duties conflicts and the periodic entitlement certification.

What done looks like

The output is a lifecycle workflow map, an approval matrix and a prioritized IAM gap register. Each one should show provenance, version, owner and open exceptions. If you sampled accounts, state the population, how you sampled and what the review didn't cover.

Here's an acceptance test I like. Ask someone outside the team to find the latest artifact, name its accountable owner, explain the top unresolved issue and say what the next authorized action is. If any of those answers depends on someone's memory, the handoff isn't finished.

The mistake that bites most often

Assuming that disabling an account in one directory removes all SaaS and local application access. It usually doesn't. Local accounts, app-specific logins and API tokens can outlive the directory account. Check the apps directly for leavers, at least for anything that holds sensitive data.

Checklist

  • [ ] Map onboarding, internal transfer, leave and departure events
  • [ ] Identify each system of record and triggering authority
  • [ ] Document approvers, role definitions and evidence capture
  • [ ] Design exception handling for urgent and nonstandard changes
  • [ ] Review separation of duties and periodic recertification checkpoints
  • [ ] Confirm who approves the final output and how corrections get handled
  • [ ] Archive the approved version and set the next review date

Lifecycle triggers won't catch everything. Periodic SaaS access reviews pick up what they miss, especially contractors and service identities.

Further reading

This is general operational information, not legal, audit or certification advice. Review the cited standards and apply your organization's requirements.

Originally published at meritsolv.com.

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.