Trino vs StarRocks for SOC 2 and ISO 27001 audits

Trino and StarRocks both leave access control, log handling and audit scope with your team, so the choice turns on where evidence must come from. This page covers only the compliance angle; the general Trino vs StarRocks comparison has its own page.

On this page

Trino vs StarRocks for SOC 2 and ISO 27001 audits: which side fits

Trino fits when audit evidence must span many sources and query events can be routed to your existing log store. StarRocks fits when its own storage is the in-scope system and your team will own its audit log and credential handling. This page covers only the compliance angle. The general Trino vs StarRocks comparison has its own page, so this section does not repeat it. The decision turns on four questions: where the data lives, how many systems sit inside the audit boundary, whether query logs can leave the cluster, and whether catalog credentials can be kept out of logs. SOC 2 and ISO 27001 are assessed for your organization's system, not for a product, so neither Trino nor StarRocks is described here as compliant or certified. The assessor examines how your system is configured and operated.

With Trino, the evidence is spread across the systems it queries, so the boundary usually includes each connected source plus Trino itself. Treat every catalog as a system in scope. Trino's documented default access control allows all operations for any authenticated user, so configure file-based rules at catalog, schema or table level, or use Open Policy Agent or Apache Ranger, before you try to show least-privilege access to an assessor. For query evidence, the HTTP event listener posts query created and completed events as JSON, which can feed a log store your team already operates. The MySQL event listener writes each event to a trino_queries table that records query ID, SQL text and user, and that table becomes a system you must secure and retain. Confirm which listener your log store can ingest before you commit to a design.

StarRocks fits when the data it stores is the system the auditor examines and your team accepts the operating work for logs and credentials. Its frontend writes audit records to fe/log/fe.audit.log by default, and the AuditLoader plugin can load them into a table. Set audit_log_json_format to produce JSON entries, and use audit_log_modules to control which events appear; connection events are included from v3.0. In shared-data deployments, the data sits in object storage and compute nodes cache it, so the storage bucket and its access policy join the boundary. Treat credential handling as a blocking check: a StarRocks issue 82691 reports that credentials in CREATE EXTERNAL CATALOG statements were written in clear text to audit and FE logs. Confirm the fix status on your version, and test with a dummy credential before the assessment window opens.

How Trino and StarRocks meet the audit questions as documented

This table sets each open-source project's documented controls against the areas a SOC 2 or ISO 27001 assessor usually asks about. Read each row as a starting point: where a cell says to confirm, the answer lives in that project's current documentation for your version. Trino's documentation covers authentication, authorization and audit event listeners in detail, while StarRocks needs more confirmation work on access control before an assessor sees evidence.

Requirement areaTrino as documentedStarRocks as documented
AuthenticationPassword file, LDAP, Salesforce, OAuth 2.0, certificate, JWT and Kerberos. Trino's security overview suggests starting with password file.Confirm the supported authentication methods in StarRocks's security documentation for your version.
AuthorizationDefault allows all operations for authenticated users, so set rules first. Alternatives: file-based rules, Open Policy Agent or Apache Ranger.Confirm roles, privileges and any row or column controls for your StarRocks version in its security documentation.
Audit trailEvent listeners for HTTP, Kafka, MySQL and OpenLineage. The MySQL listener stores query ID, SQL text and user in trino_queries, with column-level access analysis.Default log is fe/log/fe.audit.log; the AuditLoader plugin loads records into a table. audit_log_modules selects events, connection events from v3.0, and audit_log_json_format emits JSON.
Credentials in logsNo comparable issue is recorded for Trino in this review. Still check listener output and configuration for credentials.Issue 82691 reports CREATE EXTERNAL CATALOG credentials written in clear text to audit and FE logs. Review log handling before audit.
Transport encryptionTrino publishes TLS documentation; confirm the TLS configuration in use for clients and internal traffic.Confirm TLS settings for client and internal connections in StarRocks's documentation for your version.
License and provenanceApache License 2.0, per the LICENSE file in the trinodb/trino repository.Apache License 2.0; describes itself as a Linux Foundation project. Version 4.1.3 was published September 17, 2026.
Data locationTrino queries data in place through 37 connectors, so the source systems stay in audit scope.Shared-nothing mode keeps data on backend nodes; shared-data mode keeps it in S3, GCS, Azure Blob, MinIO or HDFS.
Vendor attestationNo SOC 2 report or ISO certificate for Trino is documented here. Confirm with the project, and expect your own evidence to cover it.No SOC 2 report or ISO certificate for StarRocks is documented here. Confirm with the project, and expect your own evidence to cover it.

What the project provides and what your team still configures

Each platform supplies mechanisms for audit logging, authentication and authorization, but an assessor tests the controls and the evidence around them, and those belong to your organization. The six cards separate what each project provides from what your team configures, then cover the shared responsibilities and the scope an assessor will start from.

Trino: what the project provides

The Trino repository is licensed under the Apache License, Version 2.0, so your team can review the source it runs. The project documents several authentication options, including password file, LDAP, OAuth 2.0, certificate, JWT and Kerberos, and its authorization hooks include file-based rules, Open Policy Agent and Apache Ranger. Event listeners for HTTP, Kafka, MySQL and OpenLineage supply the query records an auditor may ask for. These are mechanisms that still need your policy behind them. Check each one against your own access model before you cite it.

Trino security overview

Trino: what your team configures

The default access control allows every operation for any authenticated user, so replacing that default is the first decision to document. Choose an authentication method for your identity provider, then restrict access at catalog, schema or table level, or through Open Policy Agent or Apache Ranger, which adds row filters and column masking. Send listener output to a log store with a retention period your audit scope defines, and keep the access reviews that show who holds which catalog grants. Assessors will sample these records, so your team owns the evidence trail.

StarRocks: what the project provides

StarRocks writes audit records to fe/log/fe.audit.log by default, giving you a file-level trail of statements on each frontend node. The AuditLoader plugin loads those records into a table that you can query with SQL. The audit_log_modules setting controls which event types appear, and connection events are included from version 3.0. The audit_log_json_format option writes each entry as JSON, which can make parsing and forwarding to a log store easier. Confirm the module list and format for your version before you describe them to an assessor.

AuditLoader docs

StarRocks: what your team configures

Issue 82691 in the StarRocks repository reports that credentials in CREATE EXTERNAL CATALOG statements were written to audit and FE logs in clear text, so review those logs before you rely on them. Redact or restrict what reaches the log store, and test a catalog creation to confirm the output. Restrict read and write access to the audit table, because anyone who can query it can see who ran which statement. Finally, confirm the connection-event settings for the version you run, since the audit modules you enable determine whether logins and connection attempts appear in the evidence.

StarRocks issue 82691

Shared responsibilities for both platforms

Several controls sit outside either engine. Your team owns the cloud accounts, object storage, network controls, backups, patching, identity provider and change management around the query layer, and every configuration change above should pass through the same change process. In StarRocks shared-data deployments, object storage holds the data while stateless compute nodes cache it, so both belong inside your boundary. Document an owner for each area in the system description, so no control is left without someone accountable for it.

Assessor scope and evidence

Assessors start from scope, so define the system description, the boundary and the policies before you choose samples. For SOC 2, the 2017 Trust Services Criteria include common criteria that apply to every report, and a Type 2 report tests operating effectiveness over a period. For ISO/IEC 27001:2022, Annex A technological controls cover the access, logging and configuration areas. Assemble samples such as a query access grant, a listener log entry, an audit record and an access review, and note the period each one covers. The controls and evidence belong to your organization; the software supplies the mechanisms.

How query audit events leave each engine and reach the assessor

It starts with an analyst or BI client sending SQL to Trino or StarRocks, all inside the organisation's cloud account. Trino's event listener emits query events, but the organisation builds the path to its log store. StarRocks writes fe/log/fe.audit.log on the FE, and the AuditLoader plugin loads it into an audit table that the organisation exports. Both paths end in a log store with retention and access controls, feeding the SIEM or evidence folder. Edges marked Provided come from the engine; Org builds edges are yours. Check the catalog statement step: GitHub issue 82691 reports credentials in external catalog statements written to audit and FE logs in clear text.

Schematic: where audit events are written, shipped and stored, with the credential log note.

Why the StarRocks credential log issue belongs in the audit scope

Issue 82691 in the StarRocks repository reports that credentials supplied in CREATE EXTERNAL CATALOG statements are written in clear text to the audit log and the frontend (FE) logs. That turns a log-handling defect into a confidentiality question. An assessor who samples fe/log/fe.audit.log, or the table that the AuditLoader plugin fills from it, and finds a working database password will record a finding against the confidentiality controls, if confidentiality is in the SOC 2 scope, or against the access and logging controls in the ISO 27001 Annex A set. The catalog can be well secured and the finding still stands, because the evidence itself exposes the secret. Check the issue thread for its current state and the versions it covers. This section does not state that the issue is fixed.

The response has four parts. First, restrict who can read fe/log/fe.audit.log, the FE logs and the audit table, and record which roles hold that access. Second, review whether catalog statements in the version you run can avoid literal credentials, and confirm the option in the StarRocks documentation before relying on it. Do not assume one exists. Third, route audit and FE logs through a controlled pipeline with its own access and retention settings, and check audit_log_modules and audit_log_json_format so that the fields you forward are the ones you reviewed. Fourth, keep the issue status, the tested version and the test output as dated evidence in the audit file, so the assessor sees the decision and not only the defect.

No comparable issue has been identified for Trino at the time of writing, but that is not the same as saying Trino is free of the problem, and the same review applies. Trino's MySQL event listener stores SQL text in a trino_queries table, and the HTTP listener posts query events as JSON. Either sink can hold a literal secret that was typed into a statement or a session. Check the listener output for embedded credentials, and check the catalog property files under etc/catalog and any other configuration files for literal passwords. Keep the results and the access settings for those files in the same evidence set as the StarRocks review, so both platforms are assessed against the same standard.

The evidence an assessor will ask for in SOC 2 and ISO 27001 audits

For the Trino cluster, the project produces the raw evidence and the organization must show it is controlled. Trino's default access control allows all operations for authenticated users, so an assessor will also expect a written access policy.

  • Authentication and access control configuration: The project produces the authentication and rule files. The organization must produce the change history, such as version control plus approved change tickets showing who changed each rule and when.
  • HTTP query events: The HTTP event listener posts query created and completed events as JSON. The project produces samples of these events, and the organization decides where they are sent and how long they are kept.
  • trino_queries rows: The MySQL event listener stores each query event with query ID, SQL text and user in a trino_queries table. The project produces row samples, and the organization must restrict who can read them, since SQL text can contain sensitive values.
  • Column-level access analysis: The MySQL listener supports analysis of which data was accessed down to columns. This answers the assessor's question only if the database holding trino_queries is inside the audit boundary, so confirm that before you rely on it. Trino MySQL event listener
  • Release in use: Record the exact release, for example release 484, published October 15, 2026. The project produces the version record, and the organization must produce the patch decision and its approval.

Check that event output is retained for the period an auditor will sample and that someone outside the platform team approves rule changes.

Configuring Trino for SOC 2 and ISO 27001 evidence first

This sequence turns Trino configuration into evidence an assessor can test: a defined boundary, enforced access, logged queries and dated records kept outside the engine. Each step ends with an output your compliance lead can check. If StarRocks is chosen, replace the listener step with audit log configuration (fe/log/fe.audit.log, AuditLoader, audit_log_modules, the JSON format option) and add a credential review before the test step.

  1. Define the SOC 2 boundary and ISO scope

    The platform owner and compliance lead agree in writing which Trino coordinator and worker nodes, catalogs and connected sources hold in-scope data, and which client tools and user groups reach them. Include every connector that reads a regulated table, since each one is a path to data the assessor will ask about. Security common criteria CC1 to CC9 apply to every SOC 2 report, so the boundary must cover them. Use the same boundary for the ISO 27001 scope so one set of evidence serves both audits. The output is a boundary diagram and a catalog list with a named owner for each entry, signed off by compliance before any configuration starts.

  2. Choose authentication and replace allow-all access

    Pick an authentication method from those Trino's security overview lists, such as password file, LDAP, OAuth 2.0, certificate, JWT or Kerberos. Trino's documentation recommends starting with password file authentication, so confirm with your identity team whether that fits or whether a method that integrates with your single sign-on is needed. Then replace the default access control, which allows all operations for any authenticated user. Choose the mechanism by the policy you must enforce: file-based rules cover catalog, schema and table access, while Apache Ranger or Open Policy Agent is the route if you need row filters and column masking. The output is the exported rule set and a test showing one denied query.

  3. Enable event listeners and route output

    Enable one or more event listeners from the set Trino documents: HTTP, Kafka, MySQL and OpenLineage. The HTTP listener posts query created and completed events as JSON, which suits a controlled log collector. The MySQL listener stores each query event in a trino_queries table with query ID, SQL text and user, and supports analysis of which data was accessed down to columns, so choose it when column-level records matter for your scope. Send the output to a log store that only the security team can administer, and confirm the coordinator can reach that destination. The output is the listener configuration record and a sample event that has arrived in the store.

  4. Set retention and integrity controls outside Trino

    Retention, access and integrity for the logs belong to the log store, so configure them there rather than in the query engine. Set the retention period from your written policy and confirm it with your auditor, restrict read and delete rights to named groups, and enable any tamper-evidence or write-once option your log platform provides. Treat the MySQL trino_queries table the same way: a database user who can alter it can alter the evidence, so limit write rights to the listener account. The output is a retention policy, an access list and a test showing that a regular user cannot delete or edit stored events.

  5. Run named-user test queries and check events

    Run a fixed query set under separate named accounts: one query each user should be allowed to run, one against a table that user should be denied, and one touching sensitive columns. Confirm that each allowed query produces an event carrying the correct user, query ID and SQL text. For the MySQL listener, check that the column-level records show which sensitive columns were read. Run a test to see how denied attempts appear in your listener output, and document that behavior for the assessor. Keep a test log that pairs every query with its event. The output is that log, and any query without a matching event is a defect to fix before evidence collection starts.

  6. Collect dated samples and configuration records

    Export the evidence the assessor will sample: the authentication configuration, the access rule set, the listener configuration, the log store retention and access settings, sample events and the test log. Date and label each export with its owner. A SOC 2 Type 1 report describes the design as of one date, while a Type 2 report adds an opinion on operating effectiveness over a period, so collect samples across that period rather than a single snapshot. DeployOpen prepares these records, but the independent auditor decides what is sufficient. The output is an evidence index that maps each item to the control it supports.

What buyers ask before hiring help for SOC 2 and ISO 27001 audits

How much effort does a SOC 2 or ISO 27001 scope add to a Trino deployment?

The effort grows with the size of the boundary you define, so the written scope sets it. The main drivers are the number of catalogs and data sources connected, the complexity of access rules, the log pipeline that carries query events, and the number of systems inside the boundary, such as coordinator and worker hosts, the identity provider and BI tools. Trino's default access control allows all operations for any authenticated user, so access policies built with file-based rules, Open Policy Agent or Apache Ranger are work your team must design, document and test. Each catalog you add brings more credentials, permissions and log sources that an assessor may sample.

How long does a SOC 2 or ISO 27001 engagement take for Trino?

The duration depends on the written scope, and this page does not give one. Ask for the timeline to be written into the scope document, with each milestone tied to a deliverable. Most DeployOpen engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. The biggest schedule drivers are the number of systems inside the boundary, whether query logs and access records are already retained, and how quickly named owners can answer questions. The independent auditor or certification body sets the audit dates, so confirm them with that party early. For ISO 27001, accredited certification cycles run three years with at least one audit in every calendar year, so plan readiness around that schedule.

What does the client need to provide for SOC 2 or ISO 27001 readiness?

Before readiness work starts, the client needs to provide the following:

  • Named owners for each control area, who can approve decisions and answer for their systems.
  • Access to the Trino clusters, their configuration files and the catalogs they connect to.
  • Access to the log store that receives Trino event listener output and the query audit trail.
  • Access to the identity provider used for authentication, with group mappings for Trino roles.
  • Change records and test accounts, so that changes and access reviews can be traced and sampled.

Confirm these access arrangements in writing during scoping, because they decide how quickly evidence can be collected.

Can our own team handle SOC 2 or ISO 27001 preparation without a partner?

Yes, a team that already runs the engine can do much of the preparation itself, but management ownership and internal skills still matter. Management must own the risk decisions and approve the policies, and the organization must confirm it has the skills to configure access control, log handling and change management on the engine. Staff should be able to explain their own controls to an assessor, since the auditor will test what your team does day to day. Outside help can add capacity and a second review of the evidence, which can help during a first cycle, but it does not move ownership of the controls out of your organization.

Does DeployOpen certify us or issue a SOC 2 or ISO 27001 report?

No. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. SOC 2 reports come from an independent CPA firm, and ISO does not certify organizations, so accredited certification bodies issue ISO/IEC 27001 certificates after auditing against the standard. Those parties decide which evidence they sample, so ask them to confirm the list before the readiness work is scoped. The AICPA's SOC 2 pages are a natural starting point for understanding the report types.

What do we pay for, and what recurs after the first audit?

Licence fees are not the main cost driver, because Trino and StarRocks are both Apache-2.0 licensed. The cost sits in several places:

  • Staff time from your owners and engineers, which recurs with every audit cycle.
  • The DeployOpen fee for the agreed fixed scope, paid once for the listed deliverables, with the written scope setting the amount.
  • Assessor and certification body fees, paid directly to those parties.
  • Log storage for query audit records, which grows with query volume and retention period.
  • Optional retainers for upgrades and continuous testing, which recur for as long as you keep them.

Ask for a quote that separates one-time items from recurring ones. DeployOpen does not publish a price list, and a quote follows from the written scope.

How DeployOpen prepares Trino or StarRocks for an audit, without picking a side

DeployOpen approaches Trino vs StarRocks for SOC 2 and ISO 27001 audits by scoping the written controls each platform must support in your environment before choosing or changing anything. We build, document and test the setup in your own infrastructure, then hand over the evidence an assessor will ask for. DeployOpen prepares systems and evidence for assessment but does not issue audit reports or certifications.

How we scope

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • We map which SOC 2 criteria and Annex A controls touch the query engine, catalogs and logs.
  • We confirm which parts sit with your team, such as identity provider, data owners and retention decisions.

How we build

  • Trino's default access control allows all operations for authenticated users, so we design explicit access rules before go-live.
  • We enable query audit trails, such as Trino's HTTP or MySQL event listener, and confirm where they are stored.
  • For StarRocks, we set up audit logging, then check fe.audit.log and the AuditLoader table for credentials in plain text.

How we hand over

  • We document the configuration, access rules, log locations and retention settings in a handover pack your assessor can read.
  • We provide a control-to-evidence map that names the exports, screenshots and config files for each criterion in scope.
  • Confirm with your auditor whether SOC 2 Type 1 or Type 2 applies before evidence collection starts.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Upgrades matter for audits: confirm the supported release line and its end-of-life date with the vendor before each change.
  • Re-check access rules, logs and identity settings after any change, and record each re-check as evidence.

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.