Trino vs Apache Druid for SOC 2 and ISO 27001 audits

This page covers only the SOC 2 and ISO 27001 angle: what each project documents about access control, audit logging and licensing, and what your team must configure and evidence. Trino fits when the audit scope is querying data where it lives under central rules, and Druid fits when its own serving store is the scope.

On this page

Which side fits a SOC 2 and ISO 27001 audit, and what decides it

Trino fits a SOC 2 or ISO 27001 audit when the scope centers on querying data where it already lives, under central access rules and query logging. Apache Druid fits when the audited system is its own serving store for dashboards and low-latency queries, so the controls sit around that store. Three questions decide which side an assessor will test: where the data lives, who sets the access rules, and which logs must be kept across the audit period. A SOC 2 Type 2 report covers operating effectiveness over a period, so each log source needs to exist for the whole window. This page covers the compliance angle only. The general Trino vs Apache Druid comparison has its own page. Both projects are licensed under Apache-2.0, and that shared license gives no audit credit by itself, because assessors test the configured controls and the evidence they produce.

Start with the access model, since an assessor will ask about it first. Trino's default access control allows all operations for any authenticated user, so an audit scope needs an explicit policy: file-based rules at catalog, schema or table level, Open Policy Agent, or Apache Ranger, which adds row filters and column masking. Confirm whether password file authentication is acceptable for your scope, or whether LDAP, OAuth 2.0, certificate, JWT or Kerberos better matches your identity provider. For logging, the HTTP event listener posts query created and completed events as JSON to a system you operate. The MySQL event listener writes each query into a trino_queries table with the query ID, SQL text and user. Decide who owns that store, how long it is kept, and whether it captures the column-level access your assessor will ask about.

On the Druid side, authorization uses users, roles and permissions, and permissions cannot be assigned directly to individual users. Access reviews should therefore trace each user through a role. Authenticator extensions exist for HTTP basic authentication, LDAP and Kerberos, so confirm which one your identity provider can back. Druid's request logging offers file, emitter, slf4j and composing loggers, and the request logs carry query metrics such as execution time and memory usage. Those metrics help with capacity evidence, but confirm that each entry records the authenticated user and the query text before you rely on the logs for access evidence. If your scope requires a record of who queried which data, that answer decides the question. Plan the log pipeline, retention and access review cadence as part of the audit project from the start.

Where access decisions and query evidence sit for each side

The diagram starts with users and BI tools inside the organization network, on either the Trino or the Druid side. On the Trino side, the coordinator authenticates the user, applies access rules, and reaches sources through connectors, while each query event is written to the event listener store. On the Druid side, authenticator extensions handle the login, the query server checks roles and permissions, data servers return the results, and request logs are written through the loggers. The cylinder shapes mark the evidence stores an assessor will ask to see. Check that access rules and logging are configured on your side, because Trino's default access control allows all operations for any authenticated user.

Access checks and query evidence stores for each side, inside one network boundary.

What SOC 2 and ISO 27001 ask of a query engine or analytics database

Neither SOC 2 nor ISO/IEC 27001 certifies a product. Both examine the organization that runs the system, so a query engine such as Trino or a high-concurrency analytics database such as Apache Druid only matters through the controls wrapped around it. A SOC 2 examination tests those controls against the AICPA's 2017 Trust Services Criteria with revised points of focus published in 2022. The security common criteria, CC1 to CC9, apply to every SOC 2, while availability, processing integrity, confidentiality and privacy are added only when they are in scope. A Type 1 report covers control design as of a date. A Type 2 report adds operating effectiveness over a period, so the access reviews, logs and change records must exist across that whole window. The team should agree the audit period early and confirm that query logs are kept for it.

ISO/IEC 27001:2022 is an information security management system standard, and its certificate covers the organization's management system as a whole. Annex A lists 93 controls in four themes: 37 organizational, 8 people, 14 physical and 34 technological. A query engine usually falls under the technological theme and the access, logging and change controls inside it, such as 8.2 privileged access rights, 8.5 secure authentication, 8.15 logging and 8.32 change management. Accredited certification bodies do the certifying, on a three-year cycle with at least one audit in every calendar year, so evidence has to stay current between audits. The organization writes its own mapping from these controls to its Trino or Druid configuration, and the certification body will test that mapping. Ask the certification body which evidence it expects for the query layer before the first audit, and keep the statement of applicability in step with the configuration.

The mapping should tie each control to a setting and to a piece of evidence. Trino's default access control allows all operations for authenticated users, so file-based rules, Open Policy Agent or Apache Ranger must be configured deliberately before an assessor samples access. Its event listeners (HTTP, MySQL, Kafka and OpenLineage) can record query activity, and the MySQL listener writes each query's ID, SQL text and user to a trino_queries table. Apache Druid authorizes through users, roles and permissions, with no direct permission grants to individual users, and its request logs capture query metrics such as execution time and memory use. Evidence from either system typically supports CC6 (logical and physical access controls), CC7 (system operations) and the ISO 27001 logging control, but the organization must confirm which logs it keeps, where they are retained and who reviews them.

How Trino and Apache Druid each document the controls auditors test

This table sets the controls auditors usually test for Trino and Apache Druid side by side, using what each project documents. Read a cell that says confirm as work your platform owner must close with evidence, since no project document settles it for you. The main takeaway is that Trino needs an explicit access control choice before an audit, because its default allows all operations to authenticated users.

Requirement areaTrino as documentedApache Druid as documented
AuthenticationPassword file, LDAP, OAuth 2.0, certificate, JWT, Kerberos and Salesforce. Docs suggest starting with password file.Authenticator extensions for HTTP basic, LDAP and Kerberos. Confirm SSO options with the Druid project before designing around them.
AuthorizationDefault allows all operations to authenticated users. Alternatives: file-based rules, Open Policy Agent, Apache Ranger (row filters, column masking).Users, roles and permissions. Permissions cannot be assigned directly to individual users, so access is granted through roles.
Audit loggingEvent listeners: HTTP, Kafka, MySQL and OpenLineage. HTTP posts query created and completed events as JSON.Request loggers: file, emitter, slf4j and composing. Confirm which one feeds your SIEM with your operations team.
Query records and retentionStores query ID, SQL text and user in trino_queries. Confirm retention with your database owner.Request logs carry query metrics such as execution time and memory usage. Confirm retention and rotation with your Druid operators.
Encryption in transitTLS is documented for server endpoints. Confirm certificate and cipher settings with your security team against the TLS guide.Confirm TLS support for Druid endpoints and inter-service traffic with the Druid project and your security team.
Data locationQueries data in place through connectors, so residency follows each connected source system.Serves data from its own data servers (Historical and Middle Manager or Indexer), so residency follows where you deploy them.
LicenseApache License 2.0 in the repository LICENSE file. Confirm license terms for any vendor distribution you use.Apache License 2.0 in the repository LICENSE file. Confirm license terms for any third-party distribution you deploy.
Vendor attestationsAsk any distributor or commercial support vendor for their current SOC 2 or ISO status in writing.Ask any commercial support vendor for its SOC 2 or ISO status in writing. Your own assessment covers your environment.
Release and patch cadenceRelease 482 on June 25, 2026; 483 on July 17, 2026; 484 on October 15, 2026. Requires Java 25, minimum 25.0.1.38.0.0 on October 1, 2026, after 37.0.0 (May 8, 2026) and 36.0.0 (February 9, 2026). Confirm patch policy with your operator.

What the project provides and what your team still has to configure

Both projects ship building blocks for authentication, authorization, logging and an Apache-2.0 license. The cards separate what each project provides from what your team must still configure and evidence. No project holds your audit evidence for you: the rule files, log retention settings, patch records and access reviews an assessor samples come from your own systems and change records.

What Trino provides

Trino documents password file, LDAP, OAuth 2.0, certificate, JWT and Kerberos authentication, and recommends starting with password file authentication. It also includes access control plug-ins (file-based rules, Open Policy Agent and Apache Ranger), HTTP, Kafka, MySQL and OpenLineage event listeners, TLS documentation, and a repository under the Apache License 2.0. Assessors check that these controls exist and are enabled, so confirm each one in your own cluster configuration before you cite it as evidence.

Trino security overview

What your team configures in Trino

Trino's default access control allows all operations for any authenticated user, so replacing the allow-all default with file-based rules, Open Policy Agent or Apache Ranger is the first decision an assessor will ask about. Choose authentication beyond the password file, keep rule files in version control with reviewed changes, and retain event listener output, such as the trino_queries table from the MySQL listener, for the period your policy sets. Patch the Java 25 runtime (minimum 25.0.1) and adopt each Trino release on a schedule you can show.

What Druid provides

Druid's security overview lists authenticator extensions for HTTP basic authentication, LDAP and Kerberos, and authorization built on users, roles and permissions. Permissions cannot be assigned directly to individual users, so every grant passes through a role. Request loggers include file, emitter, slf4j and composing options, and request logs record query metrics such as execution time and memory usage. The project is licensed under the Apache License 2.0.

Druid security overview

What your team configures in Druid

Authenticator and role design is your decision: map each extension to your identity source, build roles around job functions, and review who holds which permissions on a fixed schedule. Route request logs to storage you control and set retention to match your policy, because the logger you choose decides where the evidence lives. Confirm TLS and at-rest settings in the Druid documentation for your version, and patch the hosts and runtimes behind the Master, Query and Data servers.

Where the audit boundary sits for a query engine and a serving store

For Trino, the audit boundary starts with every source it can reach. Trino queries data in place through connectors, and the supplied list includes PostgreSQL, MySQL, Snowflake, Iceberg and Delta Lake among 37 connectors in total. Each source a catalog points at stays in scope with its own authentication, network, backup and logging controls. Trino adds a control point on top of those, covering its authentication methods, its access control and its event listeners. Check access control first, because Trino's security overview notes that the default allows all operations for any authenticated user. Document the file-based rules, Open Policy Agent or Apache Ranger policy you choose as a control in its own right. Trino narrows what each user can do, but it does not remove the need for source controls.

For Druid, the boundary moves inward to the serving store itself. Druid keeps the data it serves on its own Data servers, Historical and Middle Manager or Indexer, so those servers, their storage and their logs become in-scope systems in their own right. Each needs host hardening, patching, access and backup evidence like any other production system. On access, Druid's security overview describes authorization through users, roles and permissions, and permissions cannot be assigned directly to individual users, so the role list becomes the access review artifact. Authenticator extensions cover HTTP basic, LDAP and Kerberos. Request logs can go to file, emitter, slf4j or composing loggers and record query metrics such as execution time and memory usage, so set retention and reviewers before the assessor asks. The trade-off is fewer systems on the query path, paid for by a copy of the data you must control.

Map every source and server in your own system description before drafting controls. For Trino, list each catalog, the system behind it, that system's owner and where its controls are documented. Add the coordinator and workers as in-scope components, and decide whether to enable an event listener. The MySQL listener writes query events, including SQL text and user, to a trino_queries table, which then holds sensitive literals and needs its own access rules. For Druid, list the Master servers (Coordinator and Overlord), Query servers (Broker and Router) and Data servers separately, because an assessor will test each one. Then confirm with your auditor how the boundary is drawn, and whether a source reached through a connector is treated as in scope for the query engine's review.

The evidence a SOC 2 and ISO 27001 assessor will ask for and how each side produces it

Trino's documented controls are configuration and event output that your team must set, version and retain. Its default access control allows all operations for authenticated users, so an assessor will expect an explicit rule set and proof that it was in force for the whole audit period.

  • Authentication configuration: exported settings for the authenticator you choose, such as password file, LDAP, OAuth 2.0 or Kerberos, kept under version control with a dated change history.
  • Access rules: file-based rules, or Open Policy Agent or Apache Ranger policies, exported from version control with commits that show who approved each change.
  • Event listener output: HTTP listener JSON events for query created and completed events, or the MySQL listener's trino_queries table with query ID, SQL text and user. The HTTP event listener documentation describes the event format you will need to retain.
  • TLS configuration: exported coordinator and worker TLS settings that show the protocol and certificate configuration in use during the period.
  • Release and Java records: the Trino release in service, such as release 484 (published October 15, 2026), and the Java runtime version, matched to the release notes you reviewed for each upgrade.

Confirm with your assessor how long event data must be kept, then check that your storage holds the listener output for that full period, because Trino emits the events but your retention policy decides how long they live.

Configuring Trino for a SOC 2 and ISO 27001 audit window

These seven steps move a Trino cluster from its default settings to the access controls, logs and records an assessor will sample during a SOC 2 or ISO 27001 window. A Druid setup follows the same order using its authenticators, roles and request loggers.

  1. Confirm audit scope and in-scope catalogs

    List every Trino catalog and the source system behind it, then mark which ones hold data inside the SOC 2 or ISO 27001 scope. The platform owner and the compliance lead agree this list, because an auditor tests controls where the scope says they apply. Trino's documentation lists 37 connectors, so the inventory is the place to find sources that nobody has written down. Done means a scope statement names each catalog, its source and its data owner, and it is signed before any configuration changes begin.

  2. Choose authentication beyond password file

    Trino's security overview recommends starting with password file authentication, which suits a first test cluster but is usually not the end state for production. Options include LDAP, OAuth 2.0, certificate, JWT and Kerberos, among others, so compare them against your identity standard and your joiner, mover and leaver process. Ask the identity team which method ties Trino users to the central directory so that disabling an account elsewhere also removes Trino access. Done means a test user signs in through the chosen method and the login is traceable in your records.

  3. Replace allow-all access with explicit rules

    Trino's default access control allows all operations for any authenticated user, so replace it with file-based rules at catalog, schema or table level. If you need row filters and column masking, evaluate Open Policy Agent or Apache Ranger instead. Keep the rules in version control so each change has an author, a reason and a review, and have each catalog owner approve who can read which schemas. Done means a test user denied access to a table in another catalog receives an error, and that test result is saved as evidence.

  4. Enable TLS following Trino's documentation

    Follow Trino's TLS documentation to encrypt connections to the coordinator and workers, using certificates that your PKI team issues and tracks. Auditors ask how credentials and query results move between clients and the cluster, and an unencrypted path is hard to defend. Confirm with the platform team which connection paths your configuration covers, including client access and internal traffic. Done means a client connects over HTTPS successfully, a plain HTTP attempt fails in your test, and both results are kept with the change record.

  5. Enable event listener and retain query logs

    Enable an event listener so each query is recorded with its user and SQL text, and route the output to storage your team controls. Trino's documentation describes HTTP, Kafka, MySQL and OpenLineage listeners: the HTTP listener posts query created and completed events as JSON, and the MySQL listener writes to a trino_queries table that supports analysis of column-level access. Agree the retention period with your auditor before go-live, since it depends on your policy and the assessor's expectations. Done means a test query appears in the destination with its user and query ID.

  6. Record release, runtime and patch cadence

    Record the Trino release and the 64-bit Java runtime in your asset inventory, using Java 25 with a minimum of 25.0.1 as Trino's deployment documentation requires. Then set a patch cadence against Trino's release notes, which list release 484 on October 15, 2026, after release 483 on July 17, 2026 and release 482 on June 25, 2026. Auditors ask which versions ran during the audit window and how fixes were applied. Done means the inventory names the release and runtime, and the cadence has a named owner and a dated record of each review.

  7. Run and file a first access review

    Export the current roles, rules and user grants, then have each catalog owner confirm or remove access in writing. Auditors sample access decisions, and a review that an accountable person has signed shows the control operated. Compare the list against the query event log so that accounts with no recent activity are flagged for review. Done means a filed review with signatures, the removals made and the exceptions noted, stored alongside the rest of the audit evidence.

What buyers ask before hiring help for a SOC 2 or ISO 27001 scope

Does Trino or Apache Druid make us SOC 2 or ISO 27001 compliant?

No. Neither platform makes an organization compliant, because an examination or certification tests the whole organization, including its people, processes and systems. SOC 2 reports are issued by a CPA firm under the AICPA's Trust Services Criteria, and ISO 27001 certificates are issued by an accredited certification body. DeployOpen prepares systems, controls and evidence for those assessments, but it does not issue audit reports, attestations or certificates. Trino's documented options, including its security overview covering authentication, access control rules and event listeners, give your team inputs an assessor may test. Druid's authenticators, roles and request logs play the same role for its own deployment. Ask your auditor which controls they will test on each platform and which records they expect to see.

How much effort does SOC 2 or ISO 27001 evidence work take?

The effort depends on scope, and no duration can be given until a written scope exists. The main drivers are:

  • The number of data sources and servers in the boundary, including each Trino and Druid cluster and the databases they connect to.
  • Identity integration: how many users sign in through a central provider and how many use local accounts.
  • The number of roles and grants that must be reviewed and evidenced.
  • Log retention, and whether query and request logs reach a central store.
  • Whether a SOC 2 Type 2 observation period is in scope. A Type 1 report covers control design at one date, while a Type 2 report needs evidence that controls operated across the whole period.

Ask for each driver to be sized in the written scope, and ask which items are one-time setup and which recur in every review cycle.

How long does it take to get audit evidence ready?

It depends mainly on the audit period and on how the auditor samples. A Type 2 examination tests controls over a period, so evidence must exist for the whole window, and the auditor selects samples from it. Gaps in logs, access reviews or change records found late can extend the work. For ISO 27001, the certification cycle runs three years, with at least one audit in each calendar year under the accreditation rules, so evidence must stay current through the whole cycle. Confirm the timetable with your auditor or certification body before you fix an evidence date, and ask for the evidence list to be tied to their sampling windows.

Can our own team prepare SOC 2 or ISO 27001 evidence for Trino?

Yes, if the team has the skills and the prerequisites are already in place. The work needs people who can configure and operate the platform, map each control to a setting or record, and collect evidence on a fixed schedule. Confirm these three things exist before starting:

  • An identity provider that manages user accounts and group membership for the platform, such as an LDAP directory or an OAuth 2.0 provider.
  • A central log store, with retention set to match your policy, receiving query events from Trino's event listeners or Druid's request logs.
  • A change process with tickets, approvals and review records for access rules, configuration and version upgrades.

If any of these is missing, building it comes first and adds work before evidence collection can begin.

What should a quote for SOC 2 or ISO 27001 evidence work include?

A quote should state the scope before the price: the framework, the criteria or Annex A controls in play, the system boundary, and which sources and servers are covered, such as each Trino coordinator and worker, each Druid master, query and data server, and each connected database. It should then list:

  • Deliverables, such as configuration baselines, access review records and runbooks.
  • An evidence list mapped to each control and its sampling period.
  • The retest rounds included and the conditions that trigger them.
  • Who signs what. The system description and management assertions normally come from your organization, while the auditor or certification body issues the report or certificate.

DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, so request those terms in writing and list any assumptions about your identity provider, log store and change process.

Does the Apache-2.0 license change the cost of SOC 2 or ISO 27001 work?

Not directly. Trino and Apache Druid are both licensed under the Apache License 2.0, so the license terms add no fee for the software itself. Cost comes from labor, meaning configuration, integration, documentation and evidence collection, and from running the platform, meaning compute, storage, log retention, backups and staff time. Paid editions, managed offerings or support contracts are where a subscription could appear, so check with each vendor whether any exist, what they include and whether they change the evidence you need. Ask for the quote to show each cost separately, with one-time and recurring items labeled.

How DeployOpen helps prepare the controls and evidence

DeployOpen plans, implements and documents self-hosted Trino or Apache Druid inside your own cloud accounts, data centers or air-gapped networks. For SOC 2 and ISO 27001 audits, we prepare the systems, controls and evidence your assessor will ask for. We do not issue audit reports or certifications; independent auditors and certification bodies do.

How we scope

  • Written scope defines which Trino or Druid clusters, catalogs and data sources sit inside the audit boundary.
  • Scope also records which SOC 2 criteria and ISO 27001 Annex A controls the platform is expected to support.
  • A quote follows from the written scope, and ongoing support is available as a retainer.

How we build

  • Configures Trino authentication against your identity provider, using LDAP, OAuth 2.0, certificates or Kerberos where your setup supports them.
  • Moves off the default allow-all access control for authenticated users, using file-based, OPA or Ranger rules.
  • For Druid, maps users to roles and permissions, since permissions cannot be assigned directly to individual users.

How we hand over

  • Enables Trino event listeners, such as HTTP or MySQL, to capture query records for the audit trail.
  • Configures Druid request logging with a chosen logger, then documents where logs live and how long they are kept.
  • Delivers evidence mapped to SOC 2 common criteria and ISO 27001 Annex A control IDs, with named control owners.

How we support

  • Upgrades, backups and hardening changes are documented against the same control mapping, so evidence stays current.
  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Confirm with your assessor which evidence they accept and which Trino or Druid version your audit period covers.

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.