Skip to content

Security model

This page explains how QubeSight protects itself and the activity data it holds: who can do what, how connections are encrypted, where secrets live, what the product records about its own use, and how log intake is restricted. For hardening steps, see Security hardening.

Community Enterprise

Threats the design addresses

A monitoring platform for data activity is itself a target. QubeSight is designed against these threats:

Threat Main control
An insider deletes or edits the record of what they did Locked cold store with Object Lock (COMPLIANCE), verification against the locked copy, tamper restoration and alerts
A forged sender injects fake audit events Source IP allowlist on syslog and SNMP, SASL/SCRAM on Kafka, cloud credentials on cloud sources
Credentials or traffic are intercepted on the network HTTPS for users and API, TLS and mutual TLS between cluster members, TLS options for ingest
An administrator abuses user management Separation of duties with the access-manager role (Enterprise), product audit trail
A stolen backup is opened Backups encrypted with a key derived from your passphrase
A compromised web container reaches the configuration database Internal networks: PostgreSQL and the management endpoints are not reachable from the interface

Roles and capabilities

Access is decided by two independent checks:

  1. Role. Every user has one role:

    Role Purpose
    Administrator Full administration of the platform.
    Analyst Investigates activity, works on alerts and reports.
    DBA Reviews database activity and performance.
    Auditor Reads activity, alerts, the audit trail and backup and integrity status.
    Access manager Manages QubeSight users and their roles; does not see activity data.
  2. Capability. Every page, tab and API endpoint belongs to a capability (for example reports, alerts, ha_cluster). Enterprise capabilities are available only with a valid Enterprise licence.

The menu shows only what both checks allow, and the server enforces the same rules on every API call: hiding a menu item is never the only protection. The full matrix is in Roles and capabilities; user management is described in Users, roles and permissions.

Separation of duties

Enterprise

With separation of duties, user and role management is reserved for the access-manager role. The administrator runs the platform but cannot grant themselves new rights or revoke other users' sessions. On a new installation QubeSight creates an access-manager account accessmgr with a random password that must be changed at first sign-in. When LDAP sign-in is turned on, only the administrator and the access manager can still sign in with local accounts.

Sign-in and sessions

Method Edition Notes
Local accounts Community Passwords are stored as bcrypt hashes. A password policy (default: at least 12 characters, three character classes, history of 4, maximum age 90 days, lockout after 10 failures for 30 minutes) applies.
Built-in MFA (TOTP) Community Time-based one-time codes with recovery codes; administrators can require MFA. See Multi-factor authentication.
LDAP / Active Directory Community Directory sign-in with group-to-role mapping. See LDAP / Active Directory.
Single sign-on (OIDC) Enterprise Authorization-code flow with PKCE against your identity provider. SSO users are exempt from the built-in MFA because the provider enforces its own. See Single sign-on (OIDC).

Sessions are stored in PostgreSQL. By default a session closes after 15 minutes of inactivity and after 12 hours at most. Cookies are marked Secure in production mode, and state-changing requests are protected against cross-site request forgery with a session-bound token. The forced password change at first sign-in blocks every other screen until the password is changed.

Encryption in transit

Users and API clients

The gateway serves the web interface and API over HTTPS only (TLS 1.2 or later). Plain HTTP on the same port is redirected. Pages of the web interface carry an HSTS header (Strict-Transport-Security: max-age=31536000; includeSubDomains; preload), so a browser that has opened QubeSight by a DNS name keeps using HTTPS for that name for one year; REST API responses do not carry the header. A new installation starts with a certificate generated by the product (issued by the installation's root certificate when the installation has one); replace it with your own under Settings → Web certificate (HTTPS), or trust the installation root on your computers. In a cluster, every node serves the same certificate. See Web certificate (HTTPS).

Between cluster members

Enterprise

A cluster has its own certificate authority (ECDSA P-256, valid 10 years), stored in the cluster definition with its private key encrypted. Every member receives a server and client certificate (valid 5 years). New clusters encrypt all internal traffic from the start:

Traffic Port Protection
etcd clients 12383 HTTPS with a password
etcd peers 12384 Mutual TLS
ClickHouse Keeper clients 9281 Mutual TLS, plus ClickHouse digest credentials
ClickHouse Keeper Raft 9234 Mutual TLS
ClickHouse replication 9010 HTTPS with an inter-server password
PostgreSQL (applications and replication) 5432 TLS with server verification against the cluster CA; network connections without TLS are refused
Patroni REST API 8008 Mutual TLS for every request; changes also need a password
Redpanda broker-to-broker 33145 Mutual TLS
Redpanda internal Kafka 29093 TLS with SASL/SCRAM

Log intake

Endpoint Protection
Syslog 5140/TCP Plain TCP. Restricted by the source IP allowlist.
Syslog 6514/TCP TLS, with a certificate issued from the installation's root certificate (cluster only).
Kafka 9092 SASL/SCRAM-SHA-256 credentials.
Kafka 9093 TLS plus SASL/SCRAM (cluster only).
SNMP 162/UDP SNMP has no TLS. Restricted by the source IP allowlist.

Once every sender uses TLS, the plain syslog and Kafka listeners can be closed. See Syslog and Kafka TLS.

Kafka authorisation

Redpanda uses SASL/SCRAM and ACLs. Each component has its own account with the smallest rights it needs:

Account Used by Rights
qs-admin Administrative tooling inside the Redpanda container Superuser
qs-ingest Vector Write to raw-db-logs
qs-worker Worker, SNMP receiver, control plane Read the log topics, join QubeSight consumer groups
qs-filebeat Your Filebeat clients Write to filebeat-db-logs

Clients cannot create topics. The Filebeat password is shown only to administrators who explicitly request it on the Filebeat page.

Secrets

Secret Where it lives Notes
Installation secrets (database passwords, internal tokens, GUARDIUM_SECRET_KEY) .env (mode 0600) and secrets/ in the installation directory Generated at installation. Back up .env: GUARDIUM_SECRET_KEY encrypts stored integration passwords.
Integration passwords (Guardium, Event Hub, scan accounts, SFTP, LDAP bind, SMTP, language-model keys) PostgreSQL, encrypted with the server key Never returned in clear text by the API. The server key can be rotated.
Backup key Derived from your backup passphrase Stored encrypted only so that scheduled backups can run. Without the passphrase, a backup cannot be opened off the server. If no passphrase is set, the default passphrase is used and the interface warns.
Web certificate private key The gateway's own volume Never leaves the gateway, not even to the control plane.
Cluster CA private key The cluster definition, encrypted with the server key —
Internal service tokens .env and files with mode 0600 Separate tokens for control plane ↔ worker, control plane ↔ updater and gateway management, so that one compromised service does not unlock the others.

Passwords given to the installer (administrator, backup passphrase, SFTP, vault SSH) are passed through environment variables or standard input, never on the command line or in logs. The SSH password used once to add a cluster node or deploy a vault is not stored; the product installs its own SSH key instead.

Internal isolation

  • PostgreSQL is reachable only on an internal network shared by the control plane, the worker and the SNMP receiver. The web interface is not on it. The worker uses a role with data-manipulation rights only.
  • The management network connects only the gateway, the updater and the control plane.
  • The updater is the only container with access to the Docker socket. It accepts only authenticated, predefined operations and no free-form commands.
  • Update packages are signed. The updater refuses a package whose signature does not verify against the trust root built into the product.
  • Management and data ports (ClickHouse, Redpanda admin, MinIO, the local API port) are bound to 127.0.0.1 by default.

The product's own audit trail

QubeSight records its own use: sign-ins and failures, user and role changes, configuration changes, rule changes, report exports and downloads, backup and restore operations, licence changes and update operations, each with the user and the time. Records never contain passwords, keys or certificate contents. View the trail under Assurance Center → Audit & Integrity → Events. Exporting the trail and the signed evidence pack are Enterprise features (audit_export). The trail can also be forwarded to a SIEM.

Ingest source allowlist

The syslog (5140/TCP) and SNMP trap (162/UDP) endpoints accept data without authentication, as the protocols require. While the allowlist is Enforced, only listed addresses or networks are accepted; other lines are dropped and counted per source address. A new installation enforces the list with the server's own network. QubeSight's own internal traffic (the SNMP receiver forwarding to Vector, reprocessing of queued lines) is recognised by a signed token rather than by address. See Ingest access allowlist.

Warning

Do not add the address of a container bridge gateway (for example a 172.x.0.1 or 10.89.0.1 address) to the allowlist. Every host-local connection appears to come from that address, so listing it accepts everything.

Limitations

  • Ingest TLS (syslog 6514, Kafka 9093) is available only in a cluster. On a single node, syslog and SNMP are plain; protect them with the allowlist and network controls.
  • SNMP traps cannot be encrypted.
  • A locked store on the QubeSight server does not protect against an attacker with root access to that server.
  • The generated certificate of a new installation causes a browser warning until you install your own certificate or trust the installation root.