ClickHouse vs Apache Druid for SOC 2 and ISO 27001 audits: which side fits?
ClickHouse Cloud fits a team that wants its auditor to rely on vendor assurance, because ClickHouse's compliance documentation lists a SOC 2 Type II report since 2022 and ISO 27001 since 2023, both audited annually by independent auditors. Apache Druid fits a team that expects to produce all of the database evidence itself, because the documentation reviewed for Apache Druid shows no vendor attestation. This section covers only the compliance angle. The general ClickHouse vs Apache Druid comparison of architecture and operations sits on its own page.
The vendor reports describe ClickHouse Cloud, the managed service, so they do not cover a ClickHouse server your organization runs. The open-source server is Apache-2.0 licensed, and a self-hosted deployment brings its hosts, access, patching, backups and logging into your own audit scope. Start with the audit log: ClickHouse's documentation says it is on by default in system.session_log and system.query_log, retained up to 30 days by default, and that longer retention needs materialized views or an export to S3, GCS or Azure Blob Storage. For Druid, map the Druid security overview to your controls. Authenticator extensions cover HTTP basic, LDAP and Kerberos, and authorization uses users, roles and permissions, with no direct grants to individual users. Request logs record query metrics such as execution time and memory usage, so confirm whether they also identify who ran each query before counting them as audit evidence.
The decision turns on three questions. First, the hosting model: a managed ClickHouse Cloud service places the database's controls inside the vendor's reports, while self-hosting or running Druid keeps them in your scope. Second, whether the database sits inside the audit scope at all, since any database holding in-scope data will be tested regardless of its license. Third, how much evidence the team can produce on request: access lists, session and query logs with retention beyond the default, change records and tested backup restores. Ask your auditor early which systems are in scope, and ask ClickHouse for its current report and scope statement before relying on it.
What SOC 2 and ISO 27001 audits ask of a data warehouse layer
Neither SOC 2 nor ISO 27001 assesses a database product on its own. Each audit reaches the warehouse through the criteria and controls the organization puts in scope, so the cards below set out how those structures work.
Common criteria apply to every SOC 2
SOC 2 reports are built on the common criteria, CC1 to CC9, which cover the security category and apply to every report regardless of scope. For a warehouse layer, they show up as questions about who can reach the data, how access is granted and reviewed, and how changes to the system are authorized. A vendor's SOC 2 report for a managed service does not cover a database you run yourself, so confirm with your auditor where the system boundary sits.
Optional categories add criteria
Availability, processing integrity, confidentiality and privacy join a SOC 2 only when they are in scope. The 2017 Trust Services Criteria break down into 33 common criteria, 3 availability, 2 confidentiality, 5 processing integrity and 18 privacy criteria. A warehouse holding customer or personal data often pulls confidentiality or privacy into scope, so decide that deliberately and record why each category is in or out.
Trust Services CriteriaType 1 against Type 2 reports
A Type 1 report describes the system and assesses whether controls were suitably designed as of a specific date. A Type 2 report adds an opinion on operating effectiveness over a period, which means the controls ran throughout the window. For a warehouse, a Type 1 shows that access and logging controls were designed correctly on one day, while a Type 2 needs dated evidence such as completed access reviews. Ask which type your audience expects and set the observation period early.
AICPA SOC 2 overviewISO 27001 Annex A themes
Annex A of ISO/IEC 27001:2022 lists 93 controls in four themes: 37 organizational, 8 people, 14 physical and 34 technological. The organization selects which controls apply through its statement of applicability, so most warehouse controls sit under the organizational and technological themes. Physical controls usually rest with whoever runs the hosting facility. Check which Annex A controls the statement of applicability claims for the warehouse and where each one is evidenced.
Certification bodies and the three-year cycle
ISO does not certify organizations. Accredited certification bodies do, working to ISO/IEC 17021-1:2015 together with ISO/IEC 27006-1:2024, and a certificate runs on a three-year cycle with at least one audit in every calendar year. Budget the annual audit as recurring work. Ask the certification body for its accreditation scope and confirm it has applied the 2024 requirements, which IAF MD 29:2024 required for all clients by 31 March 2026.
Scoped controls decide the database's role
Neither audit assesses a database on its own. It enters the assessment only through the controls scoped to it, such as access, logging, change management, backup and vendor management. For each one, confirm which control owner covers the warehouse, which systems it touches, and what dated evidence shows the control operated. Those answers usually decide how much audit work the warehouse creates.
How ClickHouse and Apache Druid each meet the requirement as documented
This table sets each platform's documented controls against the requirements a SOC 2 or ISO 27001 assessor will test in a data warehouse or lakehouse. Read the ClickHouse column as Cloud-managed attestation plus server features, and treat any cell that says to confirm as an open item for your own environment. The main takeaway: ClickHouse has the stronger published vendor attestation, while Druid's documented controls are features you configure and evidence yourself.
| Requirement | ClickHouse as documented | Apache Druid as documented |
|---|---|---|
| License | Apache-2.0 for the server. ClickHouse Cloud is a separate managed service. | Apache-2.0, an Apache Software Foundation project. |
| Vendor attestation | ClickHouse Cloud: SOC 2 Type II since 2022 and ISO 27001 since 2023, audited annually by independent auditors. Self-hosted servers are not covered. | No vendor attestation is stated in the Druid documentation reviewed. Confirm with the Apache project or a commercial distributor. |
| Audit logging | Query and session logs are on by default in system.query_log and system.session_log. | Request logs via file, emitter, slf4j or composing loggers, with query metrics such as execution time and memory usage. |
| Log retention and export | 30 days by default. Keep longer with materialized views or export to S3, GCS or Azure Blob Storage. | Set by the logger you configure. Retention period to confirm for your chosen logger and storage. |
| Authentication | Confirm the supported methods for the version you run. | Authenticator extensions for HTTP basic authentication, LDAP and Kerberos. |
| Authorization | Roles to confirm for the version you run. Verify grant scope and who can read the log tables. | Users, roles and permissions. Permissions cannot be assigned directly to individual users. |
| Encryption in transit and at rest | Not stated in the reviewed documentation. Confirm TLS and at-rest encryption per version and deployment. | Not stated in the reviewed documentation. Confirm TLS and at-rest encryption per version and deployment. |
| Data location | Cloud regions per the supported regions page. Self-hosted data stays wherever your team runs the servers. | Self-hosted deployment, so data stays where your team runs the cluster. |
| Patch support | Security updates for 26.9, 26.8, 26.7 and 26.3. Other release lines are unsupported. | Releases 36.0.0 (February 9, 2026), 37.0.0 (May 8, 2026) and 38.0.0 (October 1, 2026). Support window to confirm. |
Where audit evidence is produced and where the vendor boundary sits
The diagram starts at the self-hosted ClickHouse server, where audit records sit in system.query_log and system.session_log, on by default. A materialized view or export copies those records to object storage (S3, GCS or Azure Blob Storage), which feeds the evidence store the assessor samples. The self-hosted Druid cluster sits inside the same trust boundary, split into Master, Query and Data services, with request loggers writing to file or emitter. The ClickHouse Cloud box sits outside the boundary: the vendor's SOC 2 and ISO 27001 attestation covers only the managed service, so your self-hosted servers stay in your own audit scope. Check retention settings and confirm with the vendor and assessor which evidence is yours.
Audit log flow from self-hosted ClickHouse and Druid to the vendor boundary and assessor.
The evidence SOC 2 and ISO 27001 audits ask for from ClickHouse or Apache Druid
ClickHouse Inc. holds its own assurance for ClickHouse Cloud: a SOC 2 Type II report since 2022 and ISO 27001 coverage since 2023, both audited annually by independent auditors. Those reports describe the managed service, so they do not by themselves cover a ClickHouse server you run in your own environment. Your team produces the rest, starting with the logs and access records that show how the database was used and who could change it.
- Vendor reports and scope statements: Request the current SOC 2 Type II report and ISO 27001 documentation from ClickHouse Inc., and read the scope statement to confirm which services and regions are inside it. Your third-party risk team requests and files these.
- Query and session logs: The audit log is on by default in
system.query_logandsystem.session_log, and keeps up to 30 days by default. Your platform team must export these to longer storage, through materialized views or exports to S3, GCS or Azure Blob Storage, so the records cover the full audit period. - Export pipeline configuration: Document the job that moves logs out, its schedule, destination, access controls and run history. Platform engineering owns this, and the assessor will test it by sampling exported days.
- Role and user lists: Export users, roles and grants on each access review date. Database administrators produce these, and the access review owner signs them off.
- Version and patch records: ClickHouse's security policy lists 26.9, 26.8, 26.7 and 26.3 as supported with security updates. Record the version on every node, the upgrade dates and the lines you run against those supported lines.
Confirm whether your deployment is Cloud or self-hosted before you request evidence, because that decides which vendor reports you can cite and which records you must produce yourself.
Apache Druid is licensed under the Apache License 2.0 and runs wherever you host it, so no vendor report covers your deployment. Your team produces the authentication, authorization, logging and change evidence for the Druid services it runs. The Druid security overview describes authenticator extensions for HTTP basic authentication, LDAP and Kerberos, and an authorization model built on users, roles and permissions, where permissions cannot be assigned directly to individual users.
- Authenticator configuration exports: Export the authenticator settings for HTTP basic, LDAP or Kerberos at each review. The platform team owns the export, with the directory team for LDAP or Kerberos.
- Role and permission exports: Because permissions attach only to roles, the access review must list each role, its permissions and the users mapped to it. The security team produces this with application owners.
- Request logger configuration and sample logs: Druid's request logging offers file, emitter, slf4j and composing loggers, and request logs carry query metrics such as execution time and memory usage. Confirm with your Druid configuration whether the logs record the querying identity, since an assessor will ask who ran which query.
- Release and upgrade records: Druid 38.0.0 was published on October 1, 2026, after 37.0.0 on May 8, 2026 and 36.0.0 on February 9, 2026. Record the version of each Druid service you run, the upgrade dates and the test results for each upgrade.
- Change tickets: Link every configuration change, extension change and upgrade to a ticket that shows the approver and the date. The change management owner keeps this trail.
If a hosting provider or support partner runs Druid for you, ask in writing which of these records it produces and which your team must keep.
A SOC 2 Type 2 report adds an opinion on operating effectiveness over a period, so the logs and records above must exist for the whole observation window, including the days before the auditor starts sampling. A Type 1 report looks at control design as of one date, which needs far less history. ISO 27001 certification bodies also audit each calendar year of a three-year cycle, so the same evidence streams need continuity across years.
- Continuous log retention: ClickHouse query and session logs keep up to 30 days by default. Anything older must already sit in your export target, and any missing day inside the window is a gap the assessor will find.
- Dated access review snapshots: Take dated exports of ClickHouse users and roles and Druid authenticator and role settings at each review date, so the assessor can see who had access on any day in the period.
- Version history: Keep a dated record of every version change on both platforms, so the assessor can match each supported line to the dates it ran.
- Change ticket completeness: Every configuration change in the window needs a ticket, and sampling will draw from the full period, so a gap in one month can fail a test.
- Named evidence owners: Assign one owner to each evidence stream and a monthly completeness check, since your organization carries most of this work for self-hosted systems.
Ask your auditor which period and sampling method they will use, then build the evidence calendar from that answer.
Where the audit trail breaks for each side, and how to test it
For ClickHouse, the audit trail exists before you configure anything, and that is the risk. ClickHouse's documentation says 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 observation window or your own retention policy runs longer than that, the earliest evidence will be gone before the assessor asks for it. Decide the retention period first, then keep the data with a materialized view or export it to S3, GCS or Azure Blob Storage on a schedule, following ClickHouse's database audit log documentation. Export before the window closes. Confirm that the export job runs on time, that the target store blocks deletion by ordinary users, and that a named owner checks it each period. An export started at the end of the window cannot recover the early months.
For Apache Druid, the documented request log fields include query metrics such as execution time and memory usage. Those fields show how queries performed, but the request logger you choose decides what else is written. Druid's request logging documentation lists file, emitter, slf4j and composing request loggers, so confirm with your logging configuration that the logger also records the identity behind each request, alongside the query metrics. Ask for one sample entry from a test query run under a named account, and check that the username is present and traces back to the authenticator in use, whether HTTP basic, LDAP or Kerberos. Druid assigns permissions to roles, and permissions cannot be assigned directly to individual users, so the log entry answers only half the question. You still need the role mapping that explains why that access was allowed.
On both sides the gap is the same: a log can show who ran a query, but it cannot show that the person's role was approved. Tie each role to an access review that records a reviewer, a date and a decision, and keep that record in the same evidence folder as the logs. Then run the test before the auditor does. Pick one named user, pull that user's activity for a sample period from ClickHouse's exported logs or Druid's request logs, identify the role each query depended on, and match that role to an approved access review covering the same period. Illustrative: if a sampled query ran under a role that the review marked for removal partway through the period, you have an exception to explain and a control to fix before fieldwork starts.
Configuring the audit trail before the auditor samples it
This sequence sets up the audit trail so an auditor can sample it without surprises. Each step names the owner, the configuration and the output that shows it works, from scope and access through log export, retention, version control and a test evidence pull. Run it on the side you chose, and keep the results in the change record the auditor will read.
Inventory in-scope systems and vendor coverage
The platform owner lists every system that stores, queries or administers the analytics data: the database nodes or Druid services, the Keeper or ZooKeeper nodes, the object storage used for exports, the SSO provider and the BI tools that connect. For each system, record whether the vendor's SOC 2 or ISO 27001 coverage applies. ClickHouse Cloud is covered by ClickHouse Inc.'s SOC 2 Type II report and ISO 27001 coverage, but a self-hosted ClickHouse server on your own servers is outside that vendor scope, so your own controls must cover it. Confirm the same question for Apache Druid with any distributor you use. Done when the inventory names an owner and a control source for each system.
Set authentication and roles for each user path
The database administrator confirms which authentication methods the chosen ClickHouse version supports for each user path, and checks the exact method names in the documentation for that version before writing them into the configuration. For Druid, the platform team enables the authenticator extension that matches the directory, such as HTTP basic, LDAP or Kerberos, then maps groups to roles and assigns permissions to roles, because Druid does not assign permissions to individual users. Done when a role export lists every user, the roles each one holds and the permissions on each role, and a test login for each path is recorded.
Enable audit logs and export them off the cluster
The database administrator confirms that ClickHouse's audit log is on, since query and session records are kept in system.query_log and system.session_log, which retain rows for up to 30 days by default. Before that window closes, set an export to object storage (S3, GCS or Azure Blob Storage) through a materialized view or a scheduled job, and restrict delete permissions on the target bucket. For Druid, choose a request logger from the file, emitter, slf4j or composing options, so that query metrics such as execution time and memory usage are written to a location the platform team controls. Done when a test query you run appears in the exported copy.
Set retention to match the observation period
The compliance lead writes down the retention period the auditor expects for access and query records, based on the observation period in the SOC 2 engagement or the retention rule in the ISO 27001 management system. The security team applies that period to the live system tables, to the exported copies and to Druid's request logs. The 30-day default in ClickHouse's system tables is only a starting point, so longer retention depends on the export you configured in the previous step. Ask the auditor to confirm the period in writing. Done when the database setting, the storage lifecycle rule and the policy text all show the same period.
Pin the version line and log upgrades as changes
The platform owner pins each cluster to one supported ClickHouse line and records that line in the configuration baseline. ClickHouse's security policy lists 26.9, 26.8, 26.7 and 26.3 as supported with security updates, and its FAQ says LTS releases ship twice a year and are supported for a year after release. For Druid, the release history shows 36.0.0 on February 9, 2026, 37.0.0 on May 8, 2026 and 38.0.0 on October 1, 2026, so pin the release you tested and review each new release before adoption. Every upgrade gets a change ticket with the version, the test result, the approver and the rollback plan. Done when every cluster runs a version on a supported line and each upgrade has one ticket.
Run a sample evidence pull for a named user
Choose one named account, for example an illustrative leaver account, and have the compliance lead request what an assessor would ask for: the account's roles, its login history, the queries it ran and the exports that hold those records. The platform owner runs the pull from the exported logs, not from the live cluster, and records how long it took and who approved the access. Each gap, such as a missing export, a permission granted directly to a user or retention shorter than the agreed period, gets a fix and a retest before the auditor's sample request arrives. Done when the pull reproduces the account's activity end to end and the gap log is closed or each open item has an owner.
What buyers ask before hiring help for a SOC 2 or ISO 27001 audit
Does a vendor SOC 2 report cover our self-hosted ClickHouse server?
No. A vendor SOC 2 report covers the vendor's managed service, so it does not cover a ClickHouse server that you install and run in your own cloud account, data center or air-gapped network. ClickHouse's compliance documentation lists SOC 2 Type II for ClickHouse Cloud since 2022 and ISO 27001 since 2023, and those attestations apply to that managed service. Read the scope statement in any report to confirm which services, regions and controls it covers. Then treat your self-hosted server as its own in-scope system, with its own evidence for access, configuration, logging, backups and patching. You can still use the vendor report as one input to your review, but you need your own records for the deployment you operate.
How much effort does a SOC 2 or ISO 27001 audit take for our team?
Effort depends on how much evidence your environment already produces, so no single figure applies. The main drivers are:
- The number of in-scope systems, including each ClickHouse node, any Keeper nodes, the BI and ingestion tools that connect to it, and the admin hosts used to reach them
- Log export, because ClickHouse keeps query and session logs for up to 30 days by default, so longer history needs a materialized view or an export to object storage
- How access reviews are run, and whether past reviews were written down
- For SOC 2, whether the report is a Type 1, which describes control design as of a date, or a Type 2, which also tests operating effectiveness over a period
- For ISO 27001, how many of the 93 Annex A controls you apply
- Whether your team already holds policies, change records, backup tests and version history
Ask any provider for a written effort estimate that ties each driver to a named deliverable.
Can our team prepare for a SOC 2 or ISO 27001 audit without outside help?
Yes, if you have named control owners, enough time to produce the evidence and someone who can run an internal review before the auditor arrives. The audit itself is performed by an independent CPA firm for SOC 2 or by an accredited certification body for ISO 27001, and no implementation partner can issue the report or certificate. DeployOpen prepares systems, controls and evidence for compliance assessments, including configuration, logging, access and backup records, but it does not issue audit reports, attestations or certifications. A practical test is to assign an owner to each in-scope control before you decide on outside help. A control without an owner will hold up the evidence, whoever does the preparation.
How long does a SOC 2 or ISO 27001 audit take from start to finish?
It depends on the audit window and the auditor's schedule, so no fixed duration applies. A SOC 2 Type 2 examination tests controls across an observation period that you agree with the auditor, and the evidence must exist for that whole period, so preparation cannot shorten it. An ISO 27001 certification audit is booked with an accredited certification body that sets its own calendar. Ask for a written timeline in the scope that shows the audit or observation window, the date each evidence set is due, the auditor's fieldwork and report dates as far as they are known, your sign-off points, and any dependency on a vendor report being issued.
What does a SOC 2 or ISO 27001 audit need from our team?
The work needs specific inputs from your side, and most delays trace back to missing ones:
- Named owners for each in-scope control, plus a backup owner for each
- Read access to ClickHouse audit logs, including the query and session logs that keep up to 30 days by default, and a plan to keep longer history in a materialized view or an export to S3, GCS or Azure Blob Storage
- Version records for every server, showing the release in use and when each upgrade happened
- Access review history: who held which roles, when each review ran and what changed afterward
Change tickets and backup restore test records usually support these four items.
How does the ISO 27001 certification cycle work over three years?
ISO 27001 certification runs on a three-year cycle, and the certification body must audit the management system in every calendar year of that cycle, through either a surveillance audit or the recertification audit. The rules come from ISO/IEC 17021-1, the standard that accredited certification bodies follow, so your internal audit and management review should run every year, and the certification body finds a current system at each visit. ISO publishes ISO/IEC 27001:2022 with its requirements, but ISO does not certify organizations; accredited certification bodies do, and each sets its own audit dates within these rules. Ask your certification body to confirm its schedule for the first three-year cycle in writing.
What should a written scope for audit preparation include?
A written scope should name the systems in scope, the framework and control set, the audit type and period, the deliverables and the people who sign off. For a self-hosted ClickHouse estate, list each cluster and node, the BI and ingestion tools that connect to it, the identity source that feeds access, and the backup location. State whether the target is a SOC 2 Type 1 or Type 2 report under the AICPA 2017 Trust Services Criteria, or ISO/IEC 27001:2022 with the Annex A controls you apply. Mark which systems the vendor report covers and which it does not, and list exclusions. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and most engagements are fixed-scope.
How DeployOpen prepares ClickHouse or Apache Druid for the audit
DeployOpen prepares ClickHouse or Apache Druid for SOC 2 and ISO 27001 audits by working from the controls an assessor will test. We scope the systems, configure access and logging inside your own infrastructure, and document each control with the evidence it produces. DeployOpen prepares that evidence for independent auditors; it does not issue audit reports or certifications.
How we scope
- We agree a written scope before work starts, listing the ClickHouse or Druid clusters, data sources and environments covered.
- Agree the system boundary with your auditor early, because the in-scope systems and observation period drive the evidence list.
- Engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as retainers.
How we build
- Deploy the database in your own cloud account, data center or air-gapped network, with access and logging configured first.
- Connect ClickHouse and Druid authentication to your directory where the platform supports it, and confirm each method.
- Retain ClickHouse query and session logs longer than the 30-day default, using materialized views or export to object storage.
How we hand over
- Deliver control documentation that maps each in-scope setting to the SOC 2 criteria or ISO 27001 Annex A control.
- Hand over configuration files, runbooks, access lists and log retention settings, stored in your own repositories and systems.
- Ask ClickHouse whether its SOC 2 and ISO 27001 reports extend to your self-hosted servers.
How we support
- Repeat testing after fixes and upgrades, so the evidence your assessor reviews matches the system that is running.
- Ask for a quote that itemizes engagement, testing and retainer effort, so you can see what recurs after handover.
- Keep evidence flowing through the auditor's observation period, since Type 2 reports test operating effectiveness across a window.

