Security & Privacy
Cluvio connects to your database, runs the SQL your dashboards are built on and shows the results to the people you choose. To do that it holds three kinds of data, and they are treated differently:
- Account data: users, dashboards, reports, SQL, settings and datasource credentials. This is kept for as long as your account exists, and deleted 90 days after it ends.
- Database metadata: the schemas, tables and columns of a connected database, kept while the datasource exists.
- Query results: rows returned by your database. These are kept only for a short time so that dashboards load quickly. They are never kept permanently.
This page describes how each of them is protected. It covers the hosting and network architecture, how Cluvio connects to your database, encryption, signing in, permissions, auditing, script steps and AI features.
The retention periods on this page apply from January 5, 2027.
- Your browser calls the Cluvio API over HTTPS.
- The backend checks your permissions and hands the query to an executor.
- The executor connects to your database directly, through your SSH server, or through the tunnel your Cluvio Agent opened.
- The result goes to the result server, which keeps it in encrypted S3 storage in the same region.
- Your browser downloads the result with a token that expires after 5 minutes.
Arrows point from whoever opens the connection. Data flows both ways over each.
Hosting and regions
Cluvio runs entirely on Amazon Web Services, in one of two locations. You choose the location when you sign up, and your organization stays there:
| Account location | AWS region | Disaster recovery region |
|---|---|---|
| EU | eu-central-1 (Frankfurt, Germany) | eu-west-3 (Paris, France) |
| US | us-west-2 (Oregon, USA) | us-east-2 (Ohio, USA) |
The two locations are separate installations. Each has its own databases, caches, storage and services, and neither trusts sessions or tokens issued by the other. Your account data and query results are processed and stored only in your account's location. One small directory is shared between the two: it maps e-mail addresses, and hashes of sharing-link tokens, to a location. The login page and sharing links use it to send you to the right one.
Within a region, every tier runs across three availability zones. The application servers are in auto-scaling groups and the account database is a Multi-AZ Amazon RDS instance, so losing a zone does not take Cluvio down. For a disaster that affects the whole region, a daily encrypted backup of the account database is copied to the disaster recovery region, which is in the same geography, so EU data stays in the EU. A second set of outgoing IP addresses is reserved there in advance. If you use a direct connection or an SSH tunnel and restrict access to your database by IP address, allow these addresses alongside the primary ones, so database access keeps working if Cluvio is restored in the disaster recovery region. Cluvio Agents need none of this: they connect out to Cluvio, so no IP address has to be allowed, before or after a recovery. Restoring from the backup copy can lose up to 24 hours of changes.
Backups
The account database is backed up continuously with AWS Backup, so it can be restored to any point in time within the backup period, and a full backup is taken every day. Backups, including the copy in the second region, are encrypted and kept for at most 35 days. If the database has to be restored from a backup, everything deleted since that backup was taken, whether by you or by the retention periods below, is deleted again.
Current availability and past incidents are published at status.cluvio.com.
Network architecture
In each region Cluvio runs in its own Amazon VPC. Only AWS-managed network components face the internet: load balancers that accept HTTPS only, the endpoint Cluvio Agents connect to, which accepts TLS only, and the NAT gateways that every connection to your databases leaves through, from fixed IP addresses. The application services and data stores have no public IP addresses and cannot be reached from the internet other than through those load balancers. Only one service, the query executor, connects to your databases.
Traffic between Cluvio's services is encrypted with TLS. The one exception is a query to a database connected through a Cluvio Agent without Require SSL, which crosses the private subnets in plaintext (see Cluvio Agents below). The account database (PostgreSQL) and Redis accept only encrypted connections. Traffic to Amazon S3 stays within the AWS network. The infrastructure is defined as code, and changes to it are reviewed like any other change. The web app itself is static code served through Amazon CloudFront. Your data never comes from there, only from Cluvio's API and result servers.
Connecting your database
Cluvio needs to reach your database to run queries. It never needs anything else from your network. There are three ways to connect, and which one you choose determines what you have to open in your firewall:
| Cluvio Agent | SSH tunnel | Direct connection | |
|---|---|---|---|
| Inbound firewall rule | None. The agent connects out. | SSH port on one host, from Cluvio's six IPs | Database port, from Cluvio's six IPs |
| Encryption between Cluvio and your network | TLS | SSH | Database TLS (see below) |
| Database needs a public IP | No | No | Yes |
| How Cluvio is authenticated | Agent ID and key pair, verified by challenge-response | Cluvio's SSH key in authorized_keys | Database user and password |
| Cutting off access | Disable or delete the agent in Cluvio, or stop it | Remove the key | Firewall rule or database user |
Cluvio Agents are the recommended choice for any database that is not a cloud service. The agent is open source and runs next to your database. It opens an outbound TLS connection to Cluvio and proves who it is by decrypting a challenge with its private key. Cluvio then checks that the agent is enabled. Queries travel through that tunnel, so nothing inside your network needs to accept connections from outside. Deleting an agent disconnects it immediately, and it cannot reconnect afterwards. The tunnel itself is always TLS. The database's own protocol inside it is encrypted only if you select Require SSL in the datasource, in which case your database negotiates TLS with Cluvio through the tunnel. Without it, queries and results are plaintext on the short stretch between the query executor and the agent gateway, inside Cluvio's private subnets, and again between your agent and your database.
SSH tunnels use a key pair whose private half only Cluvio holds. You can restrict
the key in authorized_keys so that it can only forward to your database's host and port,
with no shell (see SSH Tunnels).
Direct connections use the database's own protocol. Select Require SSL in the datasource. Without it, Cluvio tries TLS first but falls back to an unencrypted connection if the database does not offer TLS. For some databases you can also have the server certificate verified. This works for certificates from public certificate authorities, not for self-signed or private CAs, which is one more reason to prefer an agent for self-hosted databases. Redshift, BigQuery, Snowflake, Athena and Databricks always encrypt.
Whatever the connection mode, give Cluvio a read-only database user. Cluvio runs whatever SQL your Admins and Analysts write, so the database user is what decides whether that SQL can change data.
What Cluvio runs on your database
Cluvio only ever runs SQL, and only for these reasons:
- Metadata: when a datasource is connected, and then once a day, to read the database version, time zone, connection limit, schemas, tables, columns and row counts. You can turn the daily refresh off in the datasource settings.
- Queries a person runs: SQL that an authorized user runs in the report editor. The exact SQL sent is shown on the Results tab.
- Dashboards and reports: when someone refreshes a report or dashboard, or opens one whose result is not in the cache or is older than its freshness setting, or changes filters to a combination that is not cached.
- Schedules you configure: SQL alerts, scheduled e-mails and filters whose values refresh on a schedule.
Your data
Query results
Query results go from the executor to the result server, which keeps them in Amazon S3 in your region with server-side encryption. Your browser fetches a result directly from the result server using a token that is valid for 5 minutes and bound to that result. Results are never written into the account database.
Every result expires after 24 hours, whether it serves a dashboard, an alert, a schedule or a query run in the report editor, and is then deleted automatically. An Admin who has accepted Cluvio's data processing agreement can choose 30 days instead, under Result data and email retention in the organization's Legal & Compliance settings. S3 removes expired objects in a daily sweep, so a result can remain in storage for up to a day longer.
Exported files (CSV, Excel, PDF) are offered through download links that expire after one day, and the files themselves follow the same retention as results. So do the copies of e-mails Cluvio keeps for its e-mail log, such as scheduled reports.
Execution records
Each query or script run is recorded with its SQL or script, parameters, user and time, not its result rows. After a day these records move from the account database to an archive in Amazon S3 in your region, encrypted, where they are kept for 12 months. For organizations with a HIPAA Business Associate Agreement, or with extended audit retention, a second copy of their records is kept for 7 years. When an organization is deleted, its execution records are removed from the archive as well.
Search indexing
Search finds dashboards and reports by what they are about as well as by the words they contain. To do that, the following are turned into embeddings, numeric fingerprints of their meaning:
- the names and descriptions of dashboards, reports, filters, SQL alerts and SQL snippets;
- the SQL or script code of reports and snippets, with snippets expanded;
- the terms you type into search.
Embeddings are computed by the Amazon Titan Text Embeddings model on Amazon Bedrock, inside Cluvio's AWS account and in your account's own region. They are stored in your region's account database. Per AWS's Bedrock data protection terms, Bedrock does not store this input or use it to train any model. Query results are never indexed. Indexing is part of how search works and does not depend on the AI settings described under AI features.
Encryption at rest
The account database and its backups are encrypted at rest, and so is the S3 storage used for query results and exports. On top of that, secrets are encrypted by the application with 256-bit keys before they are written to the database. A copy of the database alone therefore does not reveal them. This applies to:
- datasource passwords, key files and connection strings;
- passwords on sharing links;
- the secrets behind authenticator-app two-factor authentication;
- your organization's embedding secret;
- script secrets (see Script steps).
User passwords are not stored at all. Only a salted bcrypt hash is kept.
Data in transit
Every connection to Cluvio uses HTTPS. Plain HTTP is redirected, and browsers are told through HSTS never to try it again. Every API call that touches account data or query results is authenticated and checked against the caller's permissions.
Physical media
All storage is AWS storage. AWS decommissions storage devices following NIST 800-88 and destroys them inside its own facilities. See the AWS data center controls.
Signing in
Passwords
- Passwords have a minimum length, and the most common passwords are rejected.
- After repeated failed attempts the account is locked for a while. Wrong two-factor codes count as failed attempts too. A link sent to the account's e-mail address unlocks it straight away.
- Password reset links expire after a few hours. Resetting or changing a password signs out every other session, and a notification goes to the account's e-mail address.
- A new e-mail address takes effect only after it has been confirmed, and the old address is told about the change.
- Sign-in, password reset and similar endpoints are rate-limited per IP address.
Two-factor authentication
Every user can add a second factor in Personal Settings:
- an authenticator app (TOTP). Each code can be used only once;
- SMS to a mobile number, on paid plans (details and supported countries).
Removing a second factor requires the account password. Admins can see which users have two-factor authentication. If a user loses their device, an Admin can remove it for them after confirming with the Admin's own password (see Account Recovery).
Two-factor authentication is a per-user choice: an Admin cannot yet require it for the whole organization. If you need it enforced, use SSO and enforce multi-factor authentication in your identity provider. If a user has two-factor authentication in Cluvio as well, Cluvio asks for it after the SSO sign-in.
Single sign-on (SSO)
SSO uses SAML 2.0 with Google Workspace, Microsoft Entra ID or Okta, configured per e-mail domain:
- Once a configuration has been verified, password sign-in stops working for its domains. Users must authenticate with your identity provider, under its password, MFA and device policies.
- Cluvio accepts only signed assertions issued for Cluvio, rejects expired certificates and rejects a response that is replayed. A configuration takes effect only after an Admin has completed a successful SSO sign-in with it.
- Certificates are checked every day. Where the provider publishes its metadata, a new certificate is picked up automatically. Otherwise Admins are e-mailed when a certificate is due to expire within 30 days.
- New users are created only after an Admin approves them, or, on the Business plan, automatically as Viewers if you choose auto-join. Roles never come from the identity provider, so a user can only be made an Analyst or Admin inside Cluvio.
- Disabling a user in your identity provider stops new sign-ins. To end their current sessions at once, deactivate them in Cluvio as well.
Support for OpenID Connect (OIDC) providers is in development.
Sessions
A session expires after a fixed period from sign-in. It ends earlier when the user signs out, changes or resets their password, has their role changed or is deactivated.
On most plans an Analyst or Admin can have only one session at a time. Signing in somewhere else shows the browser, operating system and IP address of the existing session first, so an unexpected session is noticed (see Active Sessions).
Some actions ask for your password again, or for a new SSO round trip, even inside a valid session:
- revealing an API key;
- revealing the embedding secret;
- removing two-factor authentication;
- deleting an SSO configuration.
Who can see and do what
Every user has one of three roles:
| Role | Can |
|---|---|
| Viewer | Open the dashboards shared with them. No access to SQL, datasources or settings. |
| Analyst | Additionally write SQL against the organization's datasources, and create reports, dashboards, alerts and schedules. |
| Admin | Additionally manage users, roles, SSO, API keys, billing and organization settings. |
Analysts and Admins can query every datasource in the organization. To limit what data they can reach, limit the database user behind each datasource. Viewers only see dashboards that an Admin or the dashboard's owner has shared with them, through User Groups on the Business plan. See Users for the full list of permissions.
API keys
API keys either have key type View or Manage and each key gets only the permissions you select. API keys of type View can never make changes. An API key of type Manage that has the Manage Dashboards or Manage Alerts permission can optionally be restricted to specific datasources: Only reports and alerts that use the allowed datasources can be created, updated or deleted by that API key. Only Admins create API keys. Revealing an API key token requires re-authentication and is logged. API keys do not expire and must be disabled or deleted to be revoked. Disabling or deleting an API key takes effect immediately.
Sharing links and embedding
A sharing link carries a random token that cannot be guessed. Its filter values are fixed unless you turn on Allow User to Change Filters. On the Business plan a link can also have:
- a password;
- an expiry date;
- an IP allowlist of addresses and CIDR ranges.
An embedded dashboard is a sharing link in an iframe, and is only as restricted as that link. Turn on Require Sharing Secret on the link, and it works only with a token that your server signs with your organization's embedding secret, and that token must have an expiry time. Filter values fixed in the token are enforced by the server, so a visitor cannot change them to see another customer's data. Revealing the secret requires re-authentication and is logged.
Auditing
Changes are recorded with the user who made them: users and their roles, two-factor settings, organization settings, API keys, sharing links, dashboards and reports. Dashboards, reports and sharing links each have a change history in the app (Dashboard Change History is a Business plan feature).
Sign-ins, sign-outs, query runs, exports, and every time an API key or the embedding
secret is revealed are logged with the IP address and browser. Admins can request the
logs for their organization from support@cluvio.com.
These audit records are kept for 12 months, or for 7 years for organizations with a HIPAA Business Associate Agreement or extended audit retention. Extended audit retention is an add-on, which an Admin then chooses in the organization's Legal & Compliance settings. When an item is permanently deleted, its change history is kept with the values removed. Server access logs are kept for 12 months.
Protecting the platform
- Rate limiting. API requests are limited per user and API key, unauthenticated requests per IP address, and sign-in and sign-up more tightly still. Clients probing for well-known vulnerabilities are banned automatically.
- Monitoring. API availability, server logs, application errors and browser errors are monitored continuously. The team on call is alerted when something goes wrong.
- AWS security services. AWS Security Hub continuously checks the infrastructure against the CIS AWS Foundations Benchmark and AWS Foundational Security Best Practices. Amazon GuardDuty watches for threats against servers, databases and functions, and Amazon Macie scans storage for sensitive data.
Compliance
- AWS Foundational Technical Review. Cluvio's architecture has passed the review and is re-evaluated regularly. Most recently it passed against the CIS AWS Foundations Benchmark v3.0.0.
- GDPR. Admins accept Cluvio's data processing agreement (DPA) in the organization's Legal & Compliance settings. This page describes the technical and organizational measures that the DPA refers to.
- HIPAA. Cluvio offers eligible US customers a HIPAA Business Associate Agreement and related compliance features as an add-on.
- AWS certifications. The infrastructure underneath is covered by AWS's own certifications, including ISO 27001, SOC 1/2/3 and PCI DSS Level 1. See AWS compliance programs.
Service providers
The service providers that process personal data for Cluvio, what each one does and where, are listed in the Subprocessor Register. Amazon Web Services hosts and stores everything described on this page, in your account's region. E-mails, including the scheduled reports you set up, are delivered through SendGrid.
Script steps
Script steps let a report run Python, R or JavaScript on the result of an SQL query, or of an earlier step. A script is code your Analysts write, so it is isolated from Cluvio itself rather than trusted:
- A separate runtime. Scripts run in AWS Lambda, in the same region as your account, outside Cluvio's VPC. A script has no network path to Cluvio's databases, caches or internal services. The identity it runs under can do nothing except write its own logs.
- Isolated runs. A script execution's memory, disk and any processes or threads it spawns are isolated from any other script execution. The only writable disk is a temporary directory, which is wiped before every run, and any process an earlier run left behind is stopped before a run starts and again when it ends. A run never sees files or processes of an earlier one, whichever organization it belonged to.
- Only the data it is given. A run receives its input tables as download links that are signed for exactly those objects and that particular run, and it returns its result the same way. The links expire after at most an hour, and the upload token expires with the run's time limit.
- Limits. Each run has a time limit, a memory limit and a cap on concurrent runs, all set by your plan.
- Known packages. Each language runs in a fixed, versioned image with a curated set of packages. Every package version is pinned, and every build is checked against its lockfile. A new image is a new version that you move to deliberately, so the code under your reports does not change unannounced.
- Internet access. A script can make outbound requests to the internet, for example to call an API or read a Google Sheet. It can send whatever data it is given wherever it likes, so whoever can edit a script can do the same. Treat editing rights accordingly.
Script secrets hold API keys and passwords that scripts need. They are encrypted in the database, and their values cannot be read back in full through the app or the API. Only Admins can create or change secrets, and a secret has to be bound to a step explicitly before that step receives it.
A secret of 8 characters or more is replaced with a placeholder wherever it appears in a script's output or error message. Shorter values are not replaced, because they would match too much ordinary output, and neither is a secret the script changes before printing it. Anyone who can edit a step that uses a secret can get the value out deliberately, so bind a secret only to steps that need it.
Script steps are not available on the Free plan or during trials.
AI features
Where the models run
AI features use Anthropic's Claude models through Amazon Bedrock, inside Cluvio's own AWS account, from your account's region. A request may be served from another AWS region in the same geography (EU or US), but never outside it. Per AWS's Bedrock data protection terms, prompts and responses are not stored by Bedrock, are not used to train any model, and are not shared with Anthropic or any other model provider. No other AI provider is involved.
What is sent, and when
| Feature | Sent to the model | Query result rows? |
|---|---|---|
| Fix with AI (repairing a failed query) | The query, its error, and the names and types of the relevant tables and columns | No |
| Draft with AI (describing a dashboard) | Report SQL, report and filter names, chart types | No |
| Dashboard chat | The dashboard's name, its filter values, and the columns and cached rows of the reports you included | Yes, only if an Admin has allowed it. Limited per report. |
Dashboard chat answers only from results already in the cache. It never runs queries. Fix with AI may run the corrected query to check that it works. It does so as the user who asked, against the same datasource and with the same limits, and only read-only statements are allowed. Your SQL in the editor does not change until you accept the fix.
Controls
- Allow AI features: an organization-wide switch for Admins. When it is off, none of the features above run, and no content of your organization is sent to a generative model. Search indexing is not affected.
- Let AI read report data: a separate switch for Admins, off by default. Without it, no query result rows are ever sent to a model.
- Allow AI agents to run queries: a setting on each datasource that stops AI features from running queries against that datasource.
- Each user decides whether to use Fix with AI the first time it is offered. Dashboard chat is off on every dashboard until its owner turns it on and chooses the reports it can read.
- AI usage draws on a monthly allowance of AI credits. Admins can set a lower budget and see usage by feature.
Cluvio keeps the text of chat conversations for 30 days and then deletes it. The result rows sent with a chat question are not stored. Only a fingerprint is kept, to tell whether the data has changed. The usage records kept for billing contain token counts, not prompts.
Responsible disclosure
If you believe you have found a security issue in Cluvio, please tell us at
security@cluvio.com. Please make a good-faith effort to protect our users' privacy and
data while you investigate. We will work with you to resolve the issue as quickly as
possible, and award a bug bounty where applicable.