Documentation / Privacy and security compliance

9. Remediation roadmap and deployment checklist

Baseline plan. Phases 1-3 and most of phase 4 are now done in code; what remains is the operator checklist below, MFA enforcement for administrators, rectification, and an independent penetration test.

The suite can be used with real data once phases 1 and 2 are done and the operator checklist is complete. Phases run in order; each gate must hold before the next starts.

  1. Block the High gaps in code. Audit trail (G1), MFA and first-sign-in password change (G2), encrypted connection strings (G5). Gate: every Viewer, genome and admin call produces an audit row; an administrator cannot sign in without a second factor.

  2. Rights and retention. Patient search and export, hold flag, hard delete (G3), retention purge (G4). Gate: a test patient can be exported and then removed from raw, golden and MDM schemas, with the request logged.

  3. Containment. Idle timeout (G7), masking and break-glass (G8), throttle fix (G9), genome lookups off by default with an allow-list (G12), user-deletion record (G17). Gate: independent penetration test with no High findings.

  4. Hardening. Raise scrypt cost (G10), add CSP (G11), log redaction (G15), breach alerting hooks (G13).

Operator checklist before go-live. Items marked (all) apply to every framework; others name the one they mainly serve.

  • Name the legal roles: controller or covered entity, and any processor or business associate (all)

  • Sign a business associate agreement (HIPAA) and a data processing agreement (GDPR, PDPL) with every host and support vendor

  • Decide the legal basis and the Article 9 condition (GDPR) and the PDPL basis for health and genetic data

  • Complete a security risk analysis (HIPAA), an impact assessment (GDPR, PDPL) and a record of processing (GDPR, PDPL)

  • Appoint a data protection officer where required (GDPR, PDPL) and register with SDAIA where required

  • Host in the required region; for Saudi data, confirm localisation and the transfer basis with counsel (PDPL)

  • Put the suite behind TLS 1.2+ with HSTS, set COOKIE_SECURE=1, bind the app to localhost only (all)

  • Enable database and disk encryption, including the documents folder; keep keys outside the database host (all)

  • Change the admin password, create named accounts, remove the sample users, give each person only the data sources and features they need (all)

  • Switch off genome online lookups (GENOME_ONLINE=0) unless a transfer basis exists

  • Send logs and audit events to a write-once store and review them on a schedule (all)

  • Schedule encrypted backups and test a restore (HIPAA, all)

  • Write and rehearse the incident plan: HIPAA 60 days, GDPR 72 hours to the authority, PDPL 72 hours to SDAIA

  • Publish a privacy notice and a route for access, correction and erasure requests with the 30-day (PDPL) and one-month (GDPR) clocks

  • Train staff and keep the evidence; HIPAA expects six years of policy documentation