ATO Readiness & Compliance Certification Matrix

Overview

For an ATO evaluator assessing Canopy against its federal authorities: this page maps each requirement to the artefact that satisfies it and states how far the implementation goes.

Canopy processes data governed by multiple federal authorities:

  • IRS Publication 1075 — Federal Tax Information (FTI) protection for TANF and Medicaid

  • HIPAA — Protected Health Information (PHI) for Medicaid and CHIP

  • Social Security Act §1137 (42 USC §1320b-7) / 7 CFR 272.8 — IEVS income verification for SNAP

  • NIST SP 800-53 — Security and privacy controls baseline

Every Status cell below is drawn from one closed vocabulary. Enforced in code — a named symbol, route guard or CI gate in this repository refuses the violating case, and the Implementation cell names it. Configured — the control is a deployment setting the code reads but does not itself guarantee. Deployment responsibility — the control lives outside the tree, in the hosting environment or a signed agreement. Gap #N — the control is not fully met; #N is the open issue that owns it, and the row repeats under Gap Analysis. A row split between two of these carries both tokens.

Policy traceability (every eligibility threshold ↔ authoritative source) is treated as a first-class ATO concern under ADR-011. The formal evidence statement — what each CI gate proves and how to regenerate the audit pack — is at ADR-011 Policy-Trace ATO Evidence.

IRS Publication 1075 — Federal Tax Information

FTI is used by TANF and Medicaid programs for income verification. Canopy isolates FTI per ADR-004.

Pub 1075 Control Canopy Implementation ADR Status

Authorized access: FTI accessible only to authorized personnel

FTI physically isolated in canopy-tanf and canopy-medicaid databases. No cross-program database access (ADR-001). Role-based access control enforced on all handlers. Code-level enforcement: cargo xtask compliance audit-data-tenancy (CI job compliance-data-tenancy) scans every service’s migrations and source for protected field-name patterns and fails the build if FTI, IEVS, or SSA SOLQ/BINDEX fields surface in an unauthorised service. Authorisation matrix at compliance/data-tenancy-authorisation.toml.

ADR-001, ADR-004

Enforced in code

Need-to-know: Minimum necessary access

Program service isolation — canopy-snap cannot query canopy-tanf database. Each service has its own connection pool and credentials.

ADR-001

Enforced in code

Audit trail: All FTI access logged

Every FTI read goes through the audited accessor in canopy_db::fti_audit, which writes an fti_audit_log row hash-chained by fti_chain.rs in both canopy-tanf and canopy-medicaid. Auditor reads are three routes per service — GET /v1/fti-audit-log, /fti-audit-log/{id} and /fti-audit-log/summary — each admitting only a user holding the dedicated fti_auditor role (Admission::user_roles(&["fti_auditor"]), no system arm), so no system token reaches them.

ADR-004, ADR-014

Enforced in code

7-year retention: FTI audit records retained minimum 7 years (Pub 1075 AU-11)

Archive management restored in canopy-security (#1208): durable async archive runs move rows past the operator-set archive_after_days age threshold into audit_events_archive per bounded, per-chunk-committed passes; the archive retains rows indefinitely, so retention is archive ∪ live. Retention floors + legal-hold become a general config-driven lifecycle under ADR-041.

ADR-041

Gap #1303 — no code enforces the 7-year floor

Encryption at rest: FTI encrypted when stored

AES-256-GCM field-level encryption for SSN and date of birth through the ADR-036 SealedValue path (crates/canopy-crypto-shred, crates/canopy-common/src/crypto.rs). Other PII fields rely on database-level encryption — PostgreSQL TDE — supplied by the deployment.

ADR-036

Enforced in code + Deployment responsibility

Encryption in transit: FTI encrypted during transmission

rustls for all HTTP. Outside development a PostgreSQL connection must set sslmode=verify-full or verify-ca: encrypted, and to a server whose certificate was checked. RabbitMQ supports amqps://.

—

Configured

Event bus scrubbing: FTI never in event payloads

Publishing refuses any payload carrying a key that matches RESTRICTED_FIELDS in crates/canopy-mq/src/publisher.rs at any depth — validate_payload walks nested objects and arrays; the FTI names on that list (fti, federal_tax_information, tax_return, agi, adjusted_gross_income) are blocked before publish. canopy_db::fti_audit::scrub_fti_fields strips a wider FTI name set recursively as defence in depth.

ADR-004

Enforced in code

Annual inspection readiness: Audit logs available for IRS review

GET /v1/security/events exports audit events, the archive API serves historical data, and GET /v1/security/chain/* verifies hash-chain integrity — read the Auditor Handbook before interpreting a chain status.

ADR-014

Enforced in code

HIPAA — Protected Health Information (Medicaid/CHIP)

HIPAA Control Canopy Implementation Status

Minimum necessary: Access limited to minimum required

canopy-medicaid isolated database (ADR-001). Clinical data not shared with other program services.

Enforced in code

Access controls: Role-based, user-level

canopy-identity tokens, admitted per route in every handler (principal.admit(&ADMISSION)?; Security › The identity receiver):

  • Medicaid case reads admit CASEWORKER_OR_ABOVE_ROLES, and the reads canopy-web’s case pages make also admit CASE_READER_ROLES through canopy-web; writes admit CASEWORKER_WRITER_ROLES (the same set minus quality_control, #1820). Each sits beside a system arm for canopy-medicaid’s compiled callers (READER and WRITER in services/canopy-medicaid/src/api/mod.rs; the MEDICAID_* constants in crates/canopy-auth/src/delegated.rs).

  • Privileged surfaces carry narrower dedicated bars with no system arm, so no system token reaches them: FTI audit reads fti_auditor, determination redaction data_steward, ELE revoke and the ELE renewal sweep admin/quality_control (ELE_OPERATOR).

  • Roles reach a session only from the upstream IdP’s mapping, filtered to canopy’s vocabulary at federation (ADR-044).

Enforced in code

Audit controls: All PHI access recorded

canopy-security wildcard subscriber. All medicaid API calls generate audit events.

Enforced in code

Encryption at rest

SSN and date of birth: AES-256-GCM under ADR-036. Other PHI: PostgreSQL TDE, supplied by the deployment.

Enforced in code + Deployment responsibility

Encryption in transit

rustls, sslmode=verify-full, amqps://

Configured

Integrity controls: Data tamper detection

Determination signatures (ECDSA P-256 JWS) are verified by canopy_signing::verifier, which refuses a bad signature. The audit hash chain (SHA-256) is written on every append, but detection runs only when CANOPY_SECURITY__CHAIN_V2_VERIFY_ENABLED is set — it defaults to false (services/canopy-security/src/config.rs), and a dormant verifier answers unknown, which is not evidence of integrity (Auditor Handbook › the chain audit).

Enforced in code (signatures) · Configured (chain verification)

Business Associate Agreements

Not documented in this repository — requires a per-deployment BAA between the state agency and the hosting provider or integrator.

Deployment responsibility

IEVS — Income and Eligibility Verification System

IEVS Requirement (42 USC §1320b-7; 7 CFR 272.8) Canopy Implementation Status

Mandatory verification: Income verified against federal/state databases

canopy-verification defines the IevsAdapter trait and ships NoopIevsAdapter (services/canopy-verification/src/noop.rs) for UAT, selected by CANOPY_VERIFICATION__IEVS_ADAPTER. A production adapter requires Georgia DOL API credentials and an SSA Computer Matching Agreement.

Enforced in code + Deployment responsibility

Data isolation: IEVS responses held only by the services class.ievs authorises (authorised_services in compliance/data-tenancy-authorisation.toml: canopy-snap, canopy-verification, canopy-security)

IEVS match results are stored in the canopy-snap database (ievs_match_results, ievs_discrepancies) and, per populated adapter record, as an ievs_hits row in the canopy-verification database with the record in its payload JSONB (persist_hit, services/canopy-verification/src/api/ievs.rs; no purge exists; no read path returns the payload) — both services are authorised for class.ievs in compliance/data-tenancy-authorisation.toml, the matrix cargo xtask compliance audit-data-tenancy enforces (ADR-004 Amendment 7).

Enforced in code

Event bus scrubbing: No IEVS data in events

RESTRICTED_FIELDS in crates/canopy-mq/src/publisher.rs carries the IEVS record keys of the verification contract (wage_records, ui_record, sdx_record, bendex_record — crates/canopy-contracts-verification/src/ievs.rs) and the benefit-amount fields declared on them (weekly_benefit_amount, monthly_ssi_amount, monthly_benefit_amount); validate_payload refuses a payload carrying any listed name at any depth, nested objects and arrays included. canopy-snap’s ievs.discrepancy_resolved payload is additionally pinned figure-free in services/canopy-snap/src/events.rs.

Enforced in code

Discrepancy resolution: Worker can resolve income discrepancies

The case-detail Income tab offers Accept IEVS / Reject IEVS per pending discrepancy, and the Resolve discrepancy action records one of four resolution codes — see the caseworker guide. A discrepancy is raised when the variance exceeds DISCREPANCY_THRESHOLD (services/canopy-snap/src/verification.rs), a compiled $100/month constant rather than a ruleset key.

Enforced in code

Federal reporting: FNS-388 and FNS-7176 QC universe

canopy-reporting assembles from upstream services. FNS-7176 CSV export per column specification.

Enforced in code

Data Retention Policy

Data Type Minimum Retention Maximum Retention Authority

FTI audit logs

7 years

7 years

IRS Publication 1075 §4 / AU-11

HIPAA PHI audit logs

6 years

7 years

45 CFR §164.530(j)

IEVS match results

Per CMA term

CMA term + 1 year

State Computer Matching Agreement

SNAP determination records

3 years

7 years

7 CFR 272.1(f)

General audit events

3 years

Unestablished

No state series: the Georgia Archives DHS retention schedule (agency 144, checked 2026-09-19) has no series for system audit logs; the 3-year floor is the program records' federal floor (7 CFR 272.1(f) — canopy-security Data Model); the ceiling awaits #1303

Notice PDFs

3 years

7 years

7 CFR 272.1(f)

Benefit issuance records

3 years

7 years

7 USC §2016(h)

The Minimum / Maximum columns are the legal envelope (federal floor to records-schedule ceiling). The concrete retention bound — and whether purge is enabled — are per-jurisdiction ruleset values, per chain family (ADR-003 / ADR-011; legal-hold aware), chosen within that envelope and bounded below by the federal floor — never a source constant.

Archive management (current state): archive and purge of the audit hash chains are governed by the ADR-014 chain-v2 contract (§C7), which specifies a contiguous chain_seq prefix per shard (retention decides eligibility, chain_seq decides the boundary), verification from the previous trusted boundary, and an externally-signed per-shard boundary manifest before local deletion — superseding the earlier single-transaction POST /v1/security/archive sweep.

NOTE

Superseded by ADR-041. The FTI hash chain + the chain-v2 archive/purge machinery are being retired for a general logging + jurisdiction-owned redaction facility, with retention + legal-hold as a general config-driven lifecycle (#1303) and external tamper-evidence delegated to the deployment logging facility. The chain_seq-prefix archive contract above describes the outgoing mechanism; retirement is gated behind a proven replacement (#1304). The re-scoped batching/index/scheduling work for archive_old_events stays as #1208.

NIST SP 800-53 Control Mapping

NIST Architecture Mapping is the control-by-control mapping and the only page that maintains it. It covers ten families: AC (Access Control), AU (Audit and Accountability), IA (Identification and Authentication), SC (System and Communications Protection), SI (System and Information Integrity), CM (Configuration Management), MP (Media Protection), PE (Physical and Environmental Protection), PL (Planning) and RA (Risk Assessment).

Gap Analysis

Every row is either an open issue or a deployment obligation, and is named in the Status column above.

Gap Severity Remediation Plan

The 7-year FTI audit-record floor and legal hold are not enforced by code

High

#1303 (ADR-041) — the general config-driven retention + legal-hold lifecycle. Today retention is the archive ∪ live union, bounded operationally rather than by the code.

PHI field-level encryption beyond SSN and date of birth

Medium

Enable PostgreSQL TDE in the production deployment. No code change required.

BAA documentation template

Medium

State agency responsibility. Provide a template in the deployment guide.

Network-level segmentation documentation

Medium

Document in the deployment guide. Recommend a service mesh (Istio/Linkerd) for mTLS.

Edit this page · default