Incident runbooks
Step tracker
Tick steps in each runbook below; progress is kept in this browser only and is never sent anywhere. Print gives a clean checklist with every step expanded.
as of 2026-10-26 · UTCIncident register →Something went wrong? Pick the problem
How to use a runbook
- Open the runbook that matches the problem (cards above).
- Work through the steps in order and tick each one as you go.
- READ-ONLY steps only look at things, so they are safe to run any time.
- CHANGES A SYSTEM steps: stop and get approval from the named approver first. Write down who agreed and when.
- Never decide alone about telling customers, regulators or the payment processor. That decision owner is still PENDING.
Needs attention now
as of 2026-10-26- Critical DEV legacy-domain wildcard: expired on 2026-08-03 (84 days ago).
- Critical PROD legacy-domain wildcard: expires in 19 days (2026-11-14).
- Critical UAT legacy API is 99.7% full: 598 of 600 routes (counted 2026-10-19).
- Critical DEV legacy API is 95.7% full: 574 of 600 routes (counted 2026-10-20).
- Serious Edge certificate packs (earliest): expires in 26 days (2026-11-21).
- Serious Frontend host certificate: expires in 32 days (2026-11-27).
- Serious Certificate expiry: Under investigation.
- Serious GitHub Actions secrets incident: Open — under investigation.
- Warning PROD legacy API route count is not known (limit 600).
- Warning Data exposure: reported as an incident, but no source exists yet.
- Warning Cloudflare outage: looks fixed, but closure is not confirmed.
Overview
Runbooks
Steps
Need approval first
Safe to run
Blind spots
People assigned
Safe vs needs approval
stepsGreen steps only look at things. Red steps change a system, so the named approver must agree first.
Which stage has the most work
heatmapRows are runbooks, columns are response stages. Darker squares = more steps.
| Triage | Evidence | Contain | Recover | Verify | Rollback | |
|---|---|---|---|---|---|---|
| Certificate expiry | 5 | · | 1 | 2 | 1 | 1 |
| Data exposure | 2 | 3 | 2 | 1 | 1 | 1 |
| Cloudflare outage | 4 | · | 3 | 1 | 1 | 1 |
| GitHub Actions secrets | · | 3 | 2 | 1 | 1 | 1 |
| API Gateway limit | 3 | · | 2 | 2 | 1 | 1 |
Darker = more steps in that phase.
Blind spots
per runbookThings we cannot detect automatically today, per runbook. Fewer is better.
Roles & rules same for every runbook
Severity levels
Proposed — pending Farhan's approvalRoles
Notification decisions
- HIPAA Breach Notification Rule (45 CFR 164.400–414) — verify clause numbers
- PCI DSS v4.0 Requirement 12.10 (incident response plan) — verify clause numbers
Badges
After every incident
- Create or update the incident record in the register, with every claim labelled CONFIRMED / REPORTED / UNKNOWN.
- Open a follow-up ticket for every gap found; write 'Pending — ticket to be linked' until a key exists.
- Hold a review within 5 working days (proposed); record lessons only where evidenced.
- Close the record only when a named role confirms closure in a citable source.
Certificate expiry
Purpose: Detect, prevent and recover from an expired or lapsing TLS certificate on any Revique host. Scope: Cloud certificate-manager certificates (CDN distributions and load balancers in DEV, UAT and PROD), edge-provider certificate packs for the frontend zone, and the documentation site's own certificate.
Certificates: days until they expire
Shorter bar = less time left. Red needs action now.
Days left counted from 2026-10-26. Source: certificate inventory and handshake checks, all CONFIRMED (see RB-CERT).
- CONFIRMED PROD wildcard certificate for the legacy domain: expires 2026-11-14 23:59 UTC; managed renewal pending validation; attached to 3 PROD CDN distributions. Earlier evidence says the domain no longer resolves to Revique, so validation is unlikely to complete.
- CONFIRMED DEV wildcard certificate for the legacy domain expired 2026-08-03 and is still attached to 3 DEV CDN distributions (renewal failed).
- CONFIRMED Edge-provider certificate packs: earliest expiry 2026-11-21; 5 packs on or before 2026-11-27. Provider-managed; renewal not yet observed.
- CONFIRMED Frontend host certificate (TLS handshake 2026-10-26): expires 2026-11-27, 31 days left.
- CONFIRMED DEV certificate request for the app apex domain timed out in validation (never issued; not attached).
- UNKNOWN Documentation site certificate: issuer and renewal method UNKNOWN (not checked in this pass).
When to invoke
- • A browser, client or monitor reports a certificate error.
- • Any in-use certificate is within 30 days of expiry with no completed renewal.
- • A managed renewal shows failed, pending validation or validation timed out.
Severity for this runbook (proposed)
- P1 Customer-facing API or frontend serving an expired certificate.
- P2 In-use production certificate within 14 days of expiry and renewal not progressing.
- P3 Production certificate within 30 days with renewal pending; or an expired certificate in DEV/UAT still attached.
- P4 Expired certificate that is not attached to anything.
Detection signals
- • Certificate-manager status (issued, pending validation, failed, expired) and renewal status.
- • TLS handshake expiry date on each public host.
- • Client or browser certificate errors reported in Slack or support.
What exists today
- CONFIRMED Daily documentation refresh lists certificate dates as review items (not an alert; it did not run between 2026-08-21 and 2026-09-07).
- CONFIRMED API monitor probes backend hosts only; it does not check certificates on customer-facing hosts.
Steps · tick as you go (not saved)
- READ-ONLY
aws acm list-certificates --region <region> --profile <env-profile>Evidence to capture (1)
Capture: Masked certificate list: label, status, expiry · Where: Incident evidence folder · Kept: Keep with the incident record - READ-ONLY
aws acm describe-certificate --certificate-arn <certificate> --region <region> --profile <env-profile>Evidence to capture (1)
Capture: Masked describe output (no identifiers) · Where: Incident evidence folder · Kept: Keep with the incident record - READ-ONLY
openssl s_client -connect <host>:443 -servername <host> < /dev/null | openssl x509 -noout -dates -issuerEvidence to capture (1)
Capture: notBefore, notAfter, issuer, time of check (UTC) · Where: Incident evidence folder · Kept: Keep with the incident record - READ-ONLY
Evidence to capture (1)
Capture: Pack type, authority, expiry, status · Where: Edge-provider dashboard · Kept: Provider-managed; screenshot to the evidence folder - READ-ONLY
Evidence to capture (1)
Capture: Validation-record presence (yes/no) and name-server owner · Where: Incident evidence folder · Kept: Keep with the incident record - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed) for PROD; Engineering lead (role, owner PENDING) for DEV/UAT)
Evidence to capture (1)
Capture: Request time (UTC) and requester role · Where: Cloud audit trail · Kept: Event history 90 days (verify); trail storage retention UNKNOWN - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed) for PROD; Engineering lead (role, owner PENDING) for DEV/UAT)
Evidence to capture (1)
Capture: Attach time (UTC), resource count, who by (role) · Where: Cloud audit trail · Kept: Event history 90 days (verify) - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed))Decision gate: Decision: retire or keep the legacy-domain distributions — owner PENDING
Evidence to capture (1)
Capture: Written decision and the list of affected distributions (masked) · Where: Follow-up ticket · Kept: Ticket lifetime - READ-ONLY
Evidence to capture (1)
Capture: Before/after expiry dates · Where: Incident evidence folder · Kept: Keep with the incident record - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed) for PROD)
Evidence to capture (1)
Capture: Rollback time and reason · Where: Incident record · Kept: Keep with the incident record
Communication, escalation and follow-ups
- Incident lead posts internal status updates in the engineering channel at least every hour while P1/P2 is active (proposed).
- Escalate P1/P2 to the Approver immediately; production-impacting decisions go to Farhan Chaudry (proposed).
Follow-ups (proposals, not actions)
- Certificate-expiry monitoring for customer-facing hosts — proposal only, not an action (RVQ-150).
- Decision on the legacy-domain distributions before 2026-11-14.
Data exposure
Purpose: Respond to data (PHI, card data, credentials or other) that is, or may have been, reachable by someone who should not have it. Scope: Object storage, databases, API responses, logs, documentation-site files, code repositories and CI logs in all environments.
When to invoke
- • Data is found publicly reachable or shared beyond its audience.
- • A scan, a tool or a person reports an exposure.
- • Access logs show an unexpected reader.
Severity for this runbook (proposed)
- P1 PHI or card data confirmed reachable without authentication.
- P2 Credentials or internal identifiers exposed; or PHI exposure suspected but not confirmed.
- P3 Exposure limited to non-production data with no PHI or card data.
- P4 Internal-only metadata exposed with no sensitive content.
Detection signals
- • Storage public-access settings and policy status.
- • Unexpected readers in access logs.
- • Publishing-scanner findings and site exposure checks.
What exists today
- CONFIRMED Publishing pre-flight scan exists but is not run for manual publishing since mid-September.
- CONFIRMED Multi-region audit trail is logging in DEV.
Known gaps today
- Public-access block not enabled on 4 patient-data buckets or at account level (PROD). — RR-001
- Audit trail not streamed to log monitoring; no security metric-filter alarms. — RR-009
- Object-level (data-event) logging and storage access logging coverage: UNKNOWN for most buckets. — Not evidenced
- No VPC flow logs and no threat detection in DEV. — RVQ-299 evidence · RR-027
- 98 of 114 DEV log groups never expire, contents unknown. — RVQ-299 evidence
- Documentation-site gate is client-side only; raw files can be fetched directly. — RR-016
Steps · tick as you go (not saved)
- READ-ONLY
Evidence to capture (1)
Capture: Data class, record count estimate, location label · Where: Incident record · Kept: Keep with the incident record - READ-ONLY
aws s3api get-public-access-block --bucket <bucket> --profile <env-profile>Evidence to capture (1)
Capture: Setting values and HTTP status (no content) · Where: Incident evidence folder · Kept: Keep with the incident record - READ-ONLY
aws cloudtrail lookup-events --start-time <utc> --end-time <utc> --profile <env-profile>Evidence to capture (2)
Capture: Audit events for the resource and window · Where: Cloud audit trail · Kept: Event history 90 days (verify); export within that window Capture: Storage access logs, if enabled for that bucket · Where: Log bucket · Kept: UNKNOWN — check lifecycle rules - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed) for PROD; Engineering lead (role, owner PENDING) for DEV/UAT)
Evidence to capture (1)
Capture: Change time (UTC), who by (role), before/after setting · Where: Cloud audit trail and incident record · Kept: Event history 90 days (verify) - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed))
Evidence to capture (1)
Capture: Credential label (never the value), rotated time · Where: Incident record · Kept: Keep with the incident record - READ-ONLY
Evidence to capture (1)
Capture: Count of distinct readers and time range; gaps in coverage · Where: Incident record · Kept: Keep with the incident record - READ-ONLYDecision gate: Notification decision — Decision owner: PENDING — escalate to Farhan/legal; do not decide alone.
Evidence to capture (1)
Capture: Scope statement with sources · Where: Incident record · Kept: Keep with the incident record - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed))Decision gate: Legal hold check — owner PENDING
Evidence to capture (1)
Capture: Deletion plan and approval reference · Where: Follow-up ticket · Kept: Ticket lifetime - READ-ONLY
Evidence to capture (1)
Capture: HTTP status and setting values after the fix · Where: Incident evidence folder · Kept: Keep with the incident record - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed))
Evidence to capture (1)
Capture: Restored setting and reason · Where: Incident record · Kept: Keep with the incident record
Communication, escalation and follow-ups
- Incident lead posts internal status updates in the engineering channel at least every hour while P1/P2 is active (proposed).
- Escalate P1/P2 to the Approver immediately; production-impacting decisions go to Farhan Chaudry (proposed).
Follow-ups (proposals, not actions)
- Enable the account-level public-access block (RR-001, approval-gated).
- Decide object-level logging for PHI buckets (proposal).
Edge provider outage (Workers HTTP 429 / Error 1027)
Purpose: Restore the customer-facing frontend when edge Workers fail, including request-limit errors. Scope: The frontend zone, its production, UAT and DEV Workers, pull-request preview Workers and the deploy pipelines.
When to invoke
- • Users or staff report HTTP 429, Error 1027 or a provider error page on the frontend.
- • Workers analytics show errors or resource-limit statuses.
Severity for this runbook (proposed)
- P1 Production frontend returning Error 1027 or 5xx for most users.
- P2 Intermittent production errors, or one production feature broken.
- P3 UAT, DEV or preview Workers failing.
- P4 Stale preview Workers or configuration hygiene.
Detection signals
- • Provider status page (public).
- • Workers analytics: requests, errors, status breakdown.
- • Account audit log: deploys and configuration changes.
What exists today
- CONFIRMED Workers analytics are readable for at least 30 days; the last window (to 2026-10-20) showed 0 errors.
- CONFIRMED Account audit log is readable from 2026-07-22.
Known gaps today
- The frontend is not monitored by the API monitor. — RR-006 · RVQ-150 evidence
- Workers plan and billing not readable with the current token. — Edge-provider evidence (plan UNKNOWN)
- WAF and rate-limit rules not readable. — Edge-provider evidence
- 70 stale preview Workers; cleanup failures are tolerated by the pipeline. — RR-031 · edge-provider evidence
Steps · tick as you go (not saved)
- READ-ONLY
Evidence to capture (1)
Capture: Status page screenshot with time (UTC) · Where: Incident evidence folder · Kept: Keep with the incident record - READ-ONLY
Evidence to capture (1)
Capture: Counts per status and per day · Where: Provider analytics · Kept: Provider window (at least 30 days observed); export now - READ-ONLY
Evidence to capture (1)
Capture: Counts by action and actor type (no identities) · Where: Provider audit log · Kept: Observed from 2026-07-22; provider retention UNKNOWN — export now - READ-ONLY
Evidence to capture (1)
Capture: Plan name and limits · Where: Provider billing page · Kept: Screenshot to the evidence folder - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed) — billing change)
Evidence to capture (1)
Capture: Plan before/after, time (UTC) · Where: Provider audit log and incident record · Kept: Keep with the incident record - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed))Decision gate: Security review: failing open bypasses the Worker — owner PENDING
Evidence to capture (1)
Capture: Route setting before/after · Where: Provider audit log · Kept: Keep with the incident record - CHANGES A SYSTEM — REQUIRES APPROVAL (Engineering lead (role, owner PENDING))
Evidence to capture (1)
Capture: Count removed, list kept internally · Where: Incident record · Kept: Keep with the incident record - READ-ONLYDecision gate: Customer communication — Decision owner: PENDING — escalate to Farhan/legal; do not decide alone.
Evidence to capture (1)
Capture: Message text and send time · Where: Incident record · Kept: Keep with the incident record - READ-ONLY
Evidence to capture (1)
Capture: Analytics counts after the fix · Where: Incident evidence folder · Kept: Keep with the incident record - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed))
Evidence to capture (1)
Capture: Reverted setting and version · Where: Provider audit log · Kept: Keep with the incident record
Communication, escalation and follow-ups
- Incident lead posts internal status updates in the engineering channel at least every hour while P1/P2 is active (proposed).
- Escalate P1/P2 to the Approver immediately; production-impacting decisions go to Farhan Chaudry (proposed).
Follow-ups (proposals, not actions)
- Confirm the Workers plan (needs billing read).
- Frontend monitoring (RVQ-150).
- Fix silent preview cleanup (RR-031).
CI workflow secrets incident
Purpose: Contain and investigate a suspected exposure or misuse of secrets available to CI workflows. Scope: Source-control organisation, repositories, workflows and repository/organisation secrets; the cloud and edge-provider credentials those secrets grant.
When to invoke
- • A workflow was changed or added without review.
- • Secrets may have been printed, exfiltrated or used from an unknown location.
- • A provider reports a leaked credential.
Severity for this runbook (proposed)
- P1 Production credentials confirmed used by an unknown party.
- P2 Production credentials possibly exposed; misuse not established.
- P3 Non-production credentials exposed.
- P4 Workflow hardening gap with no exposure.
Detection signals
- • Unexpected workflow file changes or runs.
- • Secrets used from unusual sources in cloud and edge-provider audit logs.
- • Provider leak notifications.
What exists today
- CONFIRMED 13 workflows use the edge provider; 5 deploy Workers; all authenticate with repository secrets.
- CONFIRMED Edge-provider account audit log is readable but does not record user-owned token lifecycle.
Known gaps today
- Rotation of exposed secrets not confirmed. — RR-002
- Audit trail not streamed to log monitoring; no security alarms. — RR-009
- Console users without MFA and long-lived access keys in production. — RR-025
- Stored application secrets have no automatic rotation. — RR-026
- How CI authenticates to the cloud (federation or stored keys) is UNKNOWN. — RVQ-299 evidence
Steps · tick as you go (not saved)
- READ-ONLY
gh run list --repo <org>/<repo> --limit 200Evidence to capture (1)
Capture: Run list and downloaded run logs (stored internally, never published) · Where: Restricted evidence folder · Kept: Repository setting, default 90 days (verify) - READ-ONLY
gh secret list --repo <org>/<repo>Evidence to capture (1)
Capture: Secret labels and scope, never values · Where: Restricted evidence folder · Kept: Keep with the incident record - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed))
Evidence to capture (1)
Capture: What was disabled, when (UTC), by role · Where: Source-control audit log · Kept: Organisation audit log retention (verify) - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed))
Evidence to capture (1)
Capture: Credential label, revoked time, replacement time · Where: Incident record · Kept: Keep with the incident record - READ-ONLY
aws cloudtrail lookup-events --lookup-attributes AttributeKey=AccessKeyId,AttributeValue=<key-id> --profile <env-profile>Evidence to capture (1)
Capture: Counts of calls per credential and source type (no addresses published) · Where: Restricted evidence folder · Kept: Cloud event history 90 days (verify); edge log observed from 2026-07-22 - CHANGES A SYSTEM — REQUIRES APPROVAL (Engineering lead (role, owner PENDING))
Evidence to capture (1)
Capture: Settings before/after · Where: Follow-up ticket · Kept: Ticket lifetime - READ-ONLY
Evidence to capture (1)
Capture: Test results and log check window · Where: Incident record · Kept: Keep with the incident record - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed))
Evidence to capture (1)
Capture: Replacement credential label and time · Where: Incident record · Kept: Keep with the incident record
Communication, escalation and follow-ups
- Incident lead posts internal status updates in the engineering channel at least every hour while P1/P2 is active (proposed).
- Escalate P1/P2 to the Approver immediately; production-impacting decisions go to Farhan Chaudry (proposed).
Follow-ups (proposals, not actions)
- Confirm rotation for RR-002 inside RVQ-154.
Legacy REST API resource limit
Purpose: Prevent and recover from deployments blocked by the per-API resource quota of the legacy REST API. Scope: The legacy REST API in DEV, UAT and PROD (legacy region).
API Gateway: how full is it?
INC-005The legacy API can hold at most 600 routes. A full bar means new routes cannot be added.
Applied quota 600 resources per REST API (AWS default 300). Increase requests to 1,000 were closed without a change.
When to invoke
- • A deployment that adds resources fails with a limit error.
- • Resource count reaches 95% of the applied quota.
Severity for this runbook (proposed)
- P1 A production fix cannot deploy because of the limit.
- P2 PROD at or above 98% of the quota.
- P3 UAT or DEV blocked, or within 5 resources of the quota (UAT today: 598 of 600).
- P4 Below 90% of the quota.
Detection signals
- • Resource count per API against the applied quota.
- • Deployment errors that mention the resource limit.
What exists today
- CONFIRMED Counts are taken by hand during investigations only.
Known gaps today
- No quota-utilisation alarm. — Not evidenced (proposal in candidate findings)
- Legacy API execution and access logging off in DEV. — RR-010
- PROD resource count not re-checked (throttled). — RR-018
Steps · tick as you go (not saved)
- READ-ONLY
aws service-quotas list-service-quotas --service-code apigateway --region <region> --profile <env-profile>Evidence to capture (1)
Capture: Quota name and value · Where: Incident evidence folder · Kept: Keep with the incident record - READ-ONLY
aws apigateway get-resources --rest-api-id <api> --limit 500 --region <region> --profile <env-profile>Evidence to capture (1)
Capture: Resource count and time (UTC) · Where: Incident evidence folder · Kept: Keep with the incident record - READ-ONLY
Evidence to capture (1)
Capture: Request dates, desired value, outcome · Where: Incident evidence folder · Kept: Keep with the incident record - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed))
Evidence to capture (1)
Capture: Request date and outcome · Where: Service-quota history · Kept: Provider-managed - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed) for PROD; Engineering lead (role, owner PENDING) for DEV/UAT)Decision gate: Client-usage sign-off — owner PENDING
Evidence to capture (1)
Capture: Removed route list (internal), sign-off reference · Where: Follow-up ticket · Kept: Ticket lifetime - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed))
Evidence to capture (1)
Capture: Design, test results per environment · Where: Follow-up ticket · Kept: Ticket lifetime - READ-ONLY
Evidence to capture (1)
Capture: Exported definition (stored internally) · Where: Restricted evidence folder · Kept: Keep until the change is verified - READ-ONLY
Evidence to capture (1)
Capture: Count after the change, deployment result · Where: Incident record · Kept: Keep with the incident record - CHANGES A SYSTEM — REQUIRES APPROVAL (Farhan Chaudry (proposed) for PROD)
Evidence to capture (1)
Capture: Rollback time and deployment restored · Where: Incident record · Kept: Keep with the incident record
Communication, escalation and follow-ups
- Incident lead posts internal status updates in the engineering channel at least every hour while P1/P2 is active (proposed).
- Escalate P1/P2 to the Approver immediately; production-impacting decisions go to Farhan Chaudry (proposed).
Follow-ups (proposals, not actions)
- Greedy-route consolidation plan (RR-018).
- Quota-utilisation alarm (proposal).
Commands shown are read-only and use placeholders in angle brackets; substitute values locally and never paste identifiers into tickets or chat. Retention values marked "verify" are provider defaults that have not been checked for our accounts.
Runbooks as of 2026-10-26 · DRAFT · published 2026-10-27 · Incident register