Skip to main content

VeloDB Cloud Security Incident Response Guide

If you suspect unauthorized access, start with the credential and the warehouse involved. A VeloDB Cloud organization member can manage resources in the console, an application can call the Management API with an organization API key, and a BI client can connect directly with a warehouse SQL user. Each has its own permissions and response procedure. This guide helps organization administrators, warehouse administrators, and cloud security teams stop ongoing activity, preserve evidence, and return SaaS and Bring Your Own Cloud (BYOC) warehouses to service.

What to do first​

  1. Establish trusted access. Use a known-good administrator account and device. Identify who can manage the organization, who can administer SQL users in the affected warehouse, and, for BYOC, who owns the cloud account. If you have lost trusted administrative access, contact VeloDB Cloud Support.
  2. Record the first observation. Capture the time and time zone, organization and warehouse IDs, deployment model, region, and the suspect member, API key ID, or SQL user. For a running query, capture its query ID, connection ID, frontend host, and SQL text if available. Give another responder the evidence collection work while you stop active misuse.
  3. Contain the credential and any work already in progress. Use the matching procedure below. In the warehouse, open Observability > Sessions, identify the affected user, host, and statement, and use Terminate Session for confirmed unauthorized activity. Recheck for reconnecting clients or recurring jobs. For more information, see Sessions.
  4. Scope the investigation to the credential's reach. An organization credential may affect several warehouses. Within one warehouse, clusters isolate compute and share stored data. Review all clusters the SQL user could use and any external catalogs it could query. Suspending a single cluster leaves those other paths available.

For more information, see:

Contain the exposed credential​

Console member or SSO account​

From a trusted Organization Admin account, open Organization > Members. Record the affected member's email, identity provider, role, and last login. Remove unauthorized membership or reduce excessive access. For SAML single sign-on (SSO), have the identity provider administrator revoke active sign-in sessions and remove the application assignment. Check just-in-time provisioning and the default role so that the next sign-in cannot restore unwanted access. Preserve a working administrator account throughout. If an existing VeloDB Cloud browser session may still be usable, ask Support to confirm how to invalidate it. For more information, see Members.

Review organization Activity Logs for new members, roles, and resource changes. Check API keys and each affected warehouse's SQL users separately. Removing an organization member leaves warehouse credentials usable by applications that connect directly. For more information, see Identity and Access.

Management API key used by automation​

Open Organization > API Keys, locate the key by name or ID, and record its ID, role, status, creation time, and Last Used time. Disable the key. Compare its organization role with the operations it could perform. For example, if the role allowed changes to public access or the warehouse admin password, inspect those settings and the affected warehouse's SQL activity. The key itself authenticates Management API calls.

For more information, see:

Check the CI job or Terraform runner that held the key before giving it a replacement. Issue a new key with the narrowest suitable role and a finite expiration, update the trusted secret store, then verify that the intended job succeeds and the exposed key remains disabled. Use the key ID in tickets and audit notes. Keep the secret value out of both.

Warehouse SQL user used by a person or application​

In the affected warehouse, open User & Roles > Users. A SQL identity includes both parts of 'username'@'host'. Inspect all matching host entries, directly assigned privileges, and privileges inherited through roles. Rotate the password for each affected identity and revoke unauthorized grants. For the built-in admin user, use Warehouse Settings > Security > Change Password. Update clients that share the old password, including BI connection pools and load jobs. Review Sessions for connections that were open before rotation or that reappear afterward.

For more information, see:

If the credential was stored in an AI client or gateway for the VeloDB MCP Service, treat it as an exposed warehouse password. The MCP query tool accepts read-only SQL, but it can return rows visible to that user. Check the gateway's tool-call history and the warehouse's Query Audit. Also check direct SQL connections wherever the same credentials were accepted.

For more information, see VeloDB MCP Service.

Contain the network path​

First save the current rules and confirm how responders will reconnect. In Warehouse Settings > Security > Public IP Allowlist, choose Specific IP addresses to admit only trusted public egress addresses, or No public access when the public path is unnecessary. The same setting has a different reach in each deployment model. For more information, see Warehouse Settings.

DeploymentWhat the public allowlist controlsWhat to check separately
SaaSThe public warehouse endpoint and console operations that reach the warehouse over the public path.Review private endpoints, the client networks that can reach them, and their SQL credentials. Test the intended private route after changing the public rule.
BYOCConsole operations that use the public path to reach the warehouse, including SQL Editor, Data Integration, and Query Audit.Direct private SQL connections follow the customer's VPC or VNet routing and firewall rules. Organization operations such as scaling also remain available. Have the cloud owner contain the affected client or route and the organization administrator review management access.

For BYOC, No public access can also remove the responder's console path to Query Audit. Keep a trusted private SQL route for evidence collection. Work with Support before changing VeloDB-managed IAM roles, virtual machines, buckets, or security groups. Direct changes to those resources can make the warehouse unavailable. If a remote support session overlaps the incident, give Support the ticket and time window, request the relevant Relay audit evidence, and confirm when the support tunnel closed. The tunnel has a lifetime independent of the individual login.

For more information, see:

Reconstruct what happened​

Build one timeline using the original timestamps and a common time zone such as UTC. Record the warehouse and identity alongside each event. A console member and the SQL user selected in SQL Editor can have different names. On a SaaS private connection, the warehouse may see the endpoint address. Use application or endpoint records to identify the originating client. For more information, see Warehouse Users and Roles.

Trace changes to organization access and resources​

Open the organization and select Activity Logs. Choose the incident window and click Export. An authorized administrator can also retrieve these records with GET /v1/audit-logs.

Record who made each change, when it occurred, the source IP, the action, and the affected resource. Compare the actor and timestamp with login records from your identity provider.

For more information, see Organizations and Management API.

Identify what ran in the warehouse​

Open Observability > Sessions to inspect statements that are still running. For completed statements, open Observability > Query Audit, select All Logs, and include both successes and failures. Set the incident window and click Download.

Preserve the SQL user, host, database, cluster, timestamp, statement, execution status, and query ID when available. The Console displays query times in your browser's time zone. If a failed or non-query statement has no query ID, use its timestamp, user, and host to find related events.

For more information, see Sessions and Query Audit.

Trace activity outside the warehouse​

If a query used an external catalog, ask the source owner for database or object-access records. For a managed import, review the job's source, target, and task history. In a BYOC deployment, check your cloud account's audit records for infrastructure changes.

Record the affected tables, storage buckets or prefixes, connector identity, and task times. Collect destination-side records where available. Ask VeloDB Cloud Support about service-side events outside your visibility.

For more information, see Data Integration and Audit Logging.

Query the warehouse audit table​

In Query Audit Configuration, check whether auditing is enabled and record Log retention days. Auditing is on by default. Turning it off stops collection of new records, and older records age out under the configured policy. Check the table definition for its actual retention settings.

For more information, see:

SHOW CREATE TABLE __internal_schema.audit_log;

Run the following read-only query in the affected warehouse with an identity authorized to read the audit table. Replace the example user and time bounds. Convert the incident window to the time zone used when the records were written. Changing your SQL session's time zone leaves those stored timestamps unchanged.

For more information, see Time Zone.

SELECT
time, user, client_ip, db, state, query_id,
scan_bytes, return_rows, stmt
FROM __internal_schema.audit_log
WHERE time >= '2026-11-18 09:00:00'
AND time < '2026-11-18 10:00:00'
AND user = 'bi_reader'
ORDER BY time;

For example, a successful query that scanned gigabytes and returned one row could be an aggregate. Inspect the statement, the effective grants, and the returned row count to identify what the result could contain. Use BI download history, application logs, or destination storage records to establish whether anyone saved or forwarded it. Record any gaps explicitly. Preserve original exports in a restricted incident location. SQL text can contain sensitive literals. For more information, see Audit Event Reference.

Recover and verify​

If the incident involved an external catalog or import, have the source owner review the connector identity's effective permissions and rotate any exposed upstream credential at its issuer. Update the trusted connector and verify that it can reach only its intended sources. For a disclosure, identify recipients and involve the affected data owners. For more information, see Data Integration.

If a Stream Load writer changed rows, stop the producer and its retries. A running Stream Load has no manual cancel action. Preserve the synchronous HTTP response, especially the load label, transaction ID, status, and loaded row count. Reconcile that batch with the target table before resuming. A lost HTTP response can follow a successful commit, so replay under a new label can duplicate rows. For more information, see Stream Load.

For data recovery, open Backups and select a backup in Success status that predates the first suspect change. Use Export Backup to recover a selected database into a validation target and inspect the task details for skipped objects. For whole-warehouse recovery, Lightweight Snapshot is a private preview for enabled warehouses running Core 26.1 or later. Restore to a new warehouse for validation where available. A BYOC clone shares the source VPC and storage bucket. If either is compromised, agree on a clean recovery environment with the cloud owner and Support before directing traffic to the clone. For more information, see Backups and Restore, Restore from a Backup and Clone a Warehouse.

Before cutover, compare affected tables with a trusted source using row counts, representative keys, and business totals. Recheck SQL grants, network rules, and application credentials on the recovery target. From approved test clients, confirm that the former access path is denied, a legitimate client can perform its expected work, and a read-only test query appears in Query Audit. Watch through a normal run of the affected workload for reconnects or repeated writes. Give Support the organization and warehouse IDs, region, UTC window, relevant query or event IDs, and the changes already made.

Reduce the risk before the next incident​

Identity, network, and data controls limit access to your warehouse. Audit records help you trace an incident, and tested backups help you recover affected data. Together these controls support a secure, resilient warehouse.

Four layers support a secure, resilient warehouse. From the base up: identity and credentials, network access, data protection, and audit and recovery.

Protect console accounts and automation keys​

A compromised console account or API key can affect every warehouse its organization role allows it to manage. Enforce multi-factor authentication (MFA) for console accounts. For members who log in through SAML, enforce MFA at the identity provider.

Give each automation its own expiring API key with the organization role it needs. Review Last Used and disable unused keys.

For more information, see Multi-Factor Authentication and API Keys.

Give each workload its own SQL user​

If BI tools, ingestion jobs, and AI clients share a SQL password, a leak exposes the data and operations available to all three. Give each workload a separate SQL user and grant access only to the tables, columns, and operations it needs.

Apply row policies when a workload needs only a subset of a table. Test the effective permissions with the SQL identity the application uses.

For more information, see Warehouse Users and Roles and Data Access Control.

Restrict warehouse connections​

Use private connectivity where practical. If a workload needs public access, restrict the allowlist to its known egress IP addresses.

Use the TLS settings shown in Connect. New warehouses running VeloDB Core 26.1.3 or later support TLS. For an existing warehouse, make sure it runs a supported version and ask VeloDB Cloud Support to enable TLS.

For more information, see Connection Methods.

Maintain access to the AWS encryption key​

An AWS warehouse that uses Transparent Data Encryption (TDE) with a customer-managed key needs continuous access to that key to read its data. A change to the key policy can make the warehouse unavailable.

Monitor changes to the key and its permissions. Coordinate rotation with the AWS KMS key owner and follow the warehouse key rotation procedure.

For more information, see Warehouse Encryption.

Retain audit logs and test recovery​

Set Query Audit retention to cover the time your team needs to detect and investigate an incident. Periodically export a sample and match a query to an event in the application logs.

Monitor backup completion and keep successful recovery points long enough to investigate delayed reports. Rehearse a restore and verify both the recovered data and the permissions your applications need.

For more information, see Audit Logging and Backups and Restore.

Enter to send · Shift+Enter for a new line