OpenCyber Academy
Bachelor's · Chapter 26 · English
Course code: OCA-102Chapter 26: OCA-102-C026

Chapter 26 — Identity and access management: methods II

Open, free learning for anyone who wants to protect people and technology. No account is required to read this text or its worked answers.

Permanent link

Public activity · 30d

—Participating browsers

—Page views

—Reading sessions

—Exercise opens

Counts reflect browsers that allowed analytics. A reading session requires 30 seconds on a visible page. Browsers are not people.

Learning outcomes

You will (1) measure leaver timeliness; (2) analyse delays; (3) improve the mover process.

26.1 Measuring leavers

With the HR-driven process designed, Elena first measures the old process to have a fair baseline. For each recent leaver she records the HR leaving date and the date their office suite account was disabled, then counts days between. Greenhill's target is disabling within one day. She uses the same definition for every leaver and notes any she cannot measure, such as a leaver whose date was changed after they left, so the baseline is honest and comparable with later results.

Lab — Leaver delays

"""Days from HR leaving date to account disable for synthetic leavers; count breaches of a one-day target (stdlib only)."""
import statistics as st
days = {"L01": 0, "L02": 3, "L03": 1, "L04": 14, "L05": 0, "L06": 2, "L07": 31, "L08": 1, "L09": 0, "L10": 6}
v = list(days.values())
print(f"leavers={len(v)} median_days={st.median(v)} max_days={max(v)} over_1_day={sum(d > 1 for d in v)}")
print("worst:", sorted(days, key=days.get, reverse=True)[:3])

Run with python3 lab_offboard.py. Verified output:

leavers=10 median_days=1.5 max_days=31 over_1_day=5
worst: ['L07', 'L04', 'L10']

26.2 Reading the delays

The synthetic baseline of ten leavers shows a median of 1.5 days, but a maximum of 31 days, and five of ten miss the one-day target. The worst cases, L07 at 31 days, L04 at 14 and L10 at 6, all left during holiday periods, when HR's email waited in an absent colleague's inbox. This confirms the weak point found in the model: email-based handover fails when people are away. Elena uses these cases to explain to managers why the evening HR comparison matters.

Five of ten missing the target shows that the median of 1.5 days hides a process that fails half the time.

26.3 Improving movers

The mover process currently adds access but never removes it. Elena designs a change: when HR records a team move, the person keeps old team groups for two weeks to finish handover, then the old groups are removed automatically, with a reminder to the old manager a few days before. Exceptions require the new manager's approval and an end date. This small change will gradually reduce the access build-up she found in long-serving staff, without disrupting handover work. HR confirms each move date before it takes effect.

Worked example

The baseline shows five of ten leavers over target with a 31-day maximum, all slow cases in holidays; movers keep old groups for two weeks before automatic removal.

Synthetic case. Leavers, delays and processes are synthetic.

Errors and limits

Reporting only the median leaver delay hides the long holiday delays that create real risk.

Exercises

  • EX076 — Leaver baseline. What does the lab baseline show?
    Show marking criteria
    Rubric: 3 = median 1.5 days, max 31, five of ten over target;; 2 = five over;; 1 = all fine;; 0 = none.
  • EX077 — Slow cause. What caused the slowest leaver delays?
    Show marking criteria
    Rubric: 3 = holiday periods, emails waiting in absent inbox;; 2 = holidays;; 1 = IT;; 0 = none.
  • EX078 — Mover grace. How long do movers keep old groups?
    Show marking criteria
    Rubric: 3 = two weeks, then automatic removal;; 2 = two weeks;; 1 = forever;; 0 = none.

Synthesis

A measured baseline explains delays and justifies automated leaver and mover methods.

Continue studying — chapter 26 of 40

← Chapter 25 (draft) · Course chapter index · Chapter 27 (draft) →

Practice the exercises

Open a prompt, write your response, then compare it with the worked answer. Five-choice practice appears where a reviewed question is available.

EX076

Opens in 30 days: — · browsers: —

Checking for a reviewed five-choice question…

EX077

Opens in 30 days: — · browsers: —

Checking for a reviewed five-choice question…

EX078

Opens in 30 days: — · browsers: —

Checking for a reviewed five-choice question…

Worked answers

EX076. Median 1.5 days, maximum 31 days, and five of ten over the one-day target.

EX077. Holiday periods, when HR's email waited in an absent colleague's inbox.

EX078. Two weeks, then old groups are removed automatically.