Skip to main content

Multi-tenant isolation

sureops is a multi-tenant platform. Every tenant-scoped table carries an organization_id — either directly, or inherited through a parent table’s foreign key for child tables that belong to a parent record.

How isolation works

The primary enforcement point is application code, not the database. The backend’s API layer authenticates to the database with elevated, RLS-bypassing credentials, so on that path — the one every API request takes — Postgres row-level security is not what’s keeping your organization’s data separate from another organization’s. Instead, every query the backend issues is scoped to your organization explicitly: either as a filter on the query itself, or as an ownership check performed before the request is allowed to read or write the record at all. PostgreSQL row-level security policies also exist on these tables, keyed on the organization and role carried in your session token. They are a secondary layer, and they cover only the reads a signed-in session can make directly: a signed-in session has no write access to sureops data at all, and it can read only the tables that drive live updates in the app. They are not a substitute for the application-level org-scoping above, and a bug in that application-level check is not caught by RLS on the API path — there’s no second database-level check backstopping it there. A request that tries to access another organization’s data is rejected before the query runs, or is scoped to return nothing for that organization — either way, you get a not-found rather than another org’s records.

Revocation timing

Role and access changes take effect on the affected user’s next token refresh or next sign-in — not on their very next request. Role is a claim baked into the session JWT at issuance, so a request made with an already-issued token still carries the old role until that token is refreshed or reissued. For an offboarding runbook, plan for that window: a token issued before the role or membership change keeps working at its old privilege level until it expires or is refreshed — it is not invalidated retroactively. See Roles & Permissions for details.

Data flow

What sureops reads during an incident

When an incident is active, sureops reads:
  • Alert data ingested from your monitoring integrations
  • Metrics, logs, and traces via MCP tool calls during agent execution
  • Your runbooks and service catalog from your .sureops/ contract (for diagnosis grounding)
sureops reads the minimum data necessary to diagnose and resolve the incident. Tool queries are targeted — they ask for specific metrics in a specific time window, not bulk exports of your telemetry.

What sureops writes

sureops writes to its own database:
  • Incident records, stage records, and timeline entries
  • AI analysis results, recommendations, and approval decisions
  • Audit log entries
sureops writes to your systems only in these cases:
  • Remediation actions: the Resolution Specialist runs approved remediation actions (for example, Kubernetes rollbacks or config changes) through the integrations you’ve connected, under the approval rules described in HITL gates
  • Incident fix PRs: for a code-level recommendation, opens a draft pull request in the affected service’s repository when that service’s .sureops/policy.yaml allows it, so you can review the diff before approving. It is merged only after approval — during the private beta sureops merges it then (if the merge fails, the PR stays open for you), except a PR containing newly written code, which stays a draft for you to merge. If you reject the recommendation, the draft is closed
  • Post-closure PRs: after an incident closes, opens Problem Record fix PRs (a revert or a written fix plan, only for services you’ve opted in) in your service repositories, and postmortem and runbook PRs in your knowledge base repository. These have no approval step; during the private beta, sureops merges revert, postmortem, and runbook PRs as soon as they open (if a merge fails, the PR stays open for you). A fix-plan PR is never merged by sureops; it stays open for your team. See Post-Closure Agents
  • Monitors you push: when you approve and push a proposed monitor from a Problem Record, sureops creates (or updates) it in your connected Grafana (Growth and above)
  • Issue trackers you configure: opens and closes issues for Problem Records and action items, and records executed changes as change-tracking issues
  • Runbooks and postmortems you generate: opens PRs in your knowledge base repository when you draft a runbook or export a postmortem
  • Onboarding: opens starter .sureops/ contract and runbook PRs in your knowledge base repository
  • Incident communications: once Slack is connected, creates a private war-room channel for each qualifying incident (P1/P2 by default), invites team members, and posts updates and approval cards there — and, if you’ve configured an announce channel, posts a new-incident broadcast there. These posts are not individually gated behind a HITL approval; the approval rules for remediation actions and incident fix PRs above are separate and unaffected

Telemetry data lifecycle

Metric, log, and trace data queried during an incident is used to construct agent context. What persists in sureops’s database:
  • The agent’s synthesized analysis (natural language summary with citations)
  • The specific tool call inputs and outputs — the raw query results — as part of the incident timeline and the agent’s checkpointed state
This data is retained as part of the incident record; it is not deleted automatically, except that an incident with a compliance tag is permanently deleted once that tag’s retention window has passed — see “Compliance tagging” below. Otherwise deletion happens only through an explicit action — see “Right to erasure” below, or contact sureops support.

LLM data handling

Context construction

When sureops calls an LLM — for diagnosis, resolution planning, chat, or post-incident analysis — it constructs a prompt from:
  • Incident metadata (service name, severity, timestamps)
  • Tool call results (metrics, log excerpts, traces)
  • Your runbook content (from .sureops/runbooks/)
  • Prior stage summaries from the same incident

PII redaction

sureops applies a PII/secrets redaction layer before any context is sent to the LLM whenever an org’s LLM mode is managed or demo/trial — internally, demo/trial is treated as a case of managed mode for this purpose, so it gets the identical redaction path, not a lighter one. Since sureops-managed mode itself isn’t launched yet (see below), in practice this means the redaction layer is live today for demo/trial environments. This layer detects and redacts:
  • Personal identifiable information (email addresses, IP addresses)
  • Secrets and credentials (API keys, tokens, passwords)
  • Other common sensitive patterns
Redacted values are replaced with labeled placeholders so the agent can reason about the structure of the data with less exposure to the underlying sensitive content. This is a mitigation, not a guarantee — pattern-based detection can miss novel or unusually-shaped secrets, so redaction reduces exposure rather than eliminating it outright.
This redaction layer wraps the managed/demo-trial call path only, and is not optional there. In BYOK mode — the mode every production organization is on today — prompt and context content is sent to your own provider account without this redaction layer. A narrower, separate tool-output scrub exists, but only on chat surfaces (ECHO, SAGE, stage chat, and public chat) — the incident investigation pipeline (Diagnosis, Resolution, and Verification agents) gets no redaction at all in BYOK mode. See BYOK vs Managed LLM for the full data-flow comparison before choosing BYOK for sensitive workloads.

BYOK vs. managed LLM

Two LLM key modes are live today:
  • BYOK (Bring Your Own Key): You provide your own API keys. Data flows from sureops to your provider account directly. Your provider’s data retention and processing terms govern the LLM side. This is the default, and the only mode available for a production organization today.
  • Demo/trial: sureops supplies LLM capacity so you can evaluate the product without bringing your own provider key. That capacity uses a variety of frontier models.
In the hosted service, one exception applies in every mode, BYOK included: embeddings used for searching problems and runbooks and for retrieving past incidents and RCAs are computed by a provider sureops contracts with, not through your own provider key. The Privacy Policy describes the service providers sureops uses by category; a current list of sub-processors is available on request from hello@sureops.ai. A third mode — sureops-managed Anthropic/OpenAI — has been designed but is not launched: the required enterprise agreements aren’t signed and it isn’t available for signup. See BYOK vs Managed LLM for the full picture, including what managed mode would mean once it ships.

Self-hosting

Self-hosting is coming soon, as a Docker-based deployment. Self-hosted deployments will use BYOK, so LLM calls go to your chosen provider under your provider’s data-processing terms. Contact hello@sureops.ai if you want to be notified when it’s available.

Compliance posture

SOC 2

SOC 2 is in progress. The controls described on this page — application-layer org-scoping on every query (with RLS as a secondary layer on direct database sessions), append-only audit logs, role revocation, managed/demo-trial PII redaction — are intended to be part of that controls framework. Contact sureops support for the current status and to request our security questionnaire responses.

GDPR

sureops supports GDPR compliance for customers in the EU:
  • Data processing agreement (DPA): available for customers who require one
  • Right to erasure: incident data deletion is available on request for specific incidents
Contact sureops support to discuss data residency requirements for your organization.

Compliance tagging

You can label an incident with one compliance tag — hipaa, gdpr, pci_dss, financial, soc2, pii or none (the default) — to record which kind of regulated data it involves and to set an end date for its data. Compliance tagging is available through the REST API only; there is no compliance page in Settings, no tag button on the incident page, and the Compliance Officer role can’t be assigned from the Team page (ask sureops support to assign it).
  • Tagging: GET and PUT on an incident’s compliance-tag read and set the tag. A keyword-based detect endpoint can suggest a tag from the incident title, description and affected services, and applies it only if you ask it to and its confidence meets your organization’s threshold (default 0.95). It runs only when you call it.
  • Audit trail: every tag change, and every detector suggestion or application, is recorded in a compliance audit log you can query at /api/v1/compliance/audit, with optional incidentId, userId, action, from and to filters. Each query of the audit log is itself recorded — except a query filtered by the id of an incident that no longer exists — and so is an incident permanently deleted by the retention job. Reads of incident details are not logged. Some entries have no incident: incidentId is null on the entry recorded for a query that wasn’t filtered by incident, and on every entry for an incident that was later deleted. After a retention deletion, filtering by that incident’s id returns nothing; the deleted id remains as entityId on the retention-deletion entry and on the incident’s tag entries. To find retention deletions, filter by action=incident_retention_delete and match entityId.
  • Retention: /api/v1/compliance/retention-policy returns the retention window per tag and lets you set a custom number of days (1 to 36500) for each. A nightly job permanently deletes tagged incidents that are resolved, escalated or cancelled (dismissed or closed as stale) once the window has passed, counted from when the incident was resolved or closed, together with the incident’s primary problem record. If another incident still links to that problem, the incident is kept. A tag sets an end date for that incident’s data; it doesn’t change how long untagged incidents are kept.
  • Access: reading a tag needs settings:read (every role). Setting a tag, running the detector or changing retention needs settings:write (Owner, Admin, Compliance Officer); note that settings:write covers every organization setting, not only compliance ones: organization and environment defaults, including autonomy, but not the operating mode of a single incident or stage, which needs a Commander or above. Querying the audit log needs audit:read (the same three roles).
A tag does not restrict who can see the incident, change how its notifications are routed, redact its content in LLM prompts or block mode changes — the notification config endpoint (/api/v1/compliance/notification-config) stores settings that nothing reads yet.

Encryption

  • Data at rest: encrypted using AES-256
  • Data in transit: encrypted via TLS
  • LLM API keys: stored encrypted with a per-org derived key; the raw key is never exposed via the API

Reporting a security issue

Report security vulnerabilities to security@sureops.ai. We aim to acknowledge within 24 hours and provide a status update within 72 hours.