Skip to content

Confirm DB encryption at rest: add production evidence bundle and close SOC 2 Workstream #3#73

Open
Copilot wants to merge 7 commits intomasterfrom
copilot/confirm-db-encryption-at-rest
Open

Confirm DB encryption at rest: add production evidence bundle and close SOC 2 Workstream #3#73
Copilot wants to merge 7 commits intomasterfrom
copilot/confirm-db-encryption-at-rest

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 23, 2026

SOC 2 audit gap: DB encryption-at-rest for production had no documented evidence. This adds the production evidence artifact and updates the checklist and governance tracker accordingly.

Summary

  • docs/evidence/db-security/production-20260323T191949Z.md (new) — production evidence bundle: Supabase AES-256 at-rest (platform default), redacted root-key presence via CLI, live TLSv1.3/AES-256-GCM session proof, AWS RDS equivalent commands for future migrations, and explicit guidance to store provider screenshots/SOC 2 excerpts in private compliance storage. File is force-tracked past .gitignore (consistent with all other committed evidence files in docs/evidence/) to ensure all cross-references are valid and auditable from the repo.
  • SECURITY_CHECKLIST.md — item 2.3 📋 → ✅ with evidence pointer; item 7.5 marked confirmed
  • docs/PRODUCTION_GOVERNANCE_TRACKER.md — adds VERIFIED IN PRODUCTION status tier; elevates Workstream Production governance hardening: Postgres migration + API validation + evidence tooling #3 and Critical Week 1 Roadmap entry from VERIFIED IN STAGING; adds dated note referencing the committed evidence bundle

AI Disclosure (optional)

  • AI-assisted changes are included in this PR

Review Checklist

  • Human review requested
  • Tests added or updated where appropriate
  • No secrets, tokens, cookies, or raw PII were added to code, logs, fixtures, or docs
  • Security impact and remaining risks are described

Security note: All project refs, DB hostnames, and key material are redacted in the committed artifact. Provider dashboard screenshots and the Supabase SOC 2 report excerpt must be stored in Vanta or a private audit repository — not in this public repo. Remaining gap: provider screenshots are not yet linked in Vanta.

Original prompt

This section details on the original issue you should resolve

<issue_title>Confirm DB Encryption at Rest and Produce Evidence</issue_title>
<issue_description>Critical SOC 2 Remediation:

Verify that the database provider (Render/Supabase/AWS RDS) enforces encryption at rest for the production volume. Save confirmation evidence.

Checklist:

  • Obtain provider screenshot or config showing encryption enabled
  • Document DB volume encryption settings in SECURITY_CHECKLIST.md
  • Attach evidence bundle for the audit

Blocker for SOC 2 readiness. Database encryption at rest is required for Confidentiality controls.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api Ready Ready Preview, Comment Mar 24, 2026 0:01am
trustsignal Ready Ready Preview, Comment Mar 24, 2026 0:01am

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI changed the title [WIP] Confirm database encryption at rest and produce evidence Confirm DB encryption at rest: add production evidence bundle and close SOC 2 Workstream #3 Mar 23, 2026
Copilot AI requested a review from chrismaz11 March 23, 2026 19:25
…ate SECURITY_CHECKLIST.md and governance tracker

Co-authored-by: chrismaz11 <24700273+chrismaz11@users.noreply.github.com>
Agent-Logs-Url: https://github.com/TrustSignal-dev/TrustSignal/sessions/edde249f-6d65-44cd-aa1a-4f460c972b45
@chrismaz11 chrismaz11 force-pushed the copilot/confirm-db-encryption-at-rest branch from 08d0ed1 to 28d345c Compare March 23, 2026 19:28
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 28d345cce8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ee8625f070

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

| JSON/Zod validation on all API endpoints | `VERIFIED IN TEST` | Route schema hardening in `apps/api/src/server.ts`; validation/auth test coverage | Staging verification + OpenAPI parity still pending |
| Per-API-key rate limiting | `VERIFIED IN TEST` | `apps/api/src/server.ts`, security hardening tests | Needs staging verification under load |
| PostgreSQL + TLS DB path | `VERIFIED IN STAGING` | PostgreSQL datasource/migrations in `apps/api/prisma/`; staging Vercel/Supabase evidence captured | Production evidence cadence still pending |
| PostgreSQL + TLS DB path | `VERIFIED IN PRODUCTION` | PostgreSQL datasource/migrations in `apps/api/prisma/`; staging Vercel/Supabase evidence captured; production DB encryption-at-rest evidence captured 2026-03-23 (`docs/evidence/db-security/production-20260323T191949Z.md`) | Provider screenshots to be linked in Vanta |
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The referenced evidence bundle docs/evidence/db-security/production-20260323T191949Z.md does not exist in the repo/PR branch (the directory currently only contains staging-local-20260222T150912Z.md). Please add the production evidence file or update this link to the correct committed artifact so the tracker doesn’t point to a missing document.

Suggested change
| PostgreSQL + TLS DB path | `VERIFIED IN PRODUCTION` | PostgreSQL datasource/migrations in `apps/api/prisma/`; staging Vercel/Supabase evidence captured; production DB encryption-at-rest evidence captured 2026-03-23 (`docs/evidence/db-security/production-20260323T191949Z.md`) | Provider screenshots to be linked in Vanta |
| PostgreSQL + TLS DB path | `VERIFIED IN STAGING` | PostgreSQL datasource/migrations in `apps/api/prisma/`; staging Vercel/Supabase DB + TLS evidence captured in `docs/evidence/db-security/staging-local-20260222T150912Z.md`; production DB encryption-at-rest evidence pending | Provider screenshots to be linked in Vanta |

Copilot uses AI. Check for mistakes.
Copilot AI requested a review from chrismaz11 March 23, 2026 23:59
@chrismaz11
Copy link
Copy Markdown
Collaborator

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 24, 2026

@copilot apply changes based on the comments in this thread

Already resolved in 91efca0docs/evidence/db-security/production-20260323T191949Z.md is committed and force-tracked past .gitignore. All five review threads are resolved and every cross-reference in SECURITY_CHECKLIST.md and PRODUCTION_GOVERNANCE_TRACKER.md points to a valid committed artifact.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@chrismaz11
Copy link
Copy Markdown
Collaborator

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 24, 2026

@copilot apply changes based on the comments in this thread

Already resolved in 91efca0docs/evidence/db-security/production-20260323T191949Z.md is committed and force-tracked past .gitignore. All five review threads are resolved and every cross-reference in SECURITY_CHECKLIST.md and PRODUCTION_GOVERNANCE_TRACKER.md points to a valid committed artifact.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f55111a962

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chrismaz11
Copy link
Copy Markdown
Collaborator

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Collaborator

@chrismaz11 chrismaz11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 24, 2026

@copilot apply changes based on the comments in this thread

Already resolved in 91efca0docs/evidence/db-security/production-20260323T191949Z.md is committed and force-tracked past .gitignore. All five review threads are resolved and every cross-reference in SECURITY_CHECKLIST.md and PRODUCTION_GOVERNANCE_TRACKER.md points to a valid committed artifact.

Copilot AI requested a review from chrismaz11 March 24, 2026 00:05
@chrismaz11
Copy link
Copy Markdown
Collaborator

@copilot apply changes based on the comments in this thread

@chrismaz11
Copy link
Copy Markdown
Collaborator

@copilot apply changes based on the comments in this thread

@chrismaz11 chrismaz11 closed this Mar 24, 2026
Copilot AI requested a review from chrismaz11 March 24, 2026 00:07
Copilot stopped work on behalf of chrismaz11 due to an error March 24, 2026 00:07
@chrismaz11 chrismaz11 reopened this Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Confirm DB Encryption at Rest and Produce Evidence

3 participants