This runbook is for SaaS teams that hold personal information about Quebec residents and must respond to a suspected leak under Law 25. Law 25 is the Quebec law that modernized the province’s privacy rules. When a confidentiality incident presents a risk of serious injury, it requires you to promptly notify the people concerned and the Commission d’accès à l’information (CAI), Quebec’s privacy regulator. A confidentiality incident is any unauthorized access, use or disclosure of personal information, or its loss.
The hard part is timing. The clock starts when you have reason to believe there is a risk of serious injury, not when you have confirmed it. A team that waits for a full root cause can lose a day before anyone calls the privacy officer, the person accountable for personal information in your company. The law says “promptly” rather than giving a number of hours, and we work to a 72-hour ceiling. It splits into three 24-hour blocks: contain and scope, assess the impact with your privacy officer, then prepare and send any required notifications. The incident register stays up to date the whole time, even if no notification is needed.
This playbook covers the operational side. It is not legal advice. Law 25 thresholds, individual notification triggers, and CAI engagement are determinations your privacy officer or counsel makes. Stack Harbor operates the infrastructure side of the response.
What’s happening
Article 63.5 of the Act respecting the protection of personal information in the private sector was modernized by Law 25. It requires an enterprise that operates in Quebec, upon having reason to believe that a confidentiality incident involving personal information presents a risk of serious injury, to take reasonable measures to reduce the risk and to promptly notify both the CAI and the individuals concerned. An exception applies where doing so would impede a criminal investigation. The companion regulation specifies the content of the notification and the obligation to maintain a register of confidentiality incidents. There is no statutory seventy-two-hour limit in the Quebec text the way GDPR Article 33 has one — the obligation is “promptly” / “with diligence” — but in practice the CAI’s guidance and enforcement posture have anchored seventy-two hours as the working ceiling for getting the notification out. That is the cadence we operate on managed environments.
The phrase that does the work in Article 63.5 is “risk of serious injury.” The CAI’s published factors include the sensitivity of the personal information, the apprehended consequences, and the likelihood of misuse. A leaked credential that touched no personal information is a different decision than a credential that touched a table of social insurance numbers. The decision is the privacy officer’s; the infrastructure team’s job is to give them the facts within a window that lets the decision happen quickly.
The seventy-two-hour playbook is structured as three twenty-four-hour blocks. Hour 0–24 is containment and scoping. Hour 24–48 is impact assessment and engagement of the privacy officer or counsel. Hour 48–72 is notification preparation and, where the determination lands that way, delivery of the notifications. The register of confidentiality incidents — required regardless of whether notification ends up being made — is updated continuously throughout.
How to verify
The cheapest stress test is a tabletop drill. Pick a plausible scenario — leaked service-account token, accidentally public S3 bucket, vendor breach affecting your sub-processor list — and walk a small team through hour-by-hour. Time how long it takes to answer five questions:
- What personal information was touched?
- Whose personal information was touched?
- When did the access start, and when did it stop?
- Who outside this room knows yet?
- Who needs to know by hour seventy-two, and through what channel?
If the answer to any of these is “we’d have to find out,” you have a runbook gap. Verify the on-call escalation path actually pages the privacy officer (or a documented backup) within hour 0–24 — not the next morning when somebody opens email:
# Confirm the privacy-officer rotation is live in PagerDuty
pd schedule list --query 'privacy-officer-rotation' --format json | jq '.schedules[].oncalls'
Verify the log store can answer the time-bounded access question for the table or bucket in question. On Loki:
# Range query: every access to the affected table over a 48-hour window
logcli query --from "2026-05-13T00:00:00Z" --to "2026-05-15T00:00:00Z" \
--output=jsonl '{app="db-proxy"} |= "table=customers"' \
> /tmp/incident-12345-db-access.jsonl
wc -l /tmp/incident-12345-db-access.jsonl
Verify the audit-log retention window covers at least the last twelve months. A confidentiality incident discovered in May whose root cause is a credential leaked in February requires February logs — if log retention is ninety days, you cannot reconstruct the timeline.
# Loki retention check
curl -s http://loki:3100/loki/api/v1/series \
--data-urlencode 'match[]={app="db-proxy"}' \
--data-urlencode "start=$(date -d '395 days ago' +%s)000000000" \
| jq '.data | length'
Verify the incident register exists, is append-only, and a privacy officer can read it without an engineer in the room.
The fix
The fix is a documented playbook the on-call lead executes against the timer, plus a privacy-officer contact tree that is current. The bash skeleton below is the running notebook we use on managed environments — it does not make legal determinations, it produces the artifacts the privacy officer needs to make them.
#!/usr/bin/env bash
set -euo pipefail
### Law 25 confidentiality-incident triage notebook
### Run this immediately on incident declaration to start producing the artifacts
### the privacy officer needs to make the Article 63.5 determination.
if [[ $# -lt 1 ]]; then
echo "Usage: $0 <incident-id>"
exit 2
fi
INC="$1"
WORK="/var/lib/law25-incident/${INC}"
mkdir -p "$WORK"/{scope,access,impact,register,notify}
T0=$(date -u +%FT%TZ)
echo "==> [$T0] Law 25 incident triage start: ${INC}"
# --- Hour 0–6: containment artifacts ---
echo "==> Container actions taken (operator fills in)"
cat > "$WORK/scope/containment.md" <<MD
# Containment actions — ${INC}
# Fill this in as you take each step. Used by the privacy officer at hour 24.
| time (UTC) | action | operator | result |
|------------|-------------------------------------|----------|--------|
| ${T0} | incident declared | | |
| | suspected credential rotated | | |
| | affected role / token revoked | | |
| | upstream access list updated | | |
| | log evidence preserved (hash below) | | |
MD
# --- Hour 0–12: log evidence preservation ---
echo "==> Preserving access logs for the suspected window"
read -p "Start of suspected access window (UTC, ISO8601): " WIN_START
read -p "End of suspected access window (UTC, ISO8601): " WIN_END
read -p "LogQL filter (e.g. {app=\"db-proxy\"} |= \"service=billing-worker\"): " QUERY
logcli query --from "$WIN_START" --to "$WIN_END" --output=jsonl "$QUERY" \
> "$WORK/access/access-log.jsonl"
sha256sum "$WORK/access/access-log.jsonl" > "$WORK/access/access-log.sha256"
wc -l "$WORK/access/access-log.jsonl"
# --- Hour 12–24: scope of personal information touched ---
echo "==> Tables / buckets / endpoints touched (operator fills in)"
cat > "$WORK/scope/scope.md" <<MD
# Scope of personal information potentially affected
- Window of access (UTC): ${WIN_START} -> ${WIN_END}
- LogQL filter: ${QUERY}
- Hashed log evidence: $(cat ${WORK}/access/access-log.sha256 | awk '{print $1}')
## Systems touched
- [ ] database / table:
- [ ] object-storage bucket / prefix:
- [ ] API endpoint:
- [ ] log store / index:
- [ ] cache / CDN:
## Categories of personal information potentially exposed
- [ ] identifiers (email, phone, name)
- [ ] account credentials (hashed / cleartext)
- [ ] payment data (tokenized / pan)
- [ ] government identifiers (SIN, driver's licence)
- [ ] health / sensitive
- [ ] location / device telemetry
- [ ] free-text content (support tickets, messages)
## Estimated number of individuals potentially affected
- order of magnitude:
- method of estimate:
MD
# --- Hour 24–48: impact assessment input pack ---
echo "==> Building privacy-officer input pack"
{
echo "# Privacy-officer input pack — ${INC}"
echo
echo "Generated at: $(date -u +%FT%TZ)"
echo
echo "## Containment timeline"
cat "$WORK/scope/containment.md"
echo
echo "## Scope"
cat "$WORK/scope/scope.md"
echo
echo "## Access-log evidence"
echo "File: $WORK/access/access-log.jsonl"
echo "SHA256: $(awk '{print $1}' $WORK/access/access-log.sha256)"
echo "Line count: $(wc -l < $WORK/access/access-log.jsonl)"
} > "$WORK/impact/input-pack.md"
# --- Register entry (required regardless of notification outcome) ---
echo "==> Incident register entry"
cat > "$WORK/register/entry.md" <<MD
# Incident register entry — ${INC}
- Incident ID: ${INC}
- Declared at (UTC): ${T0}
- Containment complete at:
- Privacy-officer engaged at:
- Notification decision (CAI): pending / required / not required (reason)
- Notification decision (subjects): pending / required / not required (reason)
- Notifications sent at:
- Mitigation steps taken:
- Lessons learned (post-incident review): see /var/lib/postmortems/${INC}.md
MD
# --- Hour 48–72: notification scaffolding (only run if PO requires) ---
echo "==> Notification scaffolding ready in $WORK/notify/"
cat > "$WORK/notify/cai-template.md" <<'MD'
# CAI notification — template
Per Article 63.5 and the regulation on confidentiality-incident notifications, the
following content is included. Send via the CAI's online notification form.
1. Description of the incident.
2. When the incident occurred (or, if not known, the approximate period).
3. When the enterprise became aware of the incident.
4. Description of personal information affected.
5. Number of persons concerned and number resident in Quebec (or best estimate).
6. Description of measures the enterprise has taken or intends to take to reduce
the risk of injury, and to notify the persons concerned.
7. Identification of any person or entity outside the enterprise to which the
incident was disclosed (e.g., law enforcement).
8. Contact information of a representative who can give additional information.
9. The enterprise's name and the name of the individual completing the form.
MD
cat > "$WORK/notify/subject-template.md" <<'MD'
# Individual notification — template (sent only if PO determination = required)
Subject: Important: confidentiality incident affecting your account
The notification must include:
- Description of the incident (plain language).
- When it occurred.
- Categories of personal information affected for THIS individual.
- Concrete measures the individual can take to reduce the risk to themselves.
- The measures the enterprise has taken or will take.
- Contact information for follow-up.
- Identification of any other recipient of the notification (e.g., the CAI).
MD
echo
echo "==> [$(date -u +%FT%TZ)] DONE — Hand the input pack to the privacy officer."
echo " Input pack: $WORK/impact/input-pack.md"
echo " Register: $WORK/register/entry.md"
Three operational rules that come out of having run this for clients more than once:
- The clock you care about is “when we suspected risk of serious injury,” not “when we confirmed.” If your runbook waits for confirmation, the clock is already running and you do not know it.
- The incident register is updated regardless of notification outcome. A decision not to notify still produces a register entry that explains the determination. The CAI can ask to see the register on a separate inquiry.
- The privacy officer is on the on-call schedule, not the email distribution list. Confidentiality incidents do not respect business hours; the page tree has to reach the privacy officer or a documented designate within hour 0–24.
If your environment is bound to Law 25 and the response capability is not where it needs to be, Managed Cloud Ops operates the infrastructure side of the 72-hour playbook as part of the runbook set. Our monitoring + on-call plane is wired into the privacy-officer rotation by default. Open the conversation if you want a tabletop walkthrough.