Security Model
A BYOC install keeps everything it stores in your own cloud project, so the controls you already have on that project apply to your data. Three principles follow from that: your data stays in your project, apart from the model calls you configure, and never reaches Captain, Captain sees only basic health telemetry about the install, once your team switches on the health report, and every access Captain has is granted by you and can be withdrawn at any time. Inside the install, each part runs under its own identity with only the permissions its job needs, so that a fault in one part does not expose what the others hold.
This page explains how each of those properties is achieved.
Control channel
Captain supports each install, but it does not run a control plane that manages installs, so the connections between an install and Captain are few and narrow. The table lists every connection an install has.
| Connection | Direction | Protocol | Purpose |
|---|---|---|---|
| People and API clients to the internal load balancer | Inbound, from your own network | HTTPS, or HTTP when you supply no certificate | Using the product |
| Pods to Google Cloud services in your project | Egress, on Google's private addresses | HTTPS, and TLS to Postgres | Storage, secrets, keys, change notices |
| Pods to the model endpoints you chose | Egress, through a private endpoint by default | HTTPS | Model calls |
| Install to Captain | Egress, to one host named at install | HTTPS | Health telemetry, and a health report when you send one |
| Outbound proxy to your sources | Egress, to the source hosts your settings name | HTTPS | Reading S3, Azure Blob and SharePoint sources |
Patches and new versions are prepared by Captain and applied with the installer, either by your team under its own Google identity or by Captain's support team with access that you grant for that purpose. That access is limited to the install, and you can withdraw it at any time.
The one connection from an install to Captain carries health telemetry. It is off until your team switches on the health report during the install. It goes to a single host whose name is set at install, the network rules allow no other Captain address, and an Admin can switch sending off at any time.
What crosses the project boundary
Sent to the model endpoints you chose:
| Data | Goes to | When |
|---|---|---|
| Page images, figure crops, chunk text | Your vision, tagging and embedding models | While a file is indexed |
| Query text | Your embedding model, and your rerank model with rerank on | On each search |
| Query text and candidate passages | Your rerank model | On each reranked search |
| Question, conversation and retrieved passages | Your chat model | On each chat turn |
| An invited person's email address, the inviter's name, a link | Your mail server | When mail is set. No document or query text |
Sent to Captain as health telemetry:
| Category | Examples |
|---|---|
| Health status | Which pods are running, their readiness and restarts |
| Resource metrics | Memory and disk use, and worker pool sizes |
| Install metadata | A random install id, the versions and image builds installed |
| Counts | Captain workflows and their outcomes |
Health telemetry never carries logs, file contents, file names, queries, chat, chunk text, metadata values, the names of people or keys. A health report that you choose to send adds the counts listed on the Operations page, under the same rules.
Stays in your project:
- Uploaded files, and the files derived from them: converted PDFs, OCR output and figure crops.
- Vectors, the keyword index and the stored text of each chunk.
- Accounts, password hashes, API key hashes and sessions.
- The access log, the deletion records and the settings history.
- Logs, metrics, backups and snapshots.
- Every secret and every encryption key.
Model Endpoints and Data lists the exact endpoint, credential and payload for each model call.
Bootstrap security
The install is bootstrapped by a script and a Terraform module, and your team runs both. It creates one Google service account for each group of pods, bound to its Kubernetes service account through workload identity, so the install has no service account key files.
The identity that runs the installer needs Owner on the project, or Editor together with Project IAM Admin, Security Admin and Service Networking Admin. It is your identity, and Captain never receives it.
The Terraform module grants the following roles to the install's own identities. Open an identity to see its roles. The list is complete: a check in Captain's build fails if the Terraform grants a role that is not named here.
A few identities that are not pods also receive roles, because Google's own services act on the install's behalf:
No pod is given a database role in Google. Pods sign in to Postgres with a password that comes from the install's secrets.
Three of these grants are broader than the work they are for, and a reviewer should know about them:
- The model roles apply to the whole project.
roles/aiplatform.userallows use of everything in Vertex AI in the project, not only the models the install names, because Google offers no narrower grant per model. Installing into a project that holds nothing else keeps this contained. - The install jobs' identity can read every secret of the install and the whole bucket. One identity copies the secrets into the cluster, runs the install check and calls the models, so it holds the rights for all three.
- The bucket prefixes are enforced by IAM conditions. The parser, the workers and Captain Vector DB are each limited to their own folders of the bucket by a condition on the object name, not by separate buckets.
Inside Kubernetes, only two identities hold any rights. The install jobs may create secrets and config maps in the install's namespace and read four named secrets, and the cluster reader may get and list six kinds in that namespace. Every other Captain pod runs without a Role.
More than one install in a project
Workload identity has a consequence when several installs share one Google Cloud project. Google Cloud keeps one identity pool for the whole project and matches a pod to its Google service account by namespace and service account name, without regard to which cluster the pod runs in. A pod that is started in one cluster under another install's namespace and account names therefore receives that install's identity, and with it access to that install's files.
The installer prevents this from happening by accident, because it refuses to create an install whose namespace name is already used by another install in the project. It cannot prevent a person who administers one of the clusters from creating such a namespace on purpose.
In practice this means that installs in one project are not isolated from each other's cluster administrators. Sharing a project works well when one team administers every install in it, for example one install for each business unit or tenant, all run by the same operators. Installs that are run by separate teams who must not reach each other's data need a project each.
How installs are laid out, one per project or several in one, for your own teams and for your own customers, is agreed in the contract and set up together with your Captain team before the first install. The agreement follows the rule above: installs that share a project share their administrators.
When you run several installs, one view of all of them is available with Captain's control plane. It is a separate Helm chart that you install on any cloud, in the same project or elsewhere. The control plane connects to each install that an Admin has allowed, over HTTPS with a certificate that install signed for it, and it can change nothing on an install. It shows the health, uptime, search latency and indexing jobs of every install, and it reads only counts, timings and versions, never document or query content. Your team runs it, so it gives Captain no access to the installs.
Infrastructure security
Compute
All of Captain's software runs on one GKE cluster in your project. These are the properties of that cluster that matter for security:
| Layer | Google Cloud |
|---|---|
| Compute | Shielded VMs with Secure Boot, with no public address |
| Kubernetes | GKE with private nodes. The control plane has no public IP |
| Pod identity | Workload identity. Each pod gets its own identity at the metadata server, never the node's |
| Network policy | Enforced by GKE Dataplane V2 |
| Containers | A fixed non-root user, no privilege escalation, every Linux capability dropped, the runtime's default system call filter |
Each pod is given only the secrets it uses, so that a compromised pod exposes as little as possible. For example, a worker never receives the sign-in signing key or the mail password, the web app never receives a database password, and the parser never receives a database password or Captain Vector DB's key.
The parser, the MCP server, the cluster reader and the install jobs run with a read-only root file system. The API, the workers and the web app do not yet, which is a known gap.
Patching
| Component | Method | Cadence |
|---|---|---|
| Node OS and Kubernetes | GKE upgrades | The release channel you set, REGULAR by default |
| Captain components | The installer, run with the new version by your team or by Captain's support team with access you grant | As Captain publishes versions |
| Container images | Delivered in an offline bundle that you load into your own registry, pinned by digest | With each version |
Captain prepares each patch and each new version of the Helm chart and the images, and delivers it to you. It is applied by your team, or by Captain's support team with access that you grant for that purpose, limited to the install and revocable at any time.
Encryption
Google encrypts every store at rest by default, with keys that Google holds. If your policy requires keys that you control, turn on customer-managed encryption keys (CMEK), and each store is encrypted with a key in your own Cloud KMS instead. One line in the Terraform variables turns it on:
cmek = { enabled = true }The installer creates one key for each store:
| Store | Key |
|---|---|
| Kubernetes secrets in the cluster | cmek-cluster-secrets |
| Node boot disks and Captain Vector DB's disks | cmek-disks |
| The database, its backups and its standby | cmek-database |
| The bucket: uploads, parsed output, snapshots | cmek-bucket |
| The image registries | cmek-registry |
| Secret Manager secrets | cmek-secrets |
| The real-time sync topic | cmek-messages |
| The install's log bucket | cmek-logs |
A few properties of these keys matter for a review:
- Cloud KMS rotates each key every 90 days.
- Each key is granted to one Google service agent only, the one that runs its store. No identity of the install can use any of the keys directly.
- The keys are created in the install's own key ring, or in a key ring that you name in the same region.
- With CMEK on, the project can also carry the organization policy that refuses Google-held keys (
constraints/gcp.restrictNonCmekServices). - If you disable or destroy a key, the data it protects becomes unreadable, including backups, and Captain cannot recover it.
CMEK has run on installs made from scratch, one under the organization policy above and one together with the US-only model endpoint. Choose it at the first install. Turning it on for an install that is already running replaces the database, the registries and the node pools, because Google cannot change their key in place. Installation describes what that involves.
Some values are protected separately from the stores they sit in. Credentials for your source buckets are sealed with their own Cloud KMS key, which only the API and the workers can use. Passwords are stored as argon2id hashes, and API keys, refresh tokens and invitation tokens are stored as hashes too, so the original values cannot be read back from the database.
How traffic is protected depends on the path it takes. Connections that leave the cluster are encrypted. Traffic between pods inside the cluster is not encrypted by the install, so the table states that plainly.
| Path | Protection |
|---|---|
| Pods to Postgres | TLS required by the database (ENCRYPTED_ONLY). Every client verifies the server certificate by authority and by name |
| Pods to Google APIs, model endpoints and source buckets | HTTPS |
| People to the install, private access | Over your network. HTTPS when you supply a certificate for the internal load balancer, plain HTTP inside the network when you do not |
| Between pods in the cluster | Not encrypted by the install. Network rules and per-service keys limit who can call what |
If traffic on your own network has to be encrypted all the way to the install, supply a certificate for the internal load balancer.
Secrets
Secrets live in your project's Secret Manager, and the install is arranged so that they stay there:
- The settings files hold only the names of secrets. A key or a password is never written in one.
- The cloud step generates every internal secret and stores it in Secret Manager. Before any pod starts, a job copies the secrets into four Kubernetes secrets for the pods to read.
- No identity of the install can write to Secret Manager. A rotation therefore has to be started from outside the install, by a person or by your own scheduler.
- A key that you bring, such as a mail password or an Anthropic or OpenAI key, is a Secret Manager secret that you create and then name in settings. Its value is piped in, so it never appears in a file or a command argument.
Terraform's state is the one place outside Secret Manager that holds every generated secret. It is kept in a private, versioned bucket in your project, and you control who can read that bucket.
Some keys rotate without any action, some have a command, and a few cannot be rotated yet. The table shows which is which, and what people will notice during each rotation.
| What | How | Effect |
|---|---|---|
| Pod identities | Short-lived tokens, renewed by Google | None |
| The sealing key and every CMEK key | Cloud KMS makes a new version every 90 days. Older versions still open what they sealed | None |
| The sign-in signing key | ./install.sh rotate signing-key | Nobody is signed out |
| The internal keys | ./install.sh rotate internal-keys | Nobody is signed out. Pods restart one at a time |
| A model key you brought | ./install.sh rotate model-key <secret name> | The new key is added as the newest version of your secret, and the software step runs again |
| The database's certificate authority | Three steps, with the installer in the middle | Pods restart one at a time |
| Database passwords, the parser's key, Captain Vector DB's key, the session key | No command yet. Ask your Captain team |
To help with a rotation policy, the install check reports the age of each key against the limit you set (security.keyMaxAgeDays, 365 days by default).
Network isolation
An install has a VPC to itself. Its nodes are private, and the network refuses the internet except HTTPS through the install's proxy to the hosts its settings name. On top of that, three separate layers restrict where a pod may send traffic:
| Layer | What it does | Default |
|---|---|---|
| Outbound check in the code | The API, the workers and the parser refuse any host that the install's settings do not name | egress.mode: enforce |
| Kubernetes NetworkPolicy | Default-deny for every Captain pod, with a fixed list of allowed destinations | networkPolicy.enabled: true |
| VPC firewall | Refuses every outbound packet except to private addresses, Google's private API addresses, the telemetry host named at install and, with sync_other_clouds = true, HTTPS from the outbound proxy | block_internet_egress = true |
Inbound, the internal load balancer is the only part that accepts traffic from outside the cluster, and Networking explains how to reach it from your networks. Outbound, a pod can reach the destinations listed below and nothing else, because the rest of the internet is refused by the firewall rule.
Traffic between pods inside the cluster is not encrypted by the install, so what limits which part can call which is the network rules and the key that each service asks for.
Allowed outbound destinations
With the defaults, a Captain pod can reach only the destinations in this table. Anything else is refused by the network rules.
| Destination | Address | Why |
|---|---|---|
| Other pods in the install's namespace | The namespace | The parts call each other |
| DNS | kube-system, port 53 | Name lookups |
| The metadata server | 169.254.169.254, 169.254.169.252 | Each pod gets its own identity there, never the node's |
| Google APIs | 199.36.153.8/30, 199.36.153.4/30, port 443 | Cloud Storage, Secret Manager, Cloud KMS, Pub/Sub, Vertex AI, sign-in tokens |
| The US model endpoint | One Private Service Connect address in your network, port 443 | Model calls that stay in the United States |
| Postgres | One private address, the database port | Product data |
| The internal load balancer | One address, ports 80 and 443 | Calls made through the install's own address |
| Captain's telemetry host | One host, whose name is set at install, port 443 | Health telemetry |
| The outbound proxy | captain-sync-proxy, for the API and the workers only | S3, Azure Blob and SharePoint sources, by host name, port 443 |
| Anything you add | Address ranges in networkPolicy.extraCidrs, or host names with networkPolicy.fqdn on GKE | A mail server, a source bucket endpoint, a model provider reached with your own key |
The outbound check inside the code works by host name. It builds its list from the install's own settings: the bucket, Secret Manager, Cloud KMS, Google's sign-in hosts for workload identity, the model hosts, the Pub/Sub host when real-time sync is on, the mail server when one is set, and any host you add by name. The Captain hosts on that list are the ones you name: the telemetry host, and the release list and health report addresses when you set them.
Inbound rules
Inside the cluster, the services that do not ask a caller to identify itself are protected by network rules instead, and the rest ask for a key or a sign-in:
- Captain workflows (Temporal) accept calls only from the API, the workers, the install jobs and their own pods.
- Captain Vector DB's cluster port accepts calls only from its own replicas, and its API ports ask for a key.
- The word converter accepts calls only from the document worker.
- The metrics address accepts calls only from the namespaces you name.
- The API, the parser and the web app accept connections from inside the cluster, and each asks for a key or a sign-in.
Source connectivity
Sync keeps a collection up to date with a bucket. To do that without opening a way in, the install never accepts a connection from a storage provider. Each cloud puts the bucket's change notices on a queue in that cloud, and the install reads the queue over outbound HTTPS. A scheduled listing of the bucket also runs, and it catches anything the queue missed.
The install treats a change notice as a hint and never as content. It takes only the object's name from the notice and then reads the object itself with its own credential. For a removal, it first checks that the object is really gone. Someone who could write to the queue could therefore make the install read a file again, but could not put text into the index or make it delete a document whose file still exists.
| Source | Change notices | Credential |
|---|---|---|
| Google Cloud Storage, same project | Pub/Sub pull, over Google's private API addresses | The pod's workload identity. No key |
| Google Cloud Storage, another project | Pub/Sub pull from that project's subscription | Workload identity, granted on the other project's bucket and subscription |
| Amazon S3 | EventBridge to SQS in the bucket's account, read by long poll | An AWS role that trusts the install's Google identity. No AWS key |
| Azure Blob Storage | Event Grid to a Storage Queue in the same account, read by polling | A managed identity with a federated credential that trusts the install's Google identity. No account key |
| SharePoint | Microsoft Graph's change feed, read on a schedule you choose | Your own Entra ID app registration, with read access to the sites you grant |
Sources in AWS, Azure or SharePoint are reached through one small proxy that the install runs, captain-sync-proxy. Only the API and the workers may use it, it connects only to the host names of your sources on port 443, and it never decrypts the traffic. On Google Cloud, set sync_other_clouds = true in terraform.tfvars so the proxy can send HTTPS out. Installation has the setup steps. Federation is the recommended credential, so no key is stored. Where a policy does not allow federation, a sync can use an access key or an account key, which the install seals with its own Cloud KMS key.
Adding a destination
To let the install reach something new, such as a mail server, allow it in both layers. The outbound check takes host names and the network rule takes address ranges, and a pod can reach the host only when both allow it.
networkPolicy:
extraHosts: ["smtp.example.internal"] # the outbound check, by name
extraCidrs: [{cidr: 10.20.0.0/24, ports: [587]}] # the network rule, by addressBecause a Kubernetes NetworkPolicy matches addresses and not names, everything inside a range you allow becomes reachable, so keep the ranges narrow. On GKE with FQDN network policy switched on, you can set networkPolicy.fqdn.enabled to allow the same hosts by name instead.
Data sovereignty
Your data is stored only in your own cloud account, in the stores listed below. Content leaves the project in one case, which is a model call to an endpoint you chose. Logs go to a log bucket in the install's region, where your team can read them, and they never leave the project. Captain receives only basic health telemetry, which holds no logs and none of your data.
| Store | Holds | Encrypted with | Backed up by |
|---|---|---|---|
| Postgres | Accounts and password hashes, organizations, API key hashes, collections, document records, chunk text, access log, deletion records, settings history, job state | Google's key, or your Cloud KMS key with CMEK on | Cloud SQL: daily backups (14 kept) and 7 days of point-in-time recovery |
| Captain Vector DB disks | Vectors, chunk text, the keyword index | Google's key, or your key with CMEK on | A nightly snapshot per collection to the bucket, kept 14 days |
| Bucket | Original uploads, converted PDFs, OCR output, figure crops, work files, snapshots | Google's key, or your key with CMEK on | Object versioning. Replaced or deleted objects are kept 30 days |
| Secret Manager | Database passwords, internal keys, the token signing key, the setup code, any model or mail key you add | Google's key, or your key with CMEK on | Secret versions |
| Kubernetes secrets | Copies of the secrets above, for the pods | GKE, or your key with CMEK on | Not needed. A job copies them again |
| Log bucket | Pod, node and database logs. No document, query or chat text | Google's key, or your key with CMEK on | Kept 30 days by default |
| Terraform state bucket | The record of the install, including every generated secret | Google's key, or your key with CMEK on | Object versioning. Access is yours to limit |
Audit
| Record | Holds | Kept |
|---|---|---|
| Access log | One row per search, list, document or chunk open, page preview, download link, chat turn and MCP call: when, who (a person's id or an API key's id, never the key), the action, the collection and document ids, and the status | 365 days by default (retention.accessLogDays) |
| Deletion record | What was deleted (ids only), who asked, when it completed, and how many rows, files and vectors went | Always |
| Settings history | Who changed which setting, from what to what. Secrets are named by source only | Always |
| Health reports | Every health report downloaded or sent, in full, and who made it | The last 200 |
| Google Cloud audit logs | Admin Activity for the project, written by Google | 400 days, in the project's _Required bucket |
None of Captain's records holds the text of a question, a document or a chat, and none holds a file name. They refer to collections and documents by id. The access log can be filtered by person, key, collection, document, action and time.
The same care applies to operational data. Logs, metrics and traces carry no question text, no file names and no email addresses. Logs go to a log bucket of their own in the install's region, where they are kept for 30 days by default.
Retention and deletion
By default an install keeps as little about people's use as the product needs, and an install Admin can change each period in Settings.
| Data | Default | Set by |
|---|---|---|
| Query text | Kept, with no end date. A search also leaves who, which collection, when, how long and how many results | An Admin, in Settings, Installation, Retention (retention.storeQueryText) |
| Query text, removed after | Never, until an Admin sets a number of days | An Admin, in Settings, Installation, Retention (retention.queryTextDays) |
| Chat messages | 30 days | An Admin (retention.chatDays) |
| Access log | 365 days | An Admin (retention.accessLogDays) |
| Logs | 30 days | The installer (log_retention_days) |
A pass runs every night to remove whatever has passed its retention period, and it leaves a record of what it removed.
Deleting a document or a collection removes the content itself, not only the entry in the list. Within one hour of a delete, the following are gone:
- Every chunk row with its text, and the document's record with its source name.
- The original upload, the converted PDF, the OCR output, the chunk files and the figure crops, including every kept version of each.
- The vectors and the text stored with them.
Some copies cannot be reached one document at a time, so they age out on their own schedule instead. Database backups are kept for 14 days and point-in-time logs for 7, Captain Vector DB snapshots for 14 days, and an indexing job's batch files for 7. Taken together, a deleted document is gone from every copy within 21 days. A restore made before then brings the document back, so delete it again after any restore. The install never deletes files in your own source buckets.
Sign-in and roles
Accounts
An install keeps its own accounts in its own Postgres database, so sign-in works without any outside service. The table lists the rules that apply to those accounts.
| Rule | Value |
|---|---|
| Accounts | Local to the install, in its own Postgres |
| Who can join | Only people an owner or admin invites. No self-signup |
| First account | The first person to open the app creates the admin account. A setup code can be required first |
| Passwords | 12 to 256 characters, stored only as an argon2id hash |
| Account lockout | 5 wrong passwords in 15 minutes lock the account for 15 minutes |
| Address lockout | 20 wrong passwords from one address in 15 minutes block it for 15 minutes |
| Access tokens | Signed by the install's own key (RS256), valid 15 minutes |
| Sessions | 30 days from each renewal. A renewal token works once. A token replayed later ends every session of that sign-in |
| Sign-out | Refresh sessions are revoked at once. An access token already issued stays valid up to 15 minutes |
| Failure messages | The same answer for an unknown email and a wrong password |
| Removed people | Their sessions end at once. Their record stays, for the history of what they did |
Single sign-on
If your company has an identity provider, an install Admin can add single sign-on, so that people sign in with their company account instead of a separate password. The install supports any provider that speaks OpenID Connect with the authorization-code flow and PKCE. The whole flow is in place: the settings, the redirect to the provider, the callback, the session, and a role on first login that is taken from the provider's groups.
When a person signs in this way, the install checks the ID token's signature, issuer, audience, expiry and nonce, and it refuses tokens that are unsigned or signed with HMAC. An Admin can also turn on "Require single sign-on", which switches password sign-in off for everyone except the install's Admins. Admins keep their passwords so that they can still get in and fix the settings if the provider is down or misconfigured.
To set it up, register Captain as an application in your provider, then enter the issuer, the client id and the client secret in Settings, Sign-in. Sign in once with your company account before you turn on "Require single sign-on". A provider that only speaks SAML needs an OpenID Connect broker in front of it.
Roles
Rights come from two separate places. A person's role in their organization decides what they can do with that organization's people and data, and a separate Admin mark on the install decides who can change settings for the install as a whole.
| Role | Can do |
|---|---|
| Member | Work in the organization |
| Admin (organization) | Everything a member can, plus invite, remove and change people |
| Owner (organization) | Everything an admin can, plus make another owner. An organization always keeps at least one owner |
| Admin (install) | Change install settings: models, retention, mail, sign-in. Read the access log, the deletion record and the Monitoring page. An install always keeps at least one Admin |
The install settings are hidden from everyone else: a request from someone who is not an install Admin gets 404, the same answer as a path that does not exist. Each setting is chosen from a list of known values and is never free text, and when an Admin changes a model, the install calls that model once for real before it saves the change.
Supply chain
Captain sends each release to you as a Helm chart with the Terraform module and the installer, which together make the installer kit, and an offline bundle of the container images. The file release.yaml names the chart and every image by digest. The bundle's loader pushes each image into an Artifact Registry in your own project and stops at the first image whose digest does not match, and before it installs anything the installer checks that the chart in your registry is the one release.yaml names. Because the registry is yours, your own image scanning and admission policy apply to every image. During an install, the installing machine downloads Terraform providers. The cluster itself has no route to the public internet.
The installer kit carries a checksum file, SHA256SUMS, which catches a transfer that was damaged or cut short. Receive the kit over a channel you trust, and compare it with what your Captain team sent.
Shared responsibility
Captain writes and ships the software, and your team runs it in your own account, so security is shared between the two. The table shows which side is responsible for each area.
| Area | Captain | Your team |
|---|---|---|
| Release | Delivers each release as an installer kit and an offline image bundle, pinned by digest | Loads the bundle into your own registry, and applies your own scanning |
| Cloud project | No standing credential or role. Uses only the access you grant for support, limited to the install | The project, its IAM, its organization policies and its billing, and any access you grant Captain |
| Encryption keys | Ships the Terraform that makes one key per use | Owns the Cloud KMS keys and the key ring. Disabling a key makes its data unreadable |
| Network | Ships default-deny pod rules, a firewall that refuses internet egress and an outbound check in the code, with one host allowed for telemetry and an outbound proxy for sources in other clouds | The path in (VPN or interconnect), any firewall in front, and each extra host you allow |
| Identities | Ships one service account per group of pods, with the roles listed below | Who may run the installer and who may reach the cluster |
| Sign-in | Ships local accounts, roles, lockouts and single sign-on | Invites and removes people. Creates and revokes API keys. Runs your identity provider |
| Models | Ships the model calls, the US residency guard and the cache switch | Provider agreements, any business associate agreement, quotas and keys |
| Data lifecycle | Ships deletion, retention passes and their records | Chooses retention. Tests restores. Deletes the Terraform state when the install is retired |
| Patching | Prepares and delivers patches and new versions, and applies them when you grant access for it | Applies them, or grants Captain the access to apply them. GKE upgrades follow the release channel you set |
| Monitoring | Ships metrics, alert rules and a Monitoring page, and watches the health telemetry | Watches them, and watches Cloud SQL and spend in Google Cloud |
| Incident response | Fixes the software and tells you what a release changes | Detects, contains and reports incidents in your project |
Customer controls
| Action | How |
|---|---|
| See what is sent to Captain | Every health report that was sent is kept in full in the settings history. The network rule captain-egress-health-report names the one host it may reach |
| Stop sending telemetry | An Admin switches sending off, or the installer removes the host from the settings |
| Withdraw Captain's access | Remove the access you granted for support. No other path gives Captain a way into the install |
| See every right an identity holds | gcloud projects get-iam-policy, and the tables on this page |
| Cut the install off from a model provider | Remove that provider's roles or key. The install check then names the model that refuses |
| Stop storing query text | An Admin turns it off in Settings, Installation, Retention |
| Read who accessed what | The access log, as JSON or CSV |
| Revoke a person or a key | Remove the member, or revoke the API key. Sessions end at once |
| Make all data unreadable | Disable the CMEK keys |
| Remove the install | ./install.sh uninstall. See Installation |
Frequently asked questions
To report a security concern in the software, write to security@captain.dev or to your Captain team.