Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Free lesson

Risk registers and risk appetite

After this lesson: I can score risks in a register and find those above the risk appetite.

65 min lesson5 commandsJupyterLab data science lab: pandas, Matplotlib and scikit-learn in the browser

A quick check that you are not a bot, then your own lab opens on the interactive lesson.

Already have an account? Sign in

Eight worries, one list

Lantern Print's directors worry about ransomware, phishing, a lost USB stick and the till. Each worry lives in a different head.

A risk register puts them in one list, scored the same way, each with a name beside it.

By the end of this lesson

Note

I can score risks in a register and find those above the risk appetite.

Key words

WordWhat it means
Risk registera list of risks with scores, owners and actions
Likelihoodhow probable the harm is, from 1 to 5
Impacthow bad the harm would be, from 1 to 5
Residual riskthe risk left after controls
Risk appetitehow much risk the leaders accept
Risk ownerthe person who answers for one risk

The cells students fill in are left blank in this preview.

Starter

Have a go

Starter

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

A score is likelihood times impact

Each risk gets a likelihood and an impact from 1 to 5. Multiplied, they give a score from 1 to 25. The score before controls is the inherent risk.

Controls usually cut the likelihood. The score after them is the residual risk. The scale is a shared habit, not a measurement, so two people must score the same way.

Try it: inherent and residual

Code: python
likelihood = 3
impact = 5
cut = 1
print("inherent", likelihood * impact)
print("residual", max(1, likelihood - cut) * impact)
# Offline backups cut the likelihood by 2. Set cut = 2 and run again.

Make a free account to save your work and track your progress.

Check

Have a go

Check

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Four ways to treat a risk

TreatmentMeaningLantern Print example
ReduceAdd controlsOffline backups against ransomware
TransferPass part of it onA card provider handles card data
AcceptLive with it, on purposeA defaced website costs little
AvoidStop the activityNo more customer files on USB sticks

The cells students fill in are left blank in this preview.

Lantern Print's register

riskdata.py holds eight risks and an appetite of 9: a residual score above 9 needs action or a director's decision. register.py sorts the risks, gives each a band and draws a heat map.

Run it as it is for inherent risk, then with residual.

Write the risk register

Command
docker exec jupyter sh -c "mkdir -p steps && printf '%s\n' 'risks = [' '    (\"R1\", \"Phishing steals a mailbox\", \"Office manager\", 4, 3, 2, \"reduce\"),' '    (\"R2\", \"An old laptop is attacked\", \"IT lead\", 3, 4, 2, \"reduce\"),' '    (\"R3\", \"Ransomware stops the presses\", \"Director\", 3, 5, 1, \"reduce\"),' '    (\"R4\", \"A supplier leaks customer files\", \"Director\", 2, 4, 0, \"transfer\"),' '    (\"R5\", \"The server is stolen\", \"Office manager\", 1, 4, 0, \"accept\"),' '    (\"R6\", \"A USB stick of artwork is lost\", \"\", 3, 3, 1, \"reduce\"),' '    (\"R7\", \"The website is defaced\", \"IT lead\", 2, 2, 0, \"accept\"),' '    (\"R8\", \"Card data leaks from the till\", \"\", 2, 5, 1, \"transfer\"),' ']' '' 'APPETITE = 9' > steps/riskdata.py"

Shown here, not run. Press Start lab to type it into your own lab’s terminal.

Write the register report, part 1

Command
docker exec jupyter sh -c "mkdir -p steps && printf '%s\n' 'import sys' 'from riskdata import APPETITE, risks' '' '' 'def band(score):' '    if score >= 15:' '        return \"critical\"' '    if score >= 10:' '        return \"high\"' '    if score >= 5:' '        return \"medium\"' '    return \"low\"' '' '' 'after = \"residual\" in sys.argv' 'rows = []' 'for rid, title, owner, likely, impact, cut, treatment in risks:' '    if after:' '        likely = max(1, likely - cut)' '    rows.append((likely * impact, rid, likely, impact, title, owner, treatment))' 'rows.sort(key=lambda r: (-r[0], r[1]))' 'print(\"residual risk\" if after else \"inherent risk\", \"(likelihood x impact)\")' 'for score, rid, likely, impact, title, owner, treatment in rows:' '    who = owner or \"NO OWNER\"' '    print(f\"{rid} {score:>2} {band(score):<8} {title:<32} {treatment:<8} {who}\")' 'print(\"heat map, likelihood 5 at the top, impact 1 to 5 across:\")' 'for likely in range(5, 0, -1):' > steps/register.py"

Shown here, not run. Press Start lab to type it into your own lab’s terminal.

Write the register report, part 2

Command
docker exec jupyter sh -c "printf '%s\n' '    cells = []' '    for impact in range(1, 6):' '        n = sum(1 for r in rows if r[2] == likely and r[3] == impact)' '        cells.append(str(n) if n else \".\")' '    print(f\"  {likely} | \" + \" \".join(cells))' 'over = [r[1] for r in rows if r[0] > APPETITE]' 'print(f\"above the appetite of {APPETITE}:\", \" \".join(over) or \"none\")' >> steps/register.py"

Shown here, not run. Press Start lab to type it into your own lab’s terminal.

Report inherent risk

Command
docker exec jupyter python3 steps/register.py

Shown here, not run. Press Start lab to type it into your own lab’s terminal.

Report residual risk

Command
docker exec jupyter python3 steps/register.py residual

Shown here, not run. Press Start lab to type it into your own lab’s terminal.

Check

Have a go

Check

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

A common mistake

Warning

Many people think a risk with no owner is still managed because it is on the list. A risk nobody answers for gets no decision and no budget. R6 and R8 need a name before the register is finished.

The register asks for decisions

R3, ransomware, is still 10 after the controls. The directors must cut it further, with offline restores tested, or accept it in writing.

A register is read at every board meeting. Scores change as controls land, and new risks are added.

Assignment: score the register

score(likelihood, impact) multiplies two values from 1 to 5 and raises ValueError outside that. band(points) returns "low", "medium", "high" or "critical" by the lesson's bands. residual(likelihood, impact, cut) cuts the likelihood, never below 1. over_appetite(register, appetite) returns the ids whose residual score is above the appetite, sorted.

Code: python
def score(likelihood, impact):
    # Both are 1 to 5. Raise ValueError outside that. The score is likelihood times impact.
    return 0


def band(points):
    # 1 to 4 "low", 5 to 9 "medium", 10 to 14 "high", 15 to 25 "critical".
    return ""


def residual(likelihood, impact, cut):
    # Controls cut the likelihood by cut, but never below 1. Return the new score.
    return 0


def over_appetite(register, appetite):
    # register is a list of (id, likelihood, impact, cut). The ids whose residual score is
    # above the appetite, sorted.
    return []

Make a free account to save your work and track your progress.

Exit quiz

Have a go

Exit quiz

5 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.