How to Integrate Redash and ScyllaDB Safely

Published
Length
3 min read

Luis Felipe Dias

All posts

Pairing redash and scylladb lets your team query wide-column data and build live charts. This setup turns fast operational tables into shared dashboards for daily reporting. Data teams need clear visibility into production state without risking database stability. You must set up strict roles and network rules before opening query tools to users. How redash and scylladb work together Redash runs as a web app where users write queries and build charts. ScyllaDB stores large tables across many

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.

Pairing redash and scylladb lets your team query wide-column data and build live charts. This setup turns fast operational tables into shared dashboards for daily reporting.

Data teams need clear visibility into production state without risking database stability. You must set up strict roles and network rules before opening query tools to users.

How redash and scylladb work together

Redash runs as a web app where users write queries and build charts. ScyllaDB stores large tables across many nodes for fast reads and writes. When you link them, the analytics app sends queries over the CQL binary protocol. The database cluster processes the request and returns rows to the web app.

To log in, the analytics tool stores a database user name and password. It uses this single account to open sessions with your cluster nodes. You should turn on TLS encryption so data stays safe on the wire. Without TLS, passwords and query results travel across your network in plain text.

Once linked, analysts can schedule refreshes or run ad-hoc queries from their browsers. The web app caches the results so dashboards load fast for everyone else. This flow keeps users out of raw server shells while giving them fresh data.

Common risks with shared database accounts

Most teams link their dashboard app using one shared database account. This setup hides who ran which query when you check the database logs. If a bad query slows the cluster, you cannot tell which user wrote it. Every query looks like it came from the same dashboard service user.

Broad permissions create another big risk for your production tables. If the shared account can write or drop data, a typo can delete rows. Users might also run full table scans that eat up CPU and memory. Wide-column stores work best when queries filter by a specific partition key.

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

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Sensitive data exposure is also a major concern for analytics teams. Production tables often hold emails, phone numbers, card numbers, or national IDs. When analysts query raw tables, those fields show up in charts and exports. Data masking helps here because it rewrites matched fields in results before users save them.

Scoping roles and network paths

Start by creating a dedicated read-only role inside your database cluster. Grant this role select permissions only on the keyspaces needed for reporting. Never reuse the root account or the main app account for analytics.

Next, isolate the workload so heavy charts never hurt live user traffic. Many teams set up a separate datacenter group just for analytics queries. You can point the dashboard tool only at nodes in that reporting group. This keeps slow scans away from the nodes serving your main app.

Lock down network paths between the two systems using firewall rules. Only allow the specific IP address of your dashboard server to reach the cluster. Drop all other traffic on the database port by default. Finally, set query timeouts so runaway requests stop before they crash a node.

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 Redash query ScyllaDB without custom plugins?

Yes, the analytics tool includes a built-in connector for the CQL protocol. You just enter your cluster node addresses, port, role name, and keyspace.

How do we stop dashboard queries from slowing down production?

Route all dashboard traffic to a dedicated read replica datacenter in your cluster. Also give the reporting role strict read-only permissions and short query timeouts.

How can we protect PII like emails or card numbers in charts?

Restrict the reporting role to views or tables that exclude private columns. You can also use data masking so the system rewrites matched fields in results.

The query runs. The emails stay hidden.