StarRocks vs Apache Druid for SOC 2 and ISO 27001 audits: which side fits your scope
If your SOC 2 or ISO 27001 scope includes an analytics store and you have both StarRocks and Apache Druid shortlisted, the choice is a compliance decision as much as a technical one. Neither product's public documentation describes an attestation for the platform itself, so the fit turns on which access model, audit trail and evidence export your team can prove in its own environment, and on whether the workload is a SQL warehouse over object storage (StarRocks) or a high-concurrency analytics service with role-based access (Druid). This page covers the compliance angle only. The general comparison has its own page, and the organization running the system carries the audit, not the database vendor or DeployOpen.
StarRocks is the better fit when your team wants SQL warehouse queries over object storage and is prepared to own the log pipeline. By default it writes audit records to fe/log/fe.audit.log, the AuditLoader plugin can load them into a table, and audit_log_modules controls which events appear, with connection events included from v3.0. Set audit_log_json_format if your log collector expects JSON. Before you treat these logs as evidence, review GitHub issue #82691, which reports credentials in CREATE EXTERNAL CATALOG statements written to audit and FE logs in clear text. Confirm with your assessor how you will show that those statements are redacted or restricted. AuditLoader documentation
Apache Druid is the better fit when the workload is a high-concurrency analytics service and your access model is role-based. Its security overview describes authenticator extensions for HTTP basic authentication, LDAP and Kerberos, and authorization through users, roles and permissions, with no permissions assigned directly to individual users. Request logs can go to file, emitter, slf4j or composing loggers and include query metrics such as execution time and memory usage. Map those roles to the logical access (CC6) and system monitoring (CC7) controls you test, and confirm that your chosen logger can export records to the store your assessor will sample. Role assignments and access reviews remain your responsibility to maintain and evidence.
Four decisions that change the audit answer for SOC 2 and ISO 27001 audits
Four decisions determine what an assessor can test in a StarRocks or Apache Druid estate: who holds access, where audit records land, where data sits and which evidence period applies. Each card names the condition under which one side is easier to defend. The answer in every case is evidence your assessor can test, not a label from either vendor.
Access model and role design
Apache Druid authorizes through users, roles and permissions, and permissions cannot be assigned directly to individual users, so every grant passes through a role. Its security overview lists HTTP basic, LDAP and Kerberos authenticator extensions. Druid is the better-documented path when your identity provider already fits one of those authenticators. For StarRocks, confirm in its access control docs how roles, privileges and admin accounts are assigned and whether your identity provider can be used. Your assessor will test a sample of accounts against approved role grants and leaver removals.
Druid security overviewAudit trail location and retention
StarRocks writes audit records to fe/log/fe.audit.log by default, and AuditLoader can load them into a table. Connection events are included from v3.0, and audit_log_json_format emits JSON, which suits teams that want audit rows they can query. A GitHub issue (#82691) reports credentials in CREATE EXTERNAL CATALOG statements written to audit and FE logs in clear text, so test log handling first. Druid's request logs carry query metrics such as execution time and memory usage, written through file, emitter, slf4j or composing loggers. Confirm which administrative actions each platform records and how long the records are kept.
Where the data physically sits
In StarRocks shared-data deployments, data sits in object storage such as AWS S3, Google GCS, Azure Blob Storage, MinIO or HDFS, and stateless compute nodes cache it. Shared-nothing backend nodes keep data on their own disks instead. Apache Druid keeps data on its Data servers, the Historical and Middle Manager or Indexer nodes. Shared-data suits teams whose bucket encryption and access policies already sit inside the audited estate. Druid suits teams whose host hardening and disk encryption already cover the Data servers. Your assessor will ask for the bucket or disk inventory and who can reach it, so map each location in your design.
StarRocks architectureObservation window or surveillance cycle
SOC 2 Type 1 covers control design as of a date, while Type 2 adds operating effectiveness over a period. ISO/IEC 17021-1 certification cycles run three years, with at least one surveillance or recertification audit each calendar year. A Type 2 period or an ISO surveillance year means the assessor will sample evidence from across the window, so logs and access records must last that long. Neither side wins this card on features. It favors whichever platform's logs you can export and retain for the full period, so confirm that with your assessor and your retention settings.
AICPA SOC 2 overviewWhat SOC 2 and ISO 27001 audits ask of a data warehouse or lakehouse
Start with scope. A SOC 2 examination measures controls against the AICPA's 2017 Trust Services Criteria, in the version with revised points of focus published in 2022. The common criteria, CC1 to CC9, apply to every SOC 2 and cover security. Availability, confidentiality, processing integrity and privacy are added only when the organization puts them in scope. The 2017 set contains 61 criteria: 33 common, 3 availability, 2 confidentiality, 5 processing integrity and 18 privacy. For a warehouse or lakehouse, the scope decision comes first. A store holding customer personal data pulls in privacy criteria, so confirm with your auditor early which categories the report will cover.
The report type sets the evidence load. A Type 1 report describes the system and whether controls are suitably designed as of one date. A Type 2 report adds an opinion on whether those controls operated effectively over a period, so the analytics store must have logs that exist for the whole observation window. Confirm that query, login and configuration events are captured, retained and retrievable for that period. In StarRocks, FE audit records go to fe/log/fe.audit.log by default, and the AuditLoader plugin can load them into a table. A StarRocks issue reports credentials in CREATE EXTERNAL CATALOG statements written to audit and FE logs in clear text, so review log content before an assessor samples it. Druid's request logger can write to file, emitter, slf4j or composed targets, so choose the target whose retention you can evidence.
ISO/IEC 27001:2022 is built around an information security management system, and its Annex A lists 93 controls in four themes: organizational, people, physical and technological. The technological theme holds 34 of those controls, and this is where database access control, logging, configuration and secure development usually land for a warehouse. Map each relevant control to a named owner and an evidence source before the auditor asks. ISO itself does not certify organizations, so certification comes from accredited certification bodies. Under ISO/IEC 17021-1, which those bodies follow, a certification cycle lasts three years, with at least one audit, either surveillance or recertification, in every calendar year. Ask your certification body which Annex A controls it will sample on the database, and plan effort for the annual audits as well as the first one.
How StarRocks and Apache Druid meet the control areas, as documented
This table sets the two platforms side by side on the control areas an SOC 2 or ISO 27001 assessor usually asks about, using only what each project documents. Where a cell says a control is not covered, you still need to verify it in vendor documentation and your own configuration. The attestation row matters most: a vendor report covers the provider's system, so check its scope against your deployment.
| Control area | StarRocks as documented | Apache Druid as documented |
|---|---|---|
| Access control | Role model is not covered here. Confirm roles, grants and authentication options in vendor documentation and your own configuration. | Authenticator extensions exist for HTTP basic, LDAP and Kerberos. Authorization uses users, roles and permissions, and permissions cannot be assigned directly to users. |
| Audit logging | Writes to fe/log/fe.audit.log by default. AuditLoader loads records into a table. audit_log_modules controls events, with connection events from v3.0. audit_log_json_format outputs JSON. | Request logging through file, emitter, slf4j or composing request loggers. Confirm each log entry records the user identity behind the query. |
| Sensitive data in logs | GitHub issue 82691 reports credentials in CREATE EXTERNAL CATALOG statements written in clear text to audit and FE logs. Review log handling. | Not covered here. Test whether query text, parameters or credentials reach request logs in your setup. |
| Encryption | Not covered here. Check encryption in transit and at rest in vendor documentation and your own configuration. | Not covered here. Check TLS settings and storage encryption with the vendor and in your own configuration. |
| Data location | Shared-data mode keeps data in object storage (S3, GCS, Azure Blob, MinIO) or HDFS. Shared-nothing keeps it on backend nodes. | Segment storage location is not covered here. Confirm deep storage and historical node disk placement in your own configuration. |
| Vendor attestations | Confirm with StarRocks whether any SOC 2 or ISO report exists. An attestation covers the provider's system, so check its scope against your deployment. | Ask any hosted or packaged Druid provider for its report. An attestation covers that provider's system, so check its scope against your deployment. |
| Current release for change records | 4.1.3, published September 17, 2026. Record the exact version and patch level in change tickets. | 38.0.0, published October 1, 2026, after 37.0.0 on May 8, 2026. Record the exact version in change records. |
Where the audit trail needs hardening before an assessor reads it
For StarRocks, the audit trail is only as good as the way its log files are handled. By default, the frontend writes audit records to fe/log/fe.audit.log, and the AuditLoader plugin can load them into a table, so an assessor will ask who can read those files, where copies go and how long they stay. A reported issue, StarRocks issue 82691, describes credentials in CREATE EXTERNAL CATALOG statements being written to audit and FE logs in clear text. Before any sample is pulled for the audit, reproduce the behavior in a non-production environment, confirm whether your version is affected, then redact the affected entries and restrict read access to the log directory and the audit table. Review audit_log_modules and audit_log_json_format in the same change, since they control which events are recorded and how each entry is structured.
For Apache Druid, request logs support operational evidence, but they do not settle access questions on their own. The request logging documentation lists file, emitter, slf4j and composing request loggers, and says request logs contain query metrics such as execution time and memory usage. Those fields are useful for capacity, performance and incident reviews. The documented examples are metrics, so the team must confirm whether identity and query text are recorded before treating the logs as access evidence. Run a query as a named test user through each logger in use, then inspect the output for the user and the query text. Druid assigns permissions only through roles, so an access review should trace each logged identity to its role. If identity or query text is missing, plan a second source for access evidence.
Retention periods come from your organization's own policy, and they have to cover the full observation period. For a SOC 2 Type 2 report, that period is the window over which the auditor tests whether controls operated, so the StarRocks audit files, any AuditLoader table and the Druid request logs all need to still exist for that whole window. Check how log rotation is configured on the FE log directory, what happens to the audit table over time and where Druid request logs are shipped or pruned. Write the retention decision down with the policy reference, then compare it to the observation dates before the assessor asks.
The evidence an assessor asks for and how each side produces it
StarRocks gives you an audit trail, but most of the evidence has to be exported, archived and dated by your team. Confirm the exact statements that list users, roles and grants for your version in the StarRocks documentation before you build a schedule around them.
- Access and role listings. Export user, role and grant listings on a schedule and store them with the approval record for each change. The platform produces the listing, but your team produces proof that each entry was reviewed.
- Audit records and retention. By default, audit entries go to
fe/log/fe.audit.log, and the AuditLoader plugin can load them into a table.audit_log_modulescontrols which events appear, and connection events are included from v3.0. Your team sets retention and archives the full audit period. - Log readers and exposed credentials. A reported issue (StarRocks issue 82691) describes credentials in CREATE EXTERNAL CATALOG statements written to audit and FE logs in clear text. Review your own logs for this, restrict who can read them, and record the mitigation before the assessor asks.
- Encryption and data location. Confirm encryption settings at rest and in transit for your version. In shared-data deployments, data sits in object storage such as AWS S3, Google GCS, Azure Blob Storage or MinIO, or in HDFS, so keep a register of buckets, regions and node placement yourself.
- Change records and attestation. StarRocks 4.1.3 was published on September 17, 2026. Tie each upgrade ticket to its release date and the deployed version. Confirm with StarRocks or your distributor whether any third-party report covers the software, and what that report's scope includes.
Check that the role export, the log archive and the location register all cover the same dates as the period the auditor selects.
Druid's security documentation describes how users, roles and permissions are modeled, and its request logs record query metrics. Confirm the remaining items against the version you deploy before you promise them to an assessor.
- Access and role listings. Druid authenticates through extensions for HTTP basic authentication, LDAP or Kerberos. Authorization uses users, roles and permissions, and permissions cannot be assigned directly to individual users, so the sampled item is usually the role-to-permission mapping plus user-to-role membership. Export both and reconcile them with your directory. Druid security overview
- Audit records and request logs. Request logging supports file, emitter, slf4j and composing loggers, and entries include query metrics such as execution time and memory usage. These are performance records. Confirm whether they identify the user behind each query, and plan a separate trail for administrative changes if they do not.
- Log retention and readers. Retention and read access depend on the logger you choose and the destination it writes to. Your team sets rotation, storage and read permissions, documents them, and keeps the configuration as evidence.
- Encryption and data location. Confirm TLS and encryption-at-rest settings for your version. Druid splits work across Master, Query and Data servers, so keep a map of which servers handle which data and where their storage sits.
- Change records and attestation. 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. Anchor upgrade tickets to these dates. Confirm with the distributor whether any third-party report exists and what its scope covers.
Check that the role export, request logs and upgrade tickets cover the same months, so each sampled event can be traced across all three.
Neither platform produces the full evidence set on its own. The auditor chooses the items and dates to sample, and your team must keep the records that connect a sampled event to an approved change, a role and a log entry. This tab covers what sits outside both products.
- Period coverage. A SOC 2 Type 1 report describes the system and the suitability of control design as of a date. A Type 2 report adds an opinion on operating effectiveness over a period, so logs and reviews must span that period. AICPA SOC 2 overview
- Sampling. The auditor decides the sample. Keep records that let any selected event be traced without manual reconstruction.
- Approvals and access reviews. Signed access reviews and change approvals come from your own processes. Neither platform generates them.
- Log archive. Archive audit and request logs outside the database hosts, with documented read access, so they survive rebuilds and upgrades.
- ISO 27001 timing. ISO does not certify organizations; accredited certification bodies do. Under ISO/IEC 17021-1, a certification cycle lasts three years, with at least one audit in each calendar year, so plan evidence collection as an ongoing process.
Ask your assessor early which periods and populations they will sample, and assign an owner to each sampled item before fieldwork starts.
How audit records flow from the query engine to the assessor
This illustrative diagram traces audit records inside the team's own infrastructure. On StarRocks, FE nodes write fe.audit.log, AuditLoader loads the entries into an audit table, and the team exports samples for review. On Druid, the request logger (file, emitter, slf4j or composing) sends records to a log store the team controls. On both paths, the redaction step sits between the log source and the store, and the team must test it, since a reported StarRocks issue describes credentials in CREATE EXTERNAL CATALOG statements appearing in audit and FE logs in clear text. Both paths end at a retention store and an evidence pack for the assessor.
Illustrative flow; the redaction step is the control to test.
Configuring the audit trail and access model before the observation window opens
Auditors expect evidence that access, logging and change control were designed and running before they test anything. This sequence sets up the audit trail, access model and release baseline for StarRocks or Apache Druid so the observation window opens with usable records. Each step ends with a named output that can go into the evidence folder.
Map systems, data and applicable criteria
Start by listing every component that touches the analytics data: StarRocks FE and BE nodes or compute nodes, object storage buckets, Druid Master, Query and Data servers, the BI tools and pipelines that connect, and the administrative paths used for upgrades. Mark which datasets are in scope and which trust services categories apply. The common criteria CC1 to CC9 apply to every SOC 2, while availability, processing integrity, confidentiality and privacy are added only when the scope includes them. For ISO 27001, note which Annex A control areas touch the platform. Done when the asset list and scope statement are approved by the system owner and checked against the assessor's expected scope.
Choose and document the access model
Decide how people and services authenticate and what each role may do, then write it down before logs start. For Druid, the security overview describes authenticator extensions for HTTP basic authentication, LDAP and Kerberos, and authorization built on users, roles and permissions, where permissions are attached to roles and never assigned directly to individual users. For StarRocks, confirm in its access control documentation which authentication methods and privilege model your version supports. List shared service accounts with a named owner for each. Done when an access matrix and a service account register are approved by the data owner and the security lead.
Enable and verify audit logging
On StarRocks, audit records go to
fe/log/fe.audit.logby default. Setaudit_log_json_formatso entries are structured JSON, useaudit_log_modulesto choose which events are recorded, and confirm connection events appear, since the documentation says they are included from v3.0. If you need to query the records during evidence pulls, load them into a table with AuditLoader. On Druid, choose the request logger (file, emitter, slf4j or composing) and confirm which identity fields it writes, because the documented contents are query metrics such as execution time and memory usage. Done when a test query from a named account appears in the log with that identity attached.Test for credential leakage early
Run a non-production test that creates an external catalog or similar connection using a dummy credential. Then search
fe.audit.log, the FE logs, any AuditLoader table and the Druid request logs for that string. A StarRocks GitHub issue reports credentials in CREATE EXTERNAL CATALOG statements written to audit and FE logs in clear text, so make this a required test before go-live. If the string appears, fix it through log filtering, a credential method that keeps secrets out of statements, or a version that the release notes confirm is fixed. Done when a dated test record shows the search results and the remediation.Set log retention and restrict access
Set retention for audit files, AuditLoader tables and Druid request logs according to your policy and the sample periods your assessor is likely to choose. Restrict read access to log stores so platform administrators cannot edit or delete their own activity records, and keep log administration separate from day-to-day database administration where your platform allows. Confirm rotation settings in the FE log configuration and in the request logger you chose, then test that a rotated file is still retained and readable. Done when the retention setting, the access list for each log store and one restore test are filed in the control evidence.
Record release baselines and upgrade steps
Record the versions in scope: StarRocks 4.1.3, published September 17, 2026, and Apache Druid 38.0.0, published October 1, 2026. Capture the exact build, configuration files, extension list and patch status of each component, so the assessor can see what was running during the observation window. Write the upgrade process next: who approves a change, how it is tested in non-production, how the audit configuration is rechecked afterward, and how a rollback is handled. Confirm each release against its release notes and security advisories before accepting it as the baseline. Done when a baseline record and a signed upgrade procedure exist, with the audit recheck included in the runbook.
Dry-run an evidence pull
Before the window opens, pull the evidence an assessor will likely request for a sample period: the access matrix and its approvals, a sample of audit log entries showing identity, the logging configuration as it stood, the release baseline and change records, and the credential leakage test record. Note whether each item can come from the platform alone or needs a ticket, an identity provider export or a manual record. Treat every gap as a finding to fix now, not during fieldwork. Done when each likely assessor question has a named artifact, a named owner and a location where it can be retrieved without rebuilding it.
What buyers ask before they hire help for a SOC 2 or ISO 27001 audit
What drives the effort of a SOC 2 or ISO 27001 audit?
The effort depends mostly on how many systems are in scope, how much logging already exists, how access is modeled and how many environments the platform runs in. A StarRocks or Apache Druid cluster that serves one dashboard in one environment produces a much smaller evidence set than a platform spread across production, staging and disaster recovery with shared service accounts. Existing logging matters because the trail of queries, logins and configuration changes must be retained and reviewed. Before you accept any quote, ask for a written list of in-scope systems, environments and access paths. Initial readiness work is one-time, while evidence collection and control checks recur for each review period. Staff time from your database and security teams tends to be the largest internal cost, and log storage and test environments are the main hosting costs.
Can our own team prepare for a SOC 2 or ISO 27001 audit alone?
Yes, if you have database engineers who run the platform and security staff who own the controls. An assessor works from the evidence the team produces, such as configuration exports, access reviews, change records, log samples and written procedures, so the team can assemble that evidence itself. Teams often struggle less with the audit than with consistency: the same evidence has to be produced on schedule, in the same format, by people who know where it lives. An implementation partner can help with engineering gaps, such as configuring audit logging, identity integration or log export, but it does not replace the auditor or your control owners. Ask who will prepare evidence after the first audit, because controls must keep running between audits. If one skill set is missing, plan outside help for that gap only.
How long does a SOC 2 or ISO 27001 audit take to complete?
The length depends on the report type and the observation period agreed with your auditor, so there is no single duration to plan around. A SOC 2 Type 1 report covers the system description and the suitability of control design as of one date. A Type 2 report also gives an opinion on operating effectiveness over an observation period, and that period is set with the auditor. ISO/IEC 27001 runs on a different clock. Under the rules accredited certification bodies follow, a certification cycle lasts three years, with at least one audit, either surveillance or recertification, in every calendar year. Before you set dates, ask the auditor or certification body to confirm the observation period, the audit calendar and the evidence deadlines in writing. The AICPA overview of SOC 2 is a useful starting point for the vocabulary.
What does a SOC 2 or ISO 27001 audit need from our team?
It needs four things that only your organization can supply: system access, a named owner for each control, retention decisions and an independent reviewer. System access means read-only accounts or exports for the cluster, its audit logs, the identity provider and the deployment pipeline, with the scope agreed before work starts. Each control needs one named owner who answers for it and its evidence, because auditors ask who performs each control. Retention decisions set how long query, login and configuration logs are kept, and the period should come from your policy. StarRocks and Druid also write logs in different ways, so the team must know where each record lands. A reviewer, separate from the person who produced the evidence, checks the set before it goes to the auditor. Name these roles before fieldwork starts.
Does DeployOpen certify our systems or issue SOC 2 or ISO 27001 reports?
No. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors issue SOC 2 reports, and accredited certification bodies certify ISO/IEC 27001 management systems. DeployOpen's role is to prepare the systems, controls and evidence those bodies review. In practice that can include configuring audit logging and access controls on a self-hosted platform, documenting the procedures behind each control and assembling the evidence the auditor requests. The work runs inside your own cloud accounts, data centers or air-gapped networks, so the evidence comes from systems you control. Ask any implementation partner, DeployOpen included, to confirm in writing which deliverables are evidence preparation and which, if any, are testing, and to name the independent body that will assess the result. Choosing the auditor and signing its contract remain your decisions.
How is the cost of SOC 2 or ISO 27001 readiness work set?
DeployOpen does not publish a price list. The quote follows the written, fixed scope, which lists the systems, environments, controls and deliverables agreed before work starts. Both StarRocks and Apache Druid are licensed under Apache-2.0, so the software itself carries no license fee, and the cost drivers are staff time and hosting. Staff time covers your database and security people who grant access, make decisions and review evidence, plus the implementation work itself. Hosting covers log storage, retention and any test environments. Some costs are one-time, such as initial logging setup and documentation, while others recur, such as access reviews, evidence collection each period and the auditor's own fees, which the auditor sets. Ask for the scope list, the assumed environments, who does each task and which costs are one-time and which recur.
How DeployOpen prepares the audit trail, access model and evidence for either side
DeployOpen plans, builds and documents the self-hosted side of StarRocks or Apache Druid inside your own infrastructure, so your compliance and security teams can review the audit trail, access model and evidence. We do not issue audit reports or attestations. Independent auditors and certification bodies do, and we prepare the systems, controls and evidence they will ask for.
How we scope
- The written scope names which StarRocks or Druid components, environments and audit periods are in and out.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Confirm with your assessor which SOC 2 categories and ISO 27001 Annex A controls the platform must support.
How we build
- We configure StarRocks audit logging, including
audit_log_modulesand the AuditLoader table, to match your review needs. - Credentials in CREATE EXTERNAL CATALOG statements can reach audit and FE logs, so we test log handling for that.
- On Druid, we wire authenticator extensions for basic auth, LDAP or Kerberos, and grant access through roles only.
How we hand over
- Handover includes configuration records, access lists, log retention settings and the evidence index your assessor may sample.
- Documentation covers how the platform is hardened, backed up, upgraded and supported in your environment.
- Auditors and certification bodies issue the opinion or certificate, so we deliver the material they test against.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retesting after fixes and control changes helps keep evidence current between assessment windows.
- Confirm with us in writing which support windows, response expectations and retest rounds the scope includes.

