Part 2 · Sedgewren (fictional)
Control Matrix
39 controls. Each has one owner, a schedule, the evidence that proves it ran, and the criteria it answers. The same table is a spreadsheet file in the repository, and the scripts read from it.
How to read it
A control is a sentence someone could check. "Access is managed" cannot be checked. "Every account is reviewed each quarter, and each exception is decided and tracked to closure" can.
Each row answers five questions an auditor will ask: what the control is, who owns it, how often it runs, what proves it ran, and which criterion it meets.
- Operating means the control has run and left evidence.
- In progress means it is being built, with an owner and a date.
- Planned means it is scheduled for a later quarter.
The criteria numbers come from the AICPA's Trust Services Criteria. The AI controls map to the same criteria as everything else, because the criteria do not mention AI. See AI and health data.
The controls
Status as of Monday, October 19, 2026. Use the buttons to filter by status.
Governance 5 controls
| ID | Control and evidence | Owner and schedule | SOC 2 criteria | Status |
|---|---|---|---|---|
| GV-01 | Information security policies are approved by the CEO each year and published to all staff.Evidence: Approved policy set with the approval record | Compliance ManagerAnnual | CC5.3, CC2.2 | |
| GV-02 | A named security officer and a named compliance owner hold documented responsibilities.Evidence: Signed role descriptions; organization chart | Chief Executive OfficerAnnual | CC1.3 | |
| GV-03 | Risks are assessed each year, including fraud risk and significant changes, and recorded in a register with an owner and a treatment for each.Evidence: Risk register; assessment minutes | Head of SecurityAnnual | CC3.1, CC3.2, CC3.3, CC3.4 | |
| GV-04 | Control performance and open exceptions are reported to the leadership team each quarter, and the control matrix is updated to match. Checked by control_status.py.Evidence: Quarterly report; meeting minutes |
Compliance ManagerQuarterly | CC1.2, CC2.1, CC4.1, CC4.2, CC5.1 | |
| GV-05 | Staff acknowledge the code of conduct and the security policies at hire and each year, and violations follow a written sanctions process.Evidence: Acknowledgment report | People Operations LeadAt hire and annual | CC1.1, CC1.5 |
People 3 controls
| ID | Control and evidence | Owner and schedule | SOC 2 criteria | Status |
|---|---|---|---|---|
| HR-01 | Background checks are completed before a new hire's start date.Evidence: Completion log, without the report contents | People Operations LeadPer hire | CC1.4 | |
| HR-02 | Security and privacy training is completed within 30 days of hire and each year after.Evidence: Training completion report | People Operations LeadAt hire and annual | CC1.4, CC2.2 | |
| HR-03 | Access to every system is removed within one business day of a person's last day, including systems outside single sign-on. Checked by access_review.py.Evidence: Offboarding tickets; access review exceptions |
People Operations LeadPer departure | CC6.2, CC6.3 | In progress |
Access 6 controls
| ID | Control and evidence | Owner and schedule | SOC 2 criteria | Status |
|---|---|---|---|---|
| AC-01 | Single sign-on with multi-factor authentication is required for every in-scope system. Checked by access_review.py.Evidence: Identity provider policy export; access review record |
Head of SecurityContinuous | CC6.1 | |
| AC-02 | Access is granted on an approved request that names the role.Evidence: Sample of access tickets | Site Reliability EngineerPer request | CC6.2, CC6.3 | |
| AC-03 | Every account on every in-scope system is reviewed each quarter, and each exception is decided and tracked to closure. Checked by access_review.py; followup.py.Evidence: Review record; findings; decisions; follow-up report |
Head of SecurityQuarterly | CC6.2, CC6.3, CC4.1 | |
| AC-04 | Privileged roles are limited to the departments approved in the role matrix. Checked by access_review.py.Evidence: Role matrix; access review record |
Head of SecurityQuarterly | CC6.1, CC6.3 | |
| AC-05 | Access to customer conversation data in production is granted for a ticketed purpose, expires automatically, and is logged.Evidence: Access grant log; sample of tickets | Site Reliability EngineerPer request | CC6.1, CC6.3, C1.1 | In progress |
| AC-06 | Service accounts and API keys are inventoried, each has a current owner, and credentials are rotated on a schedule. Checked by access_review.py.Evidence: Service account inventory; rotation log |
Site Reliability EngineerQuarterly | CC6.1 | In progress |
Infrastructure 4 controls
| ID | Control and evidence | Owner and schedule | SOC 2 criteria | Status |
|---|---|---|---|---|
| IN-01 | Company laptops are managed: disk encryption, screen lock, automatic patching, and malware protection.Evidence: Device management compliance report | Security EngineerContinuous | CC6.7, CC6.8 | |
| IN-02 | Customer data is encrypted in transit and at rest.Evidence: Configuration export; transport security scan | Site Reliability EngineerContinuous | CC6.1, CC6.7 | |
| IN-03 | Production has no publicly reachable administrative ports, and network rules change only by reviewed pull request.Evidence: Network rule export; change history | Site Reliability EngineerContinuous | CC6.6 | |
| IN-04 | Systems are scanned for vulnerabilities each week; critical findings are fixed within 7 days and high findings within 30; an independent penetration test runs each year.Evidence: Scan summaries; fix tickets; penetration test report | Security EngineerWeekly and annual | CC7.1 | In progress |
Change 3 controls
| ID | Control and evidence | Owner and schedule | SOC 2 criteria | Status |
|---|---|---|---|---|
| CH-01 | Every production change is a pull request approved by a second engineer with passing tests, and the main branch is protected.Evidence: Branch protection settings; sample of merged pull requests | Chief Technology OfficerPer change | CC8.1, CC5.2 | |
| CH-02 | Development, test, and production are separate, and customer data is not used in development or test.Evidence: Environment inventory; data handling standard | Chief Technology OfficerContinuous | CC8.1, C1.1 | |
| CH-03 | Infrastructure is defined in code, and emergency changes are reviewed within two business days.Evidence: Infrastructure repository history; emergency change log | Site Reliability EngineerPer change | CC8.1, CC7.1 |
Operations 5 controls
| ID | Control and evidence | Owner and schedule | SOC 2 criteria | Status |
|---|---|---|---|---|
| OP-01 | Security logs from production and the identity provider go to one place, alert on defined events, and are kept for 12 months.Evidence: Log source inventory; alert rules; one alert with its response | Security EngineerContinuous | CC7.2 | |
| OP-02 | Incidents follow a written response plan, the plan is exercised each year, and every incident is documented with its cause and follow-up.Evidence: Exercise record; incident log | Head of SecurityPer event and annual | CC7.3, CC7.4, CC7.5 | |
| OP-03 | Production data is backed up daily, and a restore is tested each quarter.Evidence: Backup job report; restore test record | Site Reliability EngineerDaily and quarterly | A1.2, A1.3 | |
| OP-04 | The business continuity and disaster recovery plan is tested each year.Evidence: Test record; updated plan | Chief Technology OfficerAnnual | CC9.1, A1.3 | Planned |
| OP-05 | Capacity and uptime are monitored against the service level commitment and published on a status page.Evidence: Uptime report; capacity review notes | Site Reliability EngineerContinuous | A1.1 |
Vendors 3 controls
| ID | Control and evidence | Owner and schedule | SOC 2 criteria | Status |
|---|---|---|---|---|
| VN-01 | Vendors are inventoried and tiered by risk, reviewed before onboarding, and the audit reports of critical vendors, including the cloud host that provides physical security, are reviewed each year.Evidence: Vendor inventory; review records | Compliance ManagerPer vendor and annual | CC9.2, CC6.4 | |
| VN-02 | Vendors that handle customer data sign security, confidentiality, and breach notice terms, and a business associate agreement where protected health information is involved.Evidence: Contract checklist; index of signed agreements | Compliance ManagerPer contract | CC9.2, C1.1 | |
| VN-03 | A public list of subprocessors is kept current, and customers are told before a new one is added.Evidence: Subprocessor page history; customer notices | Compliance ManagerPer change | CC2.3, CC9.2 |
Data 4 controls
| ID | Control and evidence | Owner and schedule | SOC 2 criteria | Status |
|---|---|---|---|---|
| DT-01 | Data is classified, customer conversation data is handled as Confidential, and customers that send protected health information are flagged.Evidence: Classification standard; customer flag report | Head of SecurityAnnual | C1.1 | |
| DT-02 | Customer data is deleted on the schedule in each contract and within 30 days of termination, with written confirmation to the customer.Evidence: Deletion job logs; confirmations sent | Site Reliability EngineerMonthly and per event | C1.2, CC6.5 | In progress |
| DT-03 | Customer isolation is tested on every release: one customer's data cannot be retrieved in another customer's session.Evidence: Isolation test results | Chief Technology OfficerPer release | CC6.1, C1.1 | |
| DT-04 | Commitments made to customers in the security page, data processing agreement, service level agreement, and business associate agreements are tracked, and each is mapped to a control.Evidence: Commitment register | Compliance ManagerQuarterly | CC2.3 |
AI 6 controls
| ID | Control and evidence | Owner and schedule | SOC 2 criteria | Status |
|---|---|---|---|---|
| AI-01 | Model providers are reviewed as subprocessors, their agreements bar training on customer data, and their retention settings are evidenced.Evidence: Provider agreements; retention configuration export | Compliance ManagerPer vendor and quarterly | CC9.2, C1.1 | |
| AI-02 | Customer conversations are not used to train or fine-tune shared models without the customer's written opt-in, and the training pipeline reads only from a list of opted-in customers.Evidence: Opt-in list; pipeline configuration; opt-in records | Machine Learning EngineerContinuous | C1.1, CC2.3 | |
| AI-03 | Prompts and responses are redacted for sensitive data before logging, logs are kept for 30 days, and access to them follows AC-05.Evidence: Redaction test results; retention configuration | Machine Learning EngineerContinuous | C1.1, C1.2, CC7.2 | In progress |
| AI-04 | A model, prompt, or tool change ships only after the evaluation suite passes, including tests for data leaking between customers and for unsafe actions.Evidence: Evaluation results attached to the release | Chief Technology OfficerPer change | CC8.1 | |
| AI-05 | Actions the AI agent can take in a customer's systems are limited by per-customer permissions and dollar limits, high-risk actions need human approval, and every action is logged.Evidence: Permission configuration; sample of the action log | Product ManagerContinuous | CC6.1, CC6.3, CC7.2 | |
| AI-06 | Staff review of customer conversations for quality is limited to trained reviewers and excludes customers flagged for protected health information unless the business associate agreement permits it. Checked by access_review.py.Evidence: Reviewer list; sampling log |
Head of SupportMonthly | C1.1, CC6.3 |
One set of controls, three frameworks
SOC 2, ISO 27001, and HIPAA overlap heavily, so I build one set of controls and map it three ways. A company that passes its SOC 2 audit this way has already done much of the work for the other two.
- SOC 2 criteria are from the Trust Services Criteria.
- ISO/IEC 27001 references are to the 2022 edition and its Annex A, which lists 93 controls in four groups. Two rows cite the standard's main clauses on risk assessment and management review.
- HIPAA references are to the Security Rule at 45 CFR Part 164, Subpart C, and to the rule on breach notice by a business associate.
The mapping is my working crosswalk, not an official one. Each framework's auditor decides what satisfies it. "None direct" means the Security Rule has no provision aimed at that control, not that the control is unimportant.
| Control | SOC 2 | ISO/IEC 27001:2022 | HIPAA Security Rule |
|---|---|---|---|
| GV-01 | CC5.3, CC2.2 | A.5.1 | 164.308(a)(1)(i), 164.316(b)(1) |
| GV-02 | CC1.3 | A.5.2 | 164.308(a)(2) |
| GV-03 | CC3.1, CC3.2, CC3.3, CC3.4 | Clause 6.1.2 | 164.308(a)(1)(ii)(A), 164.308(a)(1)(ii)(B) |
| GV-04 | CC1.2, CC2.1, CC4.1, CC4.2, CC5.1 | Clause 9.3 | 164.308(a)(8) |
| GV-05 | CC1.1, CC1.5 | A.6.2 | 164.308(a)(1)(ii)(C) |
| HR-01 | CC1.4 | A.6.1 | 164.308(a)(3)(ii)(B) |
| HR-02 | CC1.4, CC2.2 | A.6.3 | 164.308(a)(5)(i) |
| HR-03 | CC6.2, CC6.3 | A.6.5, A.5.18 | 164.308(a)(3)(ii)(C) |
| AC-01 | CC6.1 | A.8.5, A.5.17 | 164.312(d), 164.312(a)(2)(i) |
| AC-02 | CC6.2, CC6.3 | A.5.15, A.5.18 | 164.308(a)(4)(ii)(B) |
| AC-03 | CC6.2, CC6.3, CC4.1 | A.5.18 | 164.308(a)(4)(ii)(C) |
| AC-04 | CC6.1, CC6.3 | A.8.2 | 164.308(a)(3)(i) |
| AC-05 | CC6.1, CC6.3, C1.1 | A.8.3 | 164.312(a)(1), 164.312(b) |
| AC-06 | CC6.1 | A.5.16, A.5.17 | 164.312(a)(1) |
| IN-01 | CC6.7, CC6.8 | A.8.1, A.8.7 | 164.308(a)(5)(ii)(B), 164.312(a)(2)(iii) |
| IN-02 | CC6.1, CC6.7 | A.8.24 | 164.312(a)(2)(iv), 164.312(e)(2)(ii) |
| IN-03 | CC6.6 | A.8.20 | 164.312(e)(1) |
| IN-04 | CC7.1 | A.8.8 | 164.308(a)(1)(ii)(B) |
| CH-01 | CC8.1, CC5.2 | A.8.32, A.8.25 | None direct |
| CH-02 | CC8.1, C1.1 | A.8.31, A.8.33 | None direct |
| CH-03 | CC8.1, CC7.1 | A.8.9 | None direct |
| OP-01 | CC7.2 | A.8.15, A.8.16 | 164.312(b), 164.308(a)(1)(ii)(D) |
| OP-02 | CC7.3, CC7.4, CC7.5 | A.5.24, A.5.26 | 164.308(a)(6)(ii) |
| OP-03 | A1.2, A1.3 | A.8.13 | 164.308(a)(7)(ii)(A), 164.308(a)(7)(ii)(D) |
| OP-04 | CC9.1, A1.3 | A.5.29, A.5.30 | 164.308(a)(7)(ii)(B), 164.308(a)(7)(ii)(C) |
| OP-05 | A1.1 | A.8.6 | None direct |
| VN-01 | CC9.2, CC6.4 | A.5.19, A.5.22 | 164.308(b)(1) |
| VN-02 | CC9.2, C1.1 | A.5.20 | 164.308(b)(3), 164.314(a)(2)(i)(C) |
| VN-03 | CC2.3, CC9.2 | A.5.21 | None direct |
| DT-01 | C1.1 | A.5.12, A.5.13 | None direct |
| DT-02 | C1.2, CC6.5 | A.8.10 | 164.310(d)(2)(i) |
| DT-03 | CC6.1, C1.1 | A.8.3 | 164.312(a)(1) |
| DT-04 | CC2.3 | A.5.31 | 164.314(a)(2)(i)(C), 164.410 |
| AI-01 | CC9.2, C1.1 | A.5.19, A.5.20, A.5.23 | 164.308(b)(2) |
| AI-02 | C1.1, CC2.3 | A.5.34 | None direct |
| AI-03 | C1.1, C1.2, CC7.2 | A.8.11, A.8.15 | 164.312(b) |
| AI-04 | CC8.1 | A.8.29, A.8.32 | None direct |
| AI-05 | CC6.1, CC6.3, CC7.2 | A.8.2, A.5.15 | None direct |
| AI-06 | C1.1, CC6.3 | A.5.15, A.6.3 | 164.308(a)(4)(ii)(B) |
What the matrix checks for itself
Two things break a control matrix as it grows: a criterion nobody mapped, and a control with no evidence. A script checks both each quarter.
2026-Q3: 31 of 32 operating controls have evidence; 0 criteria unmapped.
Every criterion in scope has at least one control. If a control were deleted and left a criterion uncovered, the script would name it and exit with an error, which fails the automated check in the repository.