ClickHouse vs Apache Spark for SOC 2 and ISO 27001 audits

ClickHouse Cloud carries documented SOC 2 Type II and ISO 27001 coverage from its vendor, while self-run ClickHouse or Apache Spark leaves every control with your team. The decision turns on deployment scope and who produces the evidence.

On this page

ClickHouse vs Apache Spark for SOC 2 and ISO 27001 audits: which side fits your scope

Picture an illustrative team whose analytics warehouse is in SOC 2 and ISO 27001 scope, with both ClickHouse and Apache Spark shortlisted. ClickHouse Cloud fits when you want the vendor's own SOC 2 Type II coverage (since 2022) and ISO 27001 coverage (since 2023), both audited annually by independent auditors, while self-run ClickHouse or Apache Spark places every control, log export and evidence set on your team. This page covers only the compliance angle, and the general ClickHouse vs Apache Spark comparison sits on its own page. The decision turns on which deployment is in scope and who can produce the evidence an assessor asks for.

Start with what the vendor report covers. ClickHouse's compliance documentation describes the Cloud service as the audited system, so a self-run cluster on your own servers needs its own evidence. In ClickHouse Cloud, the database audit log is on by default in the system.session_log and system.query_log tables, retained up to 30 days by default. If your evidence window is longer, you can keep logs by adding materialized views or exporting to S3, GCS or Azure Blob Storage, and the assessor will want to see that export running. For Apache Spark, spark.authenticate and spark.acls.enable both default to false, so shared-secret RPC authentication and per-application UI access lists stay off until you turn them on. The UI lists also need an authentication filter to take effect.

Set the scope before you collect evidence. Ask ClickHouse for the current SOC 2 report and ISO 27001 certificate, then check the system boundary, the period covered and whether the regions and services that hold your data are included. The ClickHouse Cloud compliance overview is the starting point for that check. For a self-run deployment or Spark, the evidence set is yours: access reviews, configuration baselines, the spark.eventLog.dir directory created with the permissions the operator sets, log retention records and change history. A Cloud deployment shifts most platform evidence to the vendor, but your team still owns user access, query permissions and log retention. DeployOpen prepares that evidence and tests the setup, while your independent auditor or certification body issues any report or certificate.

How ClickHouse and Apache Spark meet SOC 2 and ISO 27001 control areas as documented

This table sets the documented SOC 2 and ISO 27001 control areas for ClickHouse and Apache Spark side by side. Read each row as what the vendor documents, then confirm the rest in your own environment, because a self-run deployment does not inherit ClickHouse Cloud's audit reports. The main takeaway is that ClickHouse documents audit logging on by default and an annual audit for its managed service, while several Spark security controls start disabled and need operator configuration.

Control areaClickHouse (as documented)Apache Spark (as documented)
Assurance reports and certificationsCovers ClickHouse Cloud only: SOC 2 Type II since 2022, ISO 27001 since 2023, both audited annually.No attestation documented for Apache Spark itself. Confirm with your distribution or cloud provider.
Audit loggingsystem.session_log and system.query_log are on by default, retaining up to 30 days by default.Event logging, when enabled, needs the spark.eventLog.dir directory created with proper permissions by the operator.
Log retention and exportKeep logs longer with materialized views or export them to S3, GCS or Azure Blob Storage.Retention and export are operator decisions. Confirm where event logs are kept and for how long.
AuthenticationNot covered in the documentation reviewed here. Confirm SSO and login options with ClickHouse for your deployment.spark.authenticate defaults to false and enables shared-secret RPC authentication. Kerberos supports application submission.
Access controlConfirm user, role and grant options with ClickHouse for your deployment before assuming coverage.spark.acls.enable defaults to false. View and modify permissions need an authentication filter to apply.
EncryptionConfirm encryption in transit and at rest for your tier and deployment before assuming coverage.Confirm RPC and storage encryption in your own Spark configuration before assuming coverage.
Data locationCloud region availability is documented. For self-run deployments, data location is yours to confirm.Data location follows where the operator runs the cluster and stores event logs. Confirm in your own environment.
Supported versionsSecurity updates for 26.9, 26.8, 26.7 and 26.3. All other versions are unsupported.Current release is 4.2.0 (July 14, 2026). The 3.5.x extended LTS ends November 2027 with security fixes only.

How SOC 2 and ISO 27001 frame the controls an assessor tests on a warehouse

A SOC 2 examination tests your controls against the AICPA's 2017 Trust Services Criteria (TSC), in the version with revised points of focus published in 2022. Security is covered by the common criteria CC1 to CC9, and those apply to every SOC 2. Availability, confidentiality, processing integrity and privacy add their own criteria only when your scope includes them. The full 2017 set holds 61 criteria, 33 of which are common criteria. For a warehouse, most of the evidence sits in the common criteria: CC6 covers logical and physical access controls, CC7 covers system operations and CC8 covers change management. Decide the scope first. Adding confidentiality or processing integrity brings criteria that the warehouse's data flows must also meet, and your system description has to name the warehouse, its replicas, the Spark jobs that feed it and any export path that moves data out of it.

A SOC 2 Type 1 report describes your system and whether controls are suitably designed as of a single date. A Type 2 report adds an opinion on whether those controls operated effectively over a period, which is where the audit trail matters most. ClickHouse's database audit log sits in the system.session_log and system.query_log tables and keeps data up to 30 days by default. If your observation period is longer than that, set up a materialized view or an export to object storage before the period starts, not after. On the Spark side, the spark.eventLog.dir directory must be created with proper permissions by the operator, and spark.acls.enable is off by default, so an assessor will ask who configured both and when.

ISO/IEC 27001:2022 works differently. It sets requirements for an information security management system, and its Annex A lists 93 controls in four themes: organizational (37 controls), people (8), physical (14) and technological (34). ISO does not certify organizations. Accredited certification bodies do, and they audit against the standard. The certification cycle lasts three years, with at least one audit in every calendar year, either surveillance or recertification. For a warehouse, the technological theme carries most of the work, including access control and logging. Confirm with your certification body which Annex A controls they will sample and whether the ClickHouse or Spark deployment sits inside the scope of your management system.

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

The vendor's attestations cover the service it runs, and the controls below cover what sits around it. Each card separates what a managed or self-hosted option inherits from what your team must configure, document and show to an assessor. Check each item against your own system boundary before you rely on it in a SOC 2 or ISO 27001 evidence pack.

ClickHouse Cloud attestations

ClickHouse's compliance documentation lists SOC 2 Type II, audited since 2022, and ISO 27001, audited since 2023, with both examined annually by independent auditors. Ask for the current reports and check that their scope covers the Cloud service, regions and features you plan to use. The report covers the vendor's side of the service, so it does not replace your own access reviews or evidence for your environment.

Compliance overview

ClickHouse Cloud settings you own

Attestations do not configure who can reach your data. Your team still creates users, assigns roles, chooses a region from the supported regions list and runs access reviews on a schedule you set. Keep a dated export of user, role and region settings so an assessor can see who had access and when. Confirm which regions your contract permits before you load regulated data.

Supported regions

No inherited attestation when self-hosting

The ClickHouse server is licensed under Apache-2.0, and ClickHouse Inc. sells its managed service separately. No vendor attestation applies to a server you run in your own network, so each SOC 2 or ISO 27001 control that touches ClickHouse needs your own design description and evidence. Map each control to a configuration, a log or a ticket, and assign an owner to every mapping before the audit period opens.

Patching and audit log export

Your team picks the ClickHouse version and keeps it on a supported line. The security policy lists 26.9, 26.8, 26.7 and 26.3 as supported with security updates, and LTS releases are supported for a year after release. The audit logs in system.query_log and system.session_log are on by default but keep up to 30 days, so export them to object storage through materialized views or a scheduled job if your retention period is longer.

Security policy

Apache Spark security settings you configure

Spark is licensed under Apache-2.0, and its security settings stay off until your team enables them. spark.authenticate defaults to false, so RPC channels need a shared secret configured, and spark.acls.enable also defaults to false and needs an authentication filter to take effect. Set Kerberos for application submission, create the spark.eventLog.dir directory with correct permissions, and document the cluster manager and storage underneath, since those controls sit outside Spark.

Spark security

Managed Spark and hosted services

A managed Spark or Spark-based hosted service runs the engine for you, and an attestation covers only the named service and its stated scope. Ask the provider which SOC 2 reports or ISO 27001 certificates cover that exact service, which Spark version it runs, which regions it uses and whether the scope includes the data stores it reads. Get those answers in writing before you put regulated data into it.

Where audit evidence is produced and which boundary the assessor tests

The diagram starts with client queries reaching ClickHouse Cloud, which sits inside the vendor scope box. Query and session logs land in system tables that keep data for a default retention window, so longer retention needs a materialized view or an export to object storage that the client controls. The assessor samples from that customer-side storage. The Spark path runs separately: event logs go to the spark.eventLog.dir directory, which the operator must create with proper permissions. Check that the retained window covers the audit period and that each sampled record sits on the side of the boundary the assessor tests.

Audit evidence paths for ClickHouse Cloud and Spark, split by trust boundary.

The evidence an assessor asks for, and how each side produces it

ClickHouse Cloud moves part of the evidence to the vendor. ClickHouse's compliance documentation lists SOC 2 Type II since 2022 and ISO 27001 since 2023, both audited annually by independent auditors, so your assessor will ask for the current reports that cover the managed service. Your team still produces the scoped system description, user and role listings, access reviews, change records and the logs for your own tenant and data.

  • Vendor attestation: Request the current SOC 2 Type II report and ISO 27001 documentation from ClickHouse, and check that their period and services match your examination window. Start with the ClickHouse Cloud compliance overview.
  • Audit log extracts: The database audit log is on by default in system.session_log and system.query_log, but retention defaults to 30 days. For a full examination period, you must set up materialized views or export to S3, GCS or Azure Blob Storage, and keep those exports under your control.
  • User and role listings: Export users, roles and grants from your service. Confirm with ClickHouse which system tables and console views your tier exposes, then document the export method yourself.
  • Access reviews and change records: Vendor reports do not cover your review of who has access or your approvals for schema, query and network changes. Generate these from your ticketing and identity systems.
  • Version records: Record the ClickHouse version your service ran across the period. Confirm with the vendor how upgrades are scheduled and notified, and keep those notices as part of the trail.

Before the audit, confirm that the vendor report's scope matches the services and regions named in your system description, and that your log exports cover every day of the examination period.

How release and support windows set the audit calendar

Start the audit calendar from the version you run, because support windows decide which release your evidence describes. ClickHouse ships stable releases roughly monthly, and the three latest stable releases receive diagnostics and bug fix backports. It also ships LTS releases twice a year, each supported for a year after release. The security policy lists 26.9, 26.8, 26.7 and 26.3 as the versions currently receiving security updates, so a cluster on any other line is outside security support. Record the exact build your nodes report in the change register for each audit period, and map it to that list on the date of each control test. Confirm the current list on the live ClickHouse security policy before planning.

Spark's calendar is set by its versioning policy, which runs on different clocks. Spark 4.2.0 was released on July 14, 2026, and feature releases move to a quarterly cadence starting with 4.3.0. Major and feature release branches are maintained for six months. The last release in each major line is an LTS maintained for 18 months. The 3.5.x line has an extended LTS that ends in November 2027 and receives security fixes only, so a Spark 3.5 cluster still in service after that date needs an exit plan with a date on it. Ask your platform team or distribution vendor which exact 3.5.x build is deployed, because the release you run and the branch it came from may differ.

A version end date that falls inside an examination period turns the upgrade plan into audit evidence. For a SOC 2 Type 2 report, the auditor tests operating effectiveness over the period, so a control that depends on security patches must show that patches were applied while the version was supported, and that a dated plan existed when support ended. ISO 27001 surveillance audits raise the same question for the Annex A technological controls that cover vulnerability and change management. Put three items in the plan: the supported-version list captured at each review, the upgrade or exit decision with a named owner, and a staging test record for the target build. Review the live release pages and the security policy every quarter, starting now. Confirm with your auditor how they want the plan dated and approved.

How to configure the chosen side for SOC 2 and ISO 27001 evidence

This sequence turns the chosen platform into evidence an assessor can test. Work runs in a fixed order: define the boundary, configure the side you selected, pin versions, then collect evidence from the first day of the examination period. Each step closes with an output you can hand to the auditor.

  1. Confirm the deployment model and draw the boundary

    The platform owner and compliance lead confirm the deployment model: ClickHouse Cloud or self-run ClickHouse, and Spark on your own clusters. They then write the system boundary, listing every component that stores, processes or transmits in-scope data, including database or cluster nodes, Spark drivers and executors, ingestion sources, BI users, the identity provider, log stores and backup locations. Record the hosting region or data center for each one. Only the branch that matches your deployment applies in the next steps. Done when each component owner signs off on the boundary and the auditor confirms the scope in writing.

  2. Request ClickHouse Cloud compliance documentation

    For ClickHouse Cloud, the compliance lead requests the current compliance documentation and asks which report and period it covers. The ClickHouse Cloud compliance overview lists SOC 2 Type II since 2022 and ISO 27001 since 2023, with independent auditors assessing each year, so confirm your services are in scope. Then check the supported regions list, confirm the region where your data will sit, and record it in the boundary. Compare that region with your residency requirements before any data loads. Done when the report and the region confirmation are filed in the evidence register. Self-run teams skip this step.

  3. Extend self-run ClickHouse audit log retention

    For self-run ClickHouse, the platform team extends audit log retention beyond the default. The database audit log sits in system.session_log and system.query_log and is retained up to 30 days by default. Use a materialized view to write those rows into a table with longer retention, or export them on a schedule to S3, GCS or Azure Blob Storage. A materialized view only captures rows inserted after it exists, so deploy it before the examination period starts. Size retention to cover the full period plus any sampling window the auditor sets. Done when a query on the retained table returns rows from the first day of the period. Cloud teams skip this step.

  4. Enable Spark authentication and UI access control

    The Spark platform owner sets spark.authenticate to true, which is false by default, to turn on shared-secret authentication for RPC channels. Kerberos is also supported for submitting applications, so choose the method your environment uses and document it. Set spark.acls.enable to true to apply view and modify permissions per application. Those UI access control lists take effect only with an authentication filter in front of the Spark UI, so configure that filter and test it. Keep the shared secret out of job files and in your secrets manager. Done when an unauthenticated request to the UI is refused and a user without access cannot open another team's application.

  5. Create the event log directory with restricted permissions

    When event logging is on, the operator creates the directory named in spark.eventLog.dir with proper permissions, as the Spark security documentation requires. Create it before the first job runs. Give write access only to the Spark service account and limit read access to the people who review jobs. Apply the same restrictions to any backup or export copy of the event logs. Check the owner, group and permission bits on the directory and on a sample event file. Done when the listing matches the access list recorded in the boundary document.

  6. Pin supported versions and record the upgrade plan

    The platform owner pins a version that is still supported and records who approves each upgrade. For self-run ClickHouse, the security policy lists 26.9, 26.8, 26.7 and 26.3 as supported with security updates, and 26.8 and 26.3 are the current LTS lines. For Spark, 4.2.0 was released on July 14, 2026, with maintenance releases 4.1.3, 4.0.4 and 3.5.9, and the 3.5.x extended LTS receives security fixes only until November 2027. Cloud customers ask ClickHouse which version their service runs. Done when the version register lists each pinned version, its support source and the upgrade cadence.

  7. Start evidence collection on the first day

    Evidence collection starts on the first day of the period the report covers. A SOC 2 Type 2 report adds an opinion on operating effectiveness over that period, so the assessor looks for consistent records from the start. Export audit logs, configuration snapshots, access reviews, change records and the version register on a fixed schedule. Map each item to the control it supports, such as the security common criteria CC1 to CC9 for SOC 2 or the Annex A control themes for ISO 27001. Ask the auditor for the sample list before the period ends. Done when the evidence index has an item for each in-scope control and the first exports are filed.

Questions to settle before bringing in outside help for the audit

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

Some teams can, if they already have people who know the platform configuration and can produce evidence on a schedule. Three factors decide it: in-house skill with configuration and evidence collection, the size of the scope (how many systems, users and data flows an assessor will test), and whether ClickHouse Cloud moves specific controls to the vendor. Under the managed option, the vendor runs the database infrastructure and holds its own SOC 2 and ISO 27001 reports, which can reduce the number of controls you operate yourself, depending on what those reports cover. You still own access, log retention, change management and data handling. If your team lacks that depth, outside help is most useful for scoping, gap review and evidence design before the auditor arrives. Check the vendor's coverage against your own with the ClickHouse Cloud compliance overview.

How long does a SOC 2 or ISO 27001 readiness project take?

There is no single duration to plan around, because the length depends on three drivers: the examination period, the number of in-scope systems and how much evidence you have already collected. A SOC 2 Type 2 report covers an operating period that you and your auditor set, so a longer period means more evidence to gather and test. ISO 27001 certification runs on a three-year cycle, with at least one audit in every calendar year under the rules certification bodies follow, so plan the first audit around that cycle. Ask for the timeline in writing as part of the scope, along with its assumptions: systems covered, evidence already available, named owners and review dates. A timeline without those assumptions is hard to hold anyone to, and it will shift as soon as one of them changes.

What do we need to provide before an outside team starts work?

Name an owner for each control in scope, and give the outside team a working, logged path into every system before work starts. Expect to provide:

  • Named control owners for each area in scope, with a backup for each
  • Read access to the systems in scope, through accounts that are logged and can be reviewed
  • Log exports, including system.query_log and system.session_log in ClickHouse, which keep data up to 30 days by default unless you export or copy it elsewhere
  • Change records for the review period, with approvals
  • A named contact at your auditor or certification body

For ClickHouse, the database audit log is on by default, so decide the export destination early. For Spark, the spark.eventLog.dir directory must be created by the operator with the right permissions, so confirm that before the examination period starts.

What drives the cost of audit preparation help?

Scope drives most of the cost, followed by the number of systems and whether you run ClickHouse yourself or use ClickHouse Cloud. DeployOpen does not publish a price list. A quote follows from the written scope, which sets the deliverables, the systems covered, what your team provides and the timelines. Most engagements are fixed-scope, so the fee covers the agreed deliverables as a one-time cost. Ongoing support, upgrades and continuous testing run as retainers, which recur. Separately, the audit firm or certification body charges its own fees, set by its own scope and process. When you request a quote, ask for:

  • The list of systems, controls and evidence covered
  • What your team must provide, and by when
  • Which costs are one-time and which recur
  • Whether retesting or a retainer is included or priced separately
Does DeployOpen issue SOC 2 reports or ISO 27001 certificates?

No. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. An independent CPA firm issues a SOC 2 report after examining your controls. ISO itself sets the standard, and accredited certification bodies issue ISO/IEC 27001 certificates after they audit against ISO/IEC 17021-1 and ISO/IEC 27006-1. DeployOpen's role is the groundwork: configuring the platform, documenting controls, organizing evidence and testing the setup so your auditor can review it. Confirm with your auditor and certification body which evidence they accept and in what format before the work starts, so the groundwork matches what they will test.

Does buying ClickHouse Cloud settle our audit?

No. ClickHouse's SOC 2 Type II report (since 2022) and its ISO 27001 coverage (since 2023) cover the vendor's system, and independent auditors check them annually. They do not cover how your organization configures users, retains logs, classifies data or runs change management in your own environment. For example, ClickHouse's audit log tables keep data up to 30 days by default, so any longer retention is a decision you make and must document. Your auditor still has to confirm your scope, your own controls and which vendor controls they can rely on. Ask the auditor how they treat vendor reports and shared controls, and bring the vendor's current report into the evidence discussion from the start. The ClickHouse Cloud compliance overview is the place to start that conversation.

How DeployOpen prepares the systems and evidence for your audit

DeployOpen plans, implements, hardens and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For ClickHouse vs Apache Spark for SOC 2 and ISO 27001 audits, that means preparing the systems, configuration and evidence an assessor will ask to see, under a written scope. DeployOpen does not issue audit reports or certifications; independent auditors and certification bodies do.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • The written scope records which Trust Services categories apply, since security is always in and others are optional.
  • Ongoing support, upgrades and continuous testing can be added later as a retainer.

How we build

  • We configure authentication, access control and audit logging for each engine, then document the settings an assessor will review.
  • For ClickHouse, we set up audit log retention beyond the 30-day default, using materialized views or export to object storage.
  • For Spark, we turn on shared-secret authentication, UI access control lists and secured event log directories, then verify each setting.

How we hand over

  • Handover deliverables, listed in the written scope, can include configuration records, a control-to-system map and runbooks.
  • Evidence packs can include ClickHouse log exports and Spark configuration snapshots, with the steps needed to repeat each pull.
  • We do not issue audit reports; your auditor or certification body judges whether the evidence suffices.

How we support

  • Retainers cover ongoing support, upgrades and continuous testing after handover, on terms agreed in writing.
  • ClickHouse stable and LTS releases have different support windows, so the patch plan follows the line you choose.
  • Spark's 3.5.x extended LTS gets security fixes only until November 2027, so plan the next upgrade before then.

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.