How to Integrate Sigma and ScyllaDB Safely

Published
Length
3 min read

Luis Felipe Dias

All posts

You pair sigma and scylladb to run cloud spreadsheets over fast wide-column data. This setup lets analysts explore live operational records and build reports in minutes. Sigma gives business teams a familiar spreadsheet view in the browser. ScyllaDB stores massive datasets with low latency and high throughput. Pairing both tools bridges the gap between raw operational storage and business charts. Yet direct links between cloud analytics and core databases bring security risks. Platform teams mu

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

You pair sigma and scylladb to run cloud spreadsheets over fast wide-column data. This setup lets analysts explore live operational records and build reports in minutes.

Sigma gives business teams a familiar spreadsheet view in the browser. ScyllaDB stores massive datasets with low latency and high throughput. Pairing both tools bridges the gap between raw operational storage and business charts. Yet direct links between cloud analytics and core databases bring security risks. Platform teams must control how queries run and who reads sensitive rows.

How sigma and scylladb share data and permissions

Sigma does not pull all your database rows into its own storage. Instead, it translates spreadsheet actions into queries that run against your data source. When you link sigma and scylladb, you often need a SQL query engine. Many teams place an analytical query engine or warehouse between the two systems. Some teams also use driver bridges that speak the native query language.

To log in, Sigma uses a database user and a secret key. You store these login details inside the Sigma admin workspace. Every time a user refreshes a chart, Sigma sends a query over the network. ScyllaDB checks the role of that database user before returning any rows. The database then sends the matching results back to the browser.

Network paths between the cloud app and the database must stay encrypted. Teams enable TLS so data stays safe while moving across the network. You also restrict incoming traffic on the database firewall to known IP ranges. This blocks outside actors from trying to log in to your cluster.

Common security gaps and how to scope roles

The biggest risk in this setup is a shared admin account. Teams often use one strong database role just to get charts working fast. If Sigma holds write permissions, a bad query can change or drop live tables. Also, a shared service account hides who ran a specific query. When you check the database logs, every single request shows the same username.

Broad read roles also expose private customer records to too many people. Operational tables often hold emails, phone numbers, card numbers, or national IDs. If an analyst opens a raw table, those fields show up in the sheet. Exporting that sheet to a local file creates an instant data leak.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, create a dedicated read-only role in ScyllaDB for analytics. Grant this role select permissions only on the specific keyspaces and tables needed. Never grant table creation, deletion, or modification rights to a reporting tool. Next, separate your analytics traffic from your live production traffic. ScyllaDB lets you group nodes into separate data centers by workload. Point your reporting queries at an analytics group so heavy scans do not slow apps.

Auditing queries and protecting private fields

Scoping database roles is a great first step, but static keys still age poorly. Keys stored in third-party settings can leak if an admin account gets compromised. Rotate the database password used by your reporting tool on a regular schedule. You should also turn on audit logging inside your database cluster. Audit logs record which tables were read and when the query happened.

When tables contain private data, use views or masking rules before analysts read them. Data masking rewrites matched fields like card numbers or emails in query results. This lets analysts count rows and build charts while keeping raw digits safe. Combining read-only roles, workload isolation, and field masking keeps your data pipeline safe.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

Can Sigma query ScyllaDB directly without another tool?

Sigma expects a SQL interface, while ScyllaDB uses its own query language. Most teams route queries through a SQL engine or replicate data to a warehouse.

How do we stop heavy spreadsheet queries from hurting app speed?

Use workload isolation by creating a separate logical data center for analytics nodes. Route all reporting queries to those specific nodes so core apps stay fast.

What permissions should the Sigma database role have?

Give the role read-only permissions on the exact keyspaces and tables needed for reports. Never give it admin rights or permission to change data.

The query runs. The emails stay hidden.