Compliance

A BYOC install runs in your own cloud account, with your identities, your encryption keys and your agreements with Google and with model providers. Regulated data therefore stays inside the boundary that your compliance program already covers, and Captain never receives it, because the most an install sends Captain is basic health telemetry with no data in it, and only once your team switches on the health report.

This page is written for a team that handles health data. It maps what the edition does to the safeguards a health-data review asks about, and it says which controls remain your team's responsibility.

This page describes technical controls. It is not legal advice, and using BYOC does not by itself make a deployment compliant with HIPAA or any other rule. Your compliance team makes that decision for your environment.

Where Captain stands

Captain's role in a BYOC install is that of a software supplier that also supports the install. Captain receives no protected health information from an install, because the only thing an install sends Captain is basic health telemetry, once your team switches on the health report, and any access Captain's support team has is access that you grant for applying patches, limited to the install and revocable at any time. Captain does not host the install either: Google Cloud hosts it under your agreement with Google, and model providers process prompts under your agreements with them.

The health telemetry that reaches Captain describes which pods run, their readiness, restarts and resource use, the versions installed, and counts of Captain workflows and their outcomes. It never carries logs, file contents, file names, queries, chat, chunk text, metadata values, the names of people or keys.

Captain holds a SOC 2 Type II report, which you can request at the Captain trust center. Captain offers a business associate agreement, and your Captain team handles it together with the other agreements between your organization and Captain.

Agreements that are yours

Because the install runs on services in your account, the agreements that cover the data are the ones you hold with those services.

PartyWhyWhere to look
Google CloudHosts every store and, by default, every modelYour Google Cloud agreement, and a business associate agreement with Google where one applies
Model providers you addProcess page images, chunk text, queries and chatYour agreement with Anthropic or OpenAI. See Model Endpoints and Data
Your identity providerAuthenticates people when single sign-on is onYour existing agreement
Your mail serverCarries invitations and alerts. No document or query textYour existing agreement

One service needs a closer look. Google's ranking service is not named separately on Google's list of HIPAA-covered products. Ask Google before you send regulated data to it, or use a Gemini model for ranking instead.

Controls by safeguard

The sections below follow the technical safeguards of the HIPAA Security Rule. For each control, the table says what the edition does and what your team needs to do.

Access control

ControlThe editionYour team
Unique user identificationEach person has their own account. Each API key has its own id. Access records name the person or the keyInvite each person individually. Issue one key per system
Least privilegeThree organization roles and a separate install Admin. One Google service account per group of pods, with the roles on the Security pageAssign roles. Limit who can reach the cluster and the project
Emergency accessWith single sign-on required, install Admins keep password sign-in as the way back inKeep at least two Admins. Store their credentials under your own procedure
Automatic logoffAccess tokens last 15 minutes. Sessions end 30 days after the last renewalBoth lifetimes are settings. Shorten them if your policy asks for less
Encryption and decryptionCustomer-managed keys for every store at restOwn the keys, their rotation policy and who may administer them

Audit controls

ControlThe editionYour team
Record of accessAn access log of every search, document open, preview, download link, chat turn and agent call: who, what, when. Kept 365 days by defaultReview it. Export it to your SIEM as JSON or CSV. Set the retention your policy requires
Record of changesA settings history with old and new values, and a deletion record with who askedReview it
Infrastructure logsPod, node and database logs in a log bucket in the install's region, with no document, query or chat textGoogle Cloud audit logs, alerting and log retention for the project

Integrity

ControlThe editionYour team
Data is not altered or destroyed improperlyBucket versioning, daily database backups with point-in-time recovery, nightly Captain Vector DB snapshots. A delete records who askedTest restores. Protect the keys
Software integrityEach release names the chart and every image by digest, and the image loader and the installer check themApply your own image scanning and admission policy to your registry

Person or entity authentication

ControlThe editionYour team
AuthenticationPasswords of 12 characters or more, stored as argon2id hashes. Lockout after 5 wrong passwords. Single sign-on by OpenID ConnectEnforce multi-factor authentication at your identity provider once single sign-on is on. Local accounts have no second factor
Service authenticationWorkload identity for every pod. No service account key filesOrganization policies that forbid key files are supported

Transmission security

ControlThe editionYour team
Encryption in transitTLS to the database with certificate verification. HTTPS to Google APIs, model endpoints and source bucketsSupply a certificate for the internal load balancer. Decide whether traffic between pods needs a service mesh
Network isolationNo public address, default-deny pod rules, an outbound check in the code. Outbound traffic goes only to the hosts the settings name: the telemetry host toward Captain, and your sync sources through the outbound proxyThe VPN or interconnect, and any firewall in front

Data minimization and retention

By default an install keeps as little as the product needs. These are the defaults.

ControlDefault
Query textKept, with no end date. An Admin can turn it off or set a number of days
Chat messagesRemoved after 30 days
Logs30 days, with no document, query or chat text
Deleted documentsContent removed within one hour. Gone from backups within 21 days
Model prompt caching on Vertex AITurned off for the project by the install
Model locationUnited States only, enforced by the residency guard

An install Admin can change each retention period in Settings, and every change is recorded in the settings history.

Organization policies the install runs under

An install has been made from an empty project with all of the following Google Cloud organization policies in force, which are typical of a healthcare organization's setup:

  • No service account key creation.
  • No external IP addresses on VMs.
  • Shielded VMs with Secure Boot.
  • OS Login.
  • Resource locations limited to the United States.

With CMEK on, the project can also carry the policy that refuses Google-held keys (constraints/gcp.restrictNonCmekServices).

What remains yours

The edition provides the controls above, but several obligations stay with your team because only you can meet them:

  • The risk analysis for your environment, and the decision that the deployment meets your obligations.
  • The agreements with Google Cloud and with each model provider.
  • Workforce access, meaning who is invited, who is removed, and how quickly.
  • Multi-factor authentication, which you enforce through your identity provider.
  • Monitoring, alert response and incident response in your project.
  • Breach notification to your own patients, customers and regulators.
  • Patching, which means applying each Captain release, or granting Captain's support team the access to apply it, and GKE's own upgrades.
  • Testing backups, and the disaster recovery plan.
  • The classification of the files you index. Files are indexed as they are.

Documents for a review

These are the documents a review usually asks for, and where to find each one.

DocumentWhere
SOC 2 Type II reportRequest it at the Captain trust center
Security modelSecurity
Model endpoints and payloadsModel Endpoints and Data
Third-party components and licencesTHIRD_PARTY.md, which ships with the installer
Security questionnaire answersFrom your Captain team
Was this page helpful?