ClickHouse vs Trino for SOC 2 and ISO 27001 audits

For SOC 2 and ISO 27001 audits, the decision turns on where the data is stored and who operates the controls. ClickHouse's attestations cover its Cloud service, while Trino's access and logging controls are yours to configure and evidence.

On this page

Which side fits SOC 2 and ISO 27001 audits: ClickHouse or Trino?

A team that must show SOC 2 or ISO 27001 controls over its analytics data should settle three questions before comparing features: where the hosting boundary sits, who operates each control, and which evidence the auditor will sample. ClickHouse fits when the data already lives in ClickHouse and the team wants the scope of ClickHouse Cloud's documented SOC 2 Type II and ISO 27001 attestations. Trino fits when queries span several systems and the team will build and evidence its own access rules and query logging. This page covers only the compliance angle. The general comparison sits on its own page, and the decision turns on hosting scope, operator responsibility and the sampled evidence.

On the ClickHouse side, the documented attestations cover ClickHouse Cloud: its SOC 2 Type II report has been in place since 2022 and its ISO 27001 coverage since 2023, both audited annually by independent auditors. Those attestations describe the managed service, so a self-hosted open-source ClickHouse server in your own infrastructure needs its own evidence. The documented audit trail is the database audit log, which is on by default in the system.session_log and system.query_log tables and retains data up to 30 days by default. If your retention expectation is longer, plan a materialized view or an export to S3, GCS or Azure Blob Storage, and test that the exported records still show who queried which table. Read the ClickHouse Cloud compliance overview to confirm which services and regions the audited scope covers.

On the Trino side, the documentation describes controls you configure, so the operating question is who runs the cluster and who signs off the access rules. The default access control allows all operations for authenticated users, so the first task is replacing it with file-based rules at catalog, schema or table level, or with Open Policy Agent or Apache Ranger for row filters and column masking. Authentication options include LDAP, OAuth 2.0 and Kerberos, with password file as the recommended starting point. For query evidence, the HTTP, Kafka, MySQL and OpenLineage event listeners are available; the MySQL listener writes query ID, SQL text and user to a trino_queries table that an auditor can sample. Confirm with your assessor which retention period and log integrity controls they will accept, and whether any vendor running Trino for you will provide an audit report covering that cluster.

What SOC 2 and ISO 27001 audits ask of a data warehouse or lakehouse

SOC 2 examinations test controls against the 2017 Trust Services Criteria (TSC), a framework the AICPA published with revised points of focus in 2022. The TSC has five categories: security, availability, processing integrity, confidentiality and privacy. The common criteria CC1 to CC9 cover security and apply to every SOC 2 report, while the other four categories add criteria only when you include them in scope.

  • CC1 to CC3 (governance and risk): control environment, communication and information, and risk assessment. Expect questions on who owns the warehouse, how access decisions are approved and how risks to the data are assessed.
  • CC4 and CC5 (monitoring and control activities): ongoing monitoring and the activities that put policy into practice, such as periodic reviews of who can read which tables.
  • CC6 (logical and physical access): authentication, role design, least privilege and removal of access when people leave. This is where database users, roles, SSO and MFA settings get examined.
  • CC7 to CC9 (operations, change and risk mitigation): detection of security events, change management for schema and configuration changes, and handling of risks from vendors and disruption.
  • Category scope: adding availability, confidentiality or processing integrity brings criteria with their own evidence. The 2017 TSC holds 61 criteria in total, 33 of them common criteria.

Before you map controls, ask your auditor which categories and which systems fall inside the report boundary.

How each side meets SOC 2 and ISO 27001 requirements as documented

This table sets out each platform's documented position against the control areas an assessor usually asks about for SOC 2 and ISO 27001. The main difference is that ClickHouse publishes Cloud service attestations, while Trino has no documented vendor attestation, so its assurance rests on the controls you configure and evidence yourself. Where a cell says to confirm, the published documentation does not settle the point, so ask the vendor or project in writing before it goes into your evidence pack.

Requirement areaClickHouseTrino
Vendor attestationClickHouse Cloud holds SOC 2 Type II (since 2022) and ISO 27001 (since 2023). Covers the Cloud service only, so self-hosted is outside.No documented vendor attestation. Confirm with the project or any managed Trino provider which reports and scope they hold.
Audit logging and retentionQuery and session logs on by default, retained up to 30 days. Export to S3, GCS or Azure Blob Storage to keep them longer.Configure an event listener: HTTP, Kafka, MySQL or OpenLineage. MySQL listener writes query ID, SQL text and user to trino_queries. Retention is set downstream.
AuthenticationConfirm self-hosted authentication methods and multi-factor options for your version with ClickHouse before writing them into your control narrative.Password file, LDAP, Salesforce, OAuth 2.0, certificate, JWT and Kerberos. Start with password file, as Trino recommends.
Access controlConfirm role, grant and row-level control options for your version, and how they map to your access reviews.Default allows all operations for authenticated users until you set a policy. Alternatives: file-based rules, OPA, or Apache Ranger with row filters and column masking.
Encryption in transitConfirm TLS settings for self-hosted servers and Cloud endpoints with ClickHouse, and record the versions in your evidence.Trino documents TLS configuration for its server. Confirm the protocol versions, certificates and cipher settings for your release.
Encryption at restConfirm with ClickHouse which at-rest encryption applies to self-hosted and Cloud storage, and who manages the keys.Confirm at-rest protection for spill files, caches and the storage behind each connector with the project and your storage team.
Data locationSelf-hosted data stays on servers you choose. For Cloud, confirm region options and backup locations with ClickHouse.Queries run where the coordinator, workers and connected sources sit. Your residency position depends on each source system.
Supported versions and licenseApache-2.0 server. Security updates cover 26.9, 26.8, 26.7 and 26.3, with 26.8 and 26.3 as LTS lines. Other versions are unsupported.Apache-2.0 license. Requires 64-bit Java 25, minimum 25.0.1. Release 484 published October 15, 2026.

What the vendor covers and what your team still configures and evidences

Each card splits one control area into what ClickHouse Cloud or the Trino project documents and what your team must still configure and show an assessor. Self-hosting moves most of the evidence onto your side of the line, so the owner of each item matters as much as the feature. Check each card against your own deployment before you rely on it.

Attestation scope stops at your server

ClickHouse Cloud holds SOC 2 Type II (since 2022) and ISO 27001 (since 2023) attestations, audited annually by independent auditors. Those reports describe the managed service, so a server you run yourself is outside them and needs its own evidence. For Trino, confirm with the project or a distributor whether any attestation exists before your assessor asks. Ask for the report's scope statement in writing.

Cloud compliance overview

Audit trail retention and export

ClickHouse turns on its database audit log by default, in the system.query_log and system.session_log tables, and keeps those rows up to 30 days. Longer retention needs materialized views or exports to S3, GCS or Azure Blob Storage, and your team operates that pipeline and the bucket behind it. Trino sends query created and completed events to an event listener, such as the HTTP listener's JSON posts or the MySQL listener's trino_queries table, which records query ID, SQL text and user. Whichever sink you pick, its storage and access controls become your evidence.

Database audit log

Access rules and authentication

ClickHouse access is set with grants inside the database, and your team writes, reviews and tests them. Trino's default access control allows all operations for any authenticated user, so you need to replace that default with file-based rules at catalog, schema or table level, Open Policy Agent, or Apache Ranger for row filters and column masking. Authentication is also a choice you make: the security overview recommends starting with password file authentication, and LDAP, OAuth 2.0, certificate, JWT and Kerberos are alternatives. Document which option you chose and who approves changes to it.

Trino security overview

Hosting, patching and upgrades

ClickHouse ships stable releases about monthly and LTS releases twice a year, each LTS supported for one year. Its security policy lists 26.9, 26.8, 26.7 and 26.3 as supported, so every version outside that list needs an upgrade plan. Trino published releases 482, 483 and 484 on June 25, July 17 and October 15, 2026, and runs on 64-bit Linux with a 64-bit Java 25 runtime, minimum 25.0.1. Choose bare metal or Kubernetes with Helm, then assign your team the OS, JVM and image patch cycle for either engine.

ClickHouse production FAQ

Source systems behind connectors

Trino's 37 connectors reach sources such as PostgreSQL, MySQL, Snowflake, BigQuery and ClickHouse, and each query inherits the controls of the system it reads. Your assessor will still ask how each source authenticates Trino, what that source's own audit log records and who reviews it. A ClickHouse-only design keeps one audit boundary, while a Trino design adds one per connected source. Inventory every source before the audit window opens, and drop any source you cannot evidence from the scope statement.

How query and audit records flow to the assessor

Analysts and BI tools authenticate to a Trino coordinator or a ClickHouse server inside the organization's network. Trino sends query created and completed events to its configured event listeners, and the MySQL listener writes each event to a trino_queries table. ClickHouse writes system.query_log and system.session_log by default, with 30-day default retention, so a materialized view or export to S3, GCS or Azure Blob Storage is needed to keep records longer. The assessor samples these stores together with access reviews and change records. Check which listeners and retention settings are enabled. If ClickHouse Cloud is the chosen hosting, its vendor attestation sits outside your boundary and does not replace your own evidence.

Query and audit records move from each engine's logs to the sampled evidence set.

Evidence an assessor asks for in SOC 2 and ISO 27001 audits, and how each side produces it

Assessors start with what the provider can show about the service. ClickHouse's compliance documentation lists ClickHouse Cloud SOC 2 Type II since 2022 and ISO 27001 since 2023, audited annually by independent auditors. That evidence covers ClickHouse Cloud, so a self-hosted server in your own infrastructure relies on your own controls and records. Ask ClickHouse Inc. for the reports and scope statements before you plan the rest of your evidence.

  • Current SOC 2 Type II report: Request the latest report from ClickHouse Inc. and note its audit period, the systems it names and any carve-outs.
  • Scope statement: Confirm which products, deployment models and supported regions fall inside the report, so you can tell whether your workload is covered.
  • ISO 27001 certificate: Ask for the certificate and its scope statement, and check the certification body's name and validity dates against your audit calendar.
  • Subservice providers: Ask which subservice organizations the vendor relies on and how the report treats them.

Check that the report period overlaps the period your assessor samples, because a Type 2 report only speaks to the dates it names.

Configuring the chosen side so its evidence is ready before fieldwork

This sequence fixes the scope, pins a supported platform line, sets access rules, extends logs and assigns evidence owners before fieldwork starts. Each step names the owner and the output an assessor can inspect. Steps marked for one side only apply to that side.

  1. Write the system description and scope

    Document the systems, data stores, users and boundaries the audit covers, and list the components in each: ClickHouse servers and any Keeper nodes for ClickHouse, or the coordinator, workers, catalogs and connected sources for Trino. Ask the vendor in writing which attestation covers the product and the deployment model you run. ClickHouse's SOC 2 Type II and ISO 27001 coverage is documented for ClickHouse Cloud, so a self-hosted deployment needs its own evidence trail unless the vendor confirms otherwise. Done when the control owner signs the system description and the scope statement matches the architecture diagram.

  2. Pin the platform to a supported line

    Record the exact version in use and confirm it sits on a supported line before the audit window opens. ClickHouse side: the security policy lists 26.9, 26.8, 26.7 and 26.3 as supported with security updates, and all other versions are unsupported. Trino side: run a current release on a 64-bit Linux host with a 64-bit Java 25 runtime of at least 25.0.1, and schedule upgrades as each release is published. Done when the change register holds a version record and the version check output for each node is saved with the scope file.

  3. Set authentication and access rules

    Trino side: start from password file authentication, as Trino's security overview recommends, and plan a move to LDAP, OAuth 2.0, certificates, JWT or Kerberos if your identity provider requires it. Trino's default access control allows all operations for any authenticated user, so write file-based rules at catalog, schema or table level, or evaluate Open Policy Agent or Apache Ranger for row filters and column masking. ClickHouse side: configure users, roles and grants against the version in use and confirm each setting in that version's documentation. Done when an access matrix maps every role to the catalogs, schemas or databases it can reach, and the data owner signs it.

  4. Turn on and extend audit logs

    ClickHouse side: the query and session logs are on by default in system.query_log and system.session_log, but they keep data for up to 30 days by default. Extend retention with a materialized view into a table you control, or export to S3, GCS or Azure Blob Storage, and set the retention period in your written log policy. Trino side: enable the HTTP event listener, which posts query created and completed events as JSON, or the MySQL event listener, which stores events in a trino_queries table with query ID, SQL text, user and accessed columns. Done when a test query shows one event from each source is readable and retained for the period in your policy.

  5. Map criteria or controls to owners

    For SOC 2, map each in-scope criterion to a named owner and a recurring evidence item. The common criteria CC1 to CC9 apply to every SOC 2, and the other categories are added only when they are in scope. For ISO 27001, map the chosen Annex A controls, which number 93 across four themes, to owners and evidence. Set the frequency and storage location for each item, such as access reviews, log exports and change tickets, so evidence is collected in the same place every cycle. Done when an assessor can trace each criterion or control to an owner, an evidence source and the last collection date.

  6. Run an evidence pull as a dry run

    Pull evidence for a sample period using the same queries, exports and steps the auditor will see, and record how long the process takes so you can judge whether it fits the audit window. Check that each log export contains the query IDs, users and timestamps you expect, that access reviews are signed, and that the scope statement still matches the running systems. Record each gap as a ticket with an owner and retest after the fix. Done when the evidence index shows a pass or fail for every control and the retest record is complete.

Why a vendor's attestation does not carry over to your self-hosted system

ClickHouse's SOC 2 Type II report (since 2022) and ISO 27001 certification (since 2023) describe ClickHouse Cloud, the managed service run by ClickHouse Inc., and independent auditors test them every year. A ClickHouse server you install on your own hosts sits outside that scope, and the same applies to any Trino coordinator and worker cluster. Both ClickHouse server and Trino are Apache-2.0 open-source software, and the license carries no attestation with it. Your auditor will place each self-hosted component inside your own system description (SOC 2) or ISO 27001 scope statement and test its controls directly. Confirm with the vendor exactly which service the cloud report covers, and read it only as background on how the vendor runs its managed service. ClickHouse's compliance overview is the place to start.

Because nothing carries over, your organization owns the controls, the evidence and most of the cost drivers. The number of systems in scope comes first. Each ClickHouse node, each Keeper node, each Trino coordinator and worker, and the BI tool and identity provider beside them all add controls to test. Existing logging comes second. ClickHouse records its audit trail in the system.query_log and system.session_log tables by default, and keeps it up to 30 days by default, so you must decide whether to extend retention with materialized views or export the logs to object storage. On the Trino side, you choose and configure an event listener, such as the HTTP or MySQL listener, before any query history exists to test. The SOC 2 type and period decide how much evidence you collect and over what span. A Type 1 report covers design at a point in time, while a Type 2 report also tests operating effectiveness over a period. The ISO 27001 scope statement defines which systems the management system covers.

Fees are the last cost component, and the parties who test your system set them. The independent auditor that issues a SOC 2 report and the accredited certification body that issues an ISO 27001 certificate each set their own fees and timelines. Under ISO/IEC 17021-1, an ISO 27001 certification cycle lasts three years and includes at least one audit in every calendar year, so those audits recur. DeployOpen does not set these fees. Ask each body for a written quote based on your scope, and ask DeployOpen for a separate quote built from the written scope of the preparation work. DeployOpen prepares systems and evidence, and it does not issue reports, attestations or certificates. The independent auditor and the accredited certification body do that work, and only they can say whether your self-hosted ClickHouse or Trino environment meets the criteria or the standard.

What teams ask before hiring help for SOC 2 or ISO 27001 audit preparation

How much effort does SOC 2 or ISO 27001 preparation take?

Effort depends mostly on how much of the environment is in scope and how much evidence already exists. No single figure applies to every team, so ask for an estimate built from a written scope. The four drivers that move the work most are:

  • System count: each in-scope database, query engine, data source and admin path needs an owned control set and evidence.
  • Logging gaps: missing query, access and change logs usually add the most work, because evidence for past periods cannot be recreated after the fact.
  • SOC 2 type and period: a Type 1 report covers control design at one date, while a Type 2 report tests operating effectiveness over a period, so controls must work across the whole window.
  • ISO scope: the scope statement and the Annex A controls you select decide which policies, records and technical settings must be proven.

Ask any provider to show how its estimate changes with each driver.

How long does SOC 2 or ISO 27001 audit preparation take?

The timeline follows the written scope and the audit window, which your auditor or certification body sets. For SOC 2, the examination period is agreed with the CPA firm performing the engagement. For ISO 27001, a management system certification cycle lasts three years, with at least one audit, either surveillance or recertification, in every calendar year, so that cycle is the reference point for planning. Preparation time grows with the number of in-scope systems, the number of controls that lack evidence today, and how quickly named control owners can respond. Ask for milestones tied to the scope document, and confirm the audit window with your auditor or certification body before you commit to dates.

What does the team need to provide for SOC 2 or ISO 27001 work?

The team must supply named people, access and decisions that only it can make. Expect to provide:

  • Named control owners for each in-scope control, with a backup for each owner.
  • Read-only configuration access to databases, query engines, identity providers and cloud accounts, so evidence can be pulled from the systems themselves.
  • Log retention decisions, such as how long query and access logs are kept and where they are exported. ClickHouse documents that its database audit log tables keep data up to 30 days by default, and that longer retention needs materialized views or export to object storage, so this decision must be made early (ClickHouse audit log documentation).
  • Vendor report requests, such as the current SOC 2 report or ISO certificate for any managed service in scope, obtained through the vendor's own process.

An implementation partner can prepare the evidence, but these owners and decisions stay inside your organization.

Can our team prepare for SOC 2 or ISO 27001 without outside help?

Yes, if the team has people with the right skills and time for the work. The skills that matter most include security engineering for configuration evidence, data engineering for the systems in scope, and working knowledge of the SOC 2 Trust Services Criteria or the ISO 27001 Annex A controls. The organization keeps ownership of its information security management system, its policies, its risk decisions and final sign-off, whichever partner it uses. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies perform the assessment itself. Confirm with your auditor which evidence formats it accepts before your team builds the evidence package.

Does a cloud provider's SOC 2 or ISO 27001 report cover a self-hosted server?

No. A provider's report covers that provider's service and the controls it describes, so it does not cover a ClickHouse or Trino server you install on your own machines. ClickHouse documents SOC 2 Type II and ISO 27001 coverage for ClickHouse Cloud, audited annually by independent auditors, and that attestation applies to the managed service's scope. Your self-hosted nodes, their operating system, network paths, backups and access settings fall under your own controls and your own assessment. If you use a commercial managed offering, confirm its report scope separately. Ask every vendor for its scope statement in writing, and map each in-scope system to an owner and to evidence you collect yourself (ClickHouse Cloud compliance overview).

What does a quote for SOC 2 or ISO 27001 preparation depend on?

A quote depends on the written scope. DeployOpen does not publish a price list, so there is no standard rate to look up, and a quote follows from the scope agreed in writing. Most engagements are fixed-scope, with scope, deliverables and timelines agreed before work starts. The scope items that move a quote include:

  • The systems, clusters and data stores in scope, and the environments they run in.
  • The SOC 2 type and period, or the ISO clauses and Annex A controls covered.
  • The volume of evidence to build, and the logging gaps to close before the assessment.
  • Whether retesting, handover documentation or ongoing support is included.

Ongoing support, upgrades and continuous testing are available as retainers, which recur, while preparation work is one-time. Ask any provider to itemize these elements and to state what is excluded.

Does DeployOpen issue a SOC 2 report or ISO 27001 certificate?

No. DeployOpen does not issue SOC 2 reports, attestations, ISO certificates or any other certification. It prepares systems, controls and evidence for compliance assessments, so your auditor can review them. A CPA firm performs a SOC 2 examination, and an accredited certification body performs ISO 27001 certification. Your evidence pack should therefore be built to the auditor's requests, and you should confirm the expected format before work starts. Those parties set the scope of their own work, so ask your auditor and certification body to confirm what they will accept from you. If a sales conversation suggests otherwise, treat it as a scope question and get the correction in writing.

How DeployOpen prepares the platform and evidence, without favoring either side

DeployOpen implements, customizes and documents self-hosted ClickHouse and Trino inside your own infrastructure, so your compliance and security teams can review both platforms directly. We prepare the systems, controls and evidence an assessor will ask for. Audit reports and certifications come from independent auditors and certification bodies, and the written scope decides which controls each platform must carry.

How we scope

  • Engagements are fixed-scope, with the scope, deliverables and timelines agreed in writing before work starts.
  • The written scope should name which ClickHouse and Trino components, environments and data sets fall inside the audit boundary.
  • Confirm with your auditor which SOC 2 categories and Annex A controls apply before design is frozen.

How we build

  • Enable ClickHouse query and session logs in system.query_log and system.session_log, then copy them to longer-term storage.
  • Replace Trino's default allow-all access control with file-based rules, Open Policy Agent or Apache Ranger before users connect.
  • Choose Trino authentication (password file, LDAP, OAuth 2.0, certificate, JWT or Kerberos) and configure TLS.

How we hand over

  • Deliver configuration baselines, access matrices and architecture documentation an assessor will request, mapped to control IDs.
  • Document which Trino event listeners (HTTP, MySQL, Kafka or OpenLineage) feed the query audit trail.
  • Record the ClickHouse and Trino version lines in use, and the security patch plan for each supported line.

How we support

  • Offer ongoing support, upgrades and continuous testing as retainers after the initial handover.
  • Plan for ClickHouse LTS and stable release cadence, so every upgrade is tested and documented before it reaches production.
  • Re-review access rules, audit log retention and Trino connector credentials each cycle, since assessors look at operation over time.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.