Google BigQuery vs Trino for SOC 2 and ISO 27001 audits

For a SOC 2 or ISO 27001 audit, BigQuery draws on Google's in-scope reports and built-in audit logs, while Trino leaves the access rules, log retention and evidence with your team. This page covers only the compliance angle, and the general comparison is on its own page.

On this page

Which platform fits a SOC 2 or ISO 27001 audit

Choose Google BigQuery if your auditor will accept Google's assurance reports for the BigQuery services you use and your data is allowed to sit in Google Cloud regions you can document. Choose Trino if the data must stay in infrastructure you control, or if you want every access and log record to come from systems you run. The decision turns on three questions: where the data may sit, whether the auditor will accept Google's in-scope reports for the services used, and who owns access rules and log retention. This section covers only the compliance angle. For performance, cost and feature trade-offs, read the general comparison Google BigQuery vs Trino on this site.

For BigQuery, start with Google Cloud's services-in-scope page, last modified on September 28, 2026, which lists BigQuery as in scope for ISO 27001, ISO 27017, ISO 27018, SOC 1, SOC 2, SOC 3, PCI DSS and penetration testing. Google makes SOC 3 reports downloadable and offers SOC 1 Type 2 reports under NDA, so confirm with your auditor which report they need and whether it covers the BigQuery features you use. Then check logging. Data Access audit logs are disabled by default for most Google Cloud services but not for BigQuery, so confirm they are being written and where they are routed. The Cloud Logging _Required bucket keeps compliance entries for 400 days with no change possible, while _Default keeps logs for 30 days unless you change it. Assign an owner for those retention settings and record the decision.

With Trino, the evidence is yours to produce. Trino is Apache-2.0 open-source software with no vendor attestation, so the organization running it holds the evidence. Its default access control allows every operation for any authenticated user, so you must set file-based rules at catalog, schema or table level, or use Open Policy Agent or Apache Ranger for row filters and column masking. Authentication options include password file, LDAP, OAuth 2.0, certificate, JWT and Kerberos, and Trino recommends starting with password file authentication. For an audit trail, the HTTP or MySQL event listener can record query events. The MySQL listener stores query ID, SQL text and user in a trino_queries table, which supports column-level analysis of data access. Retention, backup and the walkthrough for the auditor are your responsibility to design and document.

Why SOC 2 and ISO 27001 audit types change the evidence you need

SOC 2 and ISO 27001 ask different questions of the same BigQuery or Trino deployment. A SOC 2 report examines controls at a point in time or across a period, while an ISO 27001 certificate comes from an accredited body reviewing your management system. Each one shapes which logs, access records and change evidence you must keep.

SOC 2 Type 1 report

A Type 1 report describes your system and tests whether controls are designed suitably as of one date. For a warehouse or lakehouse, the system description has to name the query engine, the storage, the identity provider and every place query results or exports land. Ask for a current architecture diagram and written control design before the report date. Check whether the description separates Google's SOC 2 coverage of BigQuery from the settings your team owns, and document Trino's coordinator, workers and catalog configuration yourself.

Services in scope

SOC 2 Type 2 report

A Type 2 report adds an opinion on whether controls operated effectively across a period, so the logs from that period become the evidence. Access reviews, query logs and change records must exist for the entire window and be retrievable when the assessor samples them. For BigQuery, Data Access audit logs are disabled by default for every service except BigQuery, so confirm what your project records from the first day. For self-hosted Trino, the event listener you configure decides what is recorded and where it is stored, so set retention with the audit team.

BigQuery audit logging

ISO 27001 certification

ISO/IEC 27001 is a standard, and ISO itself does not certify organizations. An accredited certification body audits the information security management system you define, and it issues the certificate after reviewing the scope statement, risk assessment and internal audit records. The certificate covers the management system within its stated scope. Confirm that the body is accredited and that the scope names the warehouse, the query layer and the teams that operate them.

Annex A control themes

Annex A of the 2022 edition lists 93 controls in four themes taken from ISO/IEC 27002:2022: organizational controls (37), people controls (8), physical controls (14) and technological controls (34). The technological theme holds the controls most relevant to a query layer, covering access, logging and configuration. The organizational theme still applies to the staff and suppliers around the platform, and your statement of applicability records which controls you apply and why.

What certification and attestation examine

Neither a database nor a query engine is certified or attested by itself. Auditors examine the controls your organization runs around BigQuery or Trino, such as access approvals, logging, change management and vendor oversight. Provider reports cover the provider's controls, and your own audit covers yours. ISO certification runs on a three-year cycle with at least one audit in every calendar year, either surveillance or recertification, so plan evidence collection as a continuous task.

AICPA SOC 2 overview

What SOC 2 and ISO 27001 audits ask of a data warehouse or lakehouse

A SOC 2 examination tests a service organization's controls against the AICPA's 2017 Trust Services Criteria, in the version with revised points of focus published in 2022. The 2017 criteria total 61, including 33 common criteria. Security is the one category every SOC 2 covers, through common criteria CC1 to CC9. Availability, processing integrity, confidentiality and privacy add their own criteria only when your scope includes them. A warehouse holding personal data may need privacy in scope, while an internal analytics store may not. Settle that scope before you choose the platform, and record it in the system description that Type 1 and Type 2 reports both include. Ask your CPA firm to confirm the categories in writing before the build begins.

Assessors test the controls around the platform: who can read which datasets, how access is granted and removed, whether queries and administrative actions are logged and how long those logs are kept, how encryption and data location are set, and how the platform is patched. ISO/IEC 27001:2022 asks for much the same evidence through Annex A, where Annex A lists 93 controls in four themes. Most of the questions above sit in the technological theme (34 controls), including information access restriction (8.3), logging (8.15), use of cryptography (8.24), configuration management (8.9) and management of technical vulnerabilities (8.8). The organizational theme (37 controls) covers policies, supplier relationships and incident handling, which a cloud-hosted warehouse still depends on. Map each control in your statement of applicability to the platform setting that proves it.

Each side's documentation covers only part of this. Google lists BigQuery as in scope for SOC 2 and ISO 27001 on its services-in-scope page, and says SOC 3 reports are downloadable while SOC 1 Type 2 reports are available under NDA. Ask Google how to obtain the SOC 2 report for your scope, and confirm with your assessor that it will serve as evidence. Audit logs still need configuring. Check which Cloud Logging bucket receives your BigQuery audit logs, since _Default keeps entries 30 days unless you change that and _Required keeps compliance entries 400 days. On the Trino side, the default access control allows all operations for any authenticated user, so you must write file-based rules, Open Policy Agent policies or Apache Ranger policies yourself. You also own the query record: the MySQL event listener writes query events to a trino_queries table that you must secure and retain. Plan to replace the password file authentication that Trino recommends as a starting point before the audit window opens.

How BigQuery and Trino meet each requirement as documented

This table sets the control areas that SOC 2 and ISO 27001 assessors usually ask about against what Google documents for BigQuery and what the Trino project documents. Read each row as a starting point for evidence, and treat every Confirm item as an open question for Google, the Trino project or your own deployment. The main takeaway is that BigQuery comes with vendor assurance material, while with Trino most control design and evidence sits on your own cluster.

RequirementBigQuery as documentedTrino as documented
Vendor assuranceISO 27001 and SOC 1, 2, 3 in scope. SOC 3 downloadable; SOC 1 Type 2 under NDA. Confirm SOC 2 report route.Open-source project, so your assessor scope is your own cluster. Confirm whether any commercial support vendor holds SOC 2 or ISO reports.
Audit loggingAdmin Activity logs from ADMIN_WRITE; Data Access logs from DATA_READ, DATA_WRITE, ADMIN_READ. Confirm Data Access logging is enabled for your projects.HTTP listener posts query created and completed events as JSON. MySQL listener stores query ID, SQL text and user. Confirm admin actions are covered.
Log retention_Required bucket keeps entries 400 days, no change possible. _Default keeps 30 days unless changed. Confirm which bucket holds BigQuery audit entries.Retention depends on where the event listener writes, such as your MySQL table or SIEM. Confirm the period.
Access controlGoogle Cloud IAM controls access. Confirm role design and access review evidence in your own project.Default allows all operations for authenticated users. Use file rules, OPA or Apache Ranger (row filters, column masking) instead.
AuthenticationGoogle Cloud identities sign in. Confirm how your identity provider federates to them and how MFA is enforced.Password file, LDAP, OAuth 2.0, certificate, JWT, Kerberos and Salesforce. Docs suggest starting with password file, so plan an identity-backed method.
Encryption and transportConfirm encryption at rest and in transit, plus key ownership, with Google.Trino's TLS guide covers securing connections. Confirm certificate management and that internal traffic is encrypted.
Data locationDataset location is set per dataset. Confirm the region for each dataset and any export to Cloud Storage.Queries run where your coordinator and workers run. Connectors read sources in place, such as BigQuery, so confirm source regions.
PatchingGoogle operates the service. Confirm how change and maintenance notices reach you and how you evidence them.You apply releases. Release 484 came out October 15, 2026. Runtime needs 64-bit Java 25, minimum 25.0.1.

Who runs each control on each side

Each card splits one control area into what Google covers for BigQuery and what your organization still configures and evidences. The same split applies to Trino, where your organization owns the nodes, TLS, access rules, event store and documentation. Google's reports describe Google's services and do not cover your IAM, dataset settings or retention choices.

Infrastructure and patching

Google operates the BigQuery service infrastructure, including the servers and engine that run your queries, and its compliance reports cover that managed service. Your team has no engine patching to run. With Trino, your organization owns every node: the operating system, the 64-bit Java runtime (minimum 25.0.1), coordinator and worker layout, and every upgrade. Keep patch records, change tickets and a current node inventory, because an assessor will ask who patched what and when.

Identity and access rules

BigQuery access control is yours to configure. IAM roles, dataset permissions and table-level access live in your Google Cloud project, and Google's reports do not review those choices. Trino supports password file, LDAP, OAuth 2.0, certificate, JWT and Kerberos authentication, and its docs recommend starting with password file authentication. Logging in does not decide what a user can read: the default access control allows every operation for any authenticated user, so you must add file-based rules, Open Policy Agent or Apache Ranger, then document and test the rule set.

Trino security overview

Logging and retention

BigQuery Data Access logs are on by default, which is unusual among Google Cloud services, but retention is still your decision. Entries in the _Required bucket are kept 400 days with no option to change that, while the _Default bucket keeps logs 30 days unless you change it, so confirm which bucket your BigQuery entries land in. For Trino, you run the event store: the HTTP listener posts query created and completed events as JSON, and the MySQL listener writes each query's ID, SQL text and user to a trino_queries table. Set retention and access controls on that store yourself and show them to the assessor.

BigQuery audit logging

Data location and encryption

Set the data location, then confirm how it is protected. On BigQuery, dataset location is your choice, and encryption at rest and key management follow Google's documented settings, which you should confirm for your region and contract. Trino does not hold data itself, so location and encryption depend on each source you attach through its connectors. Your organization configures TLS on the coordinator, workers and client connections, following the Trino TLS documentation, and manages encryption on every storage system behind those connectors. Record each source, its location and its encryption settings in one data map.

Trino TLS guide

Evidence collection

Google's reports describe Google's services only. The SOC 3 report is downloadable, the SOC 1 Type 2 report is available under NDA, and PCI materials come through Compliance Reports Manager, but none of them covers your IAM roles, dataset settings or retention choices. Those records, along with your Trino access rules, TLS configuration, event listener output and change history, must come from your own environment. Ask your auditor which artifacts they accept for an open-source engine you run yourself, and agree that list before the audit period starts.

Google compliance resources

Evidence an assessor will ask for and how each side produces it

For BigQuery, the services-in-scope list marks BigQuery as in scope for ISO 27001, 27017, 27018, SOC 1, SOC 2, SOC 3, PCI DSS and penetration testing, so an assessor will expect reports that cover the service and your audit period. Google states that SOC 3 reports are downloadable and SOC 1 Type 2 reports are available under NDA, and its PCI page says compliance reports can be requested through Compliance Reports Manager. Confirm with Google whether the SOC 2 report comes through the same route. Trino is open-source software you run yourself, so no vendor report covers your deployment; the evidence comes from your own controls and your hosting provider's reports.

  • Scope match: Check that the in-scope list covers the BigQuery features your datasets actually use, not only the service name.
  • Report type: A SOC 2 Type 1 report covers control design at a date, while a Type 2 report also covers operating effectiveness over a period, so ask which one fits your audit.
  • Access route: Confirm in writing how each report is obtained and whether an NDA applies before your assessor receives it.
  • Self-hosted Trino: Expect requests for your hosting provider's reports and your own system description covering the coordinator, workers and catalogs.

Check that each report's period overlaps your audit window and that the report names the services your team uses.

Why Trino's default access control is the first gap to close

The first gap an assessor will find in a self-hosted Trino cluster is access control. Trino's default access control allows all operations for any authenticated user, so anyone who can log in can read or change every catalog the cluster exposes. An assessor will read that as an open control unless the organization adds a policy layer. Trino's documentation lists three alternatives: file-based rules at catalog, schema or table level, Open Policy Agent, and Apache Ranger, which adds row filters and column masking. Choose one before the audit period starts, write the rule set down, and keep the rule file or policy repository under version control so its change history can be shown. Test each role with a non-admin account and record the results, because the assessor will ask for proof that the rules were enforced as well as proof that they exist.

Authentication comes next in the sequence, because access rules only mean something if the identity behind each query is trustworthy. The Trino security overview lists password file, LDAP, Salesforce, OAuth 2.0, certificate, JWT and Kerberos authentication, and recommends starting with password file authentication. Use that as the first step on a test cluster, then plan the move to the mechanism your identity provider already supports. Directory-backed estates usually point to LDAP, federated single sign-on to OAuth 2.0 or JWT, service-to-service trust to certificates, and Active Directory-heavy networks to Kerberos. Confirm with your identity team which protocol the provider can issue, and log the cutover date and the TLS settings, since the assessor will check both against the access review.

The third point is easy to miss. Trino's connector list includes BigQuery, among 37 connectors, so a team that queries BigQuery through Trino has two access layers to review. The first is the set of Trino rules that decide who can run queries against the BigQuery catalog. The second is the Google Cloud IAM roles on the datasets and the service account that Trino uses to reach them. A Trino rule that lets an analyst see a table does not change what the BigQuery service account can read, and a BigQuery grant does not change what Trino users are allowed to query. Document which identity Trino presents to BigQuery, which datasets it can reach, and who can change either side. Then run one access review that covers both layers within the same period, so the evidence does not show a gap between them.

How audit events flow from query to retained evidence

The diagram starts in two places: an authenticated user querying Trino, and a BigQuery query. On the Trino side, access rules sit in front of the coordinator and workers, and the event listener sends query created and completed events to an HTTP endpoint or the trino_queries table, both inside your infrastructure. On the BigQuery side, Cloud Audit Logs land in Google-run buckets: the _Required bucket keeps entries 400 days with no change possible, and the _Default bucket keeps logs 30 days unless you change it. Confirm whether an export sink copies entries into storage you control, since that copy is what you keep past those windows.

Trino events stay in your infrastructure; BigQuery logs stay with Google unless exported.

Configuring Trino so an assessor can test it

This sequence turns a default Trino install into something an assessor can test. Each step produces a record: the authentication choice, the access rules, the query log, the TLS settings, the pinned runtime, a first access review and a written control narrative. The exact configuration depends on your environment and the scope agreed in writing, and the BigQuery settings you need to confirm sit in the evidence tab.

  1. Choose and record the authentication method

    Decide how users and clients authenticate to the coordinator, and write the choice down before anything else is configured. Trino's security overview lists options including password file, LDAP, OAuth 2.0, certificate, JWT and Kerberos, and recommends starting with password file authentication. Your identity team or platform owner signs off, and the record names the method, the owner and the user population it covers. Done means the record exists, is approved, and matches what the coordinator is configured to accept.

  2. Replace allow-all access control with rules

    Trino's default access control allows all operations for authenticated users, which does not by itself show least privilege. Choose file-based rules at catalog, schema or table level, Open Policy Agent, or Apache Ranger, which adds row filters and column masking. Engineering writes the rules with the data owners, and the rule files or policy set go into version control. Done means a test user is denied a table outside their grant, and the denial is recorded in the rule set and the test log.

  3. Enable the query event listener and set retention

    Enable either the HTTP event listener, which posts query created and completed events as JSON, or the MySQL event listener, which writes each query to a trino_queries table with the query ID, SQL text and user. Choose the MySQL option if you need to analyze which columns were accessed, and set the destination and retention period in the platform that receives the output. Platform engineering owns the receiving store and the retention setting, which must match your log retention policy. Done means a test query appears in the store with its user and query ID.

  4. Configure TLS and document the settings

    Turn on TLS for client connections and for communication inside the cluster, using certificates from your certificate authority and following Trino's TLS guidance. Record the certificate issuer, expiry date, rotation owner and the protocol and cipher settings in the configuration record, and keep the config files in version control. Confirm the accepted protocols and ciphers with your security team, since they come from your own policy. Done means a connection test shows the expected certificate and the record matches the running configuration.

  5. Pin and record the release and runtime

    Pin one Trino release and one 64-bit Java runtime, and record both with their exact version numbers. Trino's deployment documentation requires a 64-bit Linux system and Java 25, minimum 25.0.1, and the release notes list each published version, so check the release you choose against both. Platform engineering owns the pin and the upgrade record, and the file goes into the evidence set. Done means the coordinator and every worker report the same release and a Java version at or above 25.0.1.

  6. Run and record a first access review

    Run one access review against the live setup, with a sample of accounts drawn from the rule set and the authentication record. Compare each account's effective access with what the data owner approved, then log every mismatch and its fix in the review record. Security or the compliance lead signs the review, and a retest confirms each fix. Done means the review record lists the accounts checked, the exceptions, their owners and the date of the retest.

  7. Write the control narrative for the assessor

    Write the narrative that explains how access to Trino and its data is controlled, such as under the logical access common criteria (CC6), and point each claim to the record from the earlier steps that proves it. The assessor will read it alongside the evidence, so it should name the authentication method, the access rules, the log destination, the TLS settings, the pinned release and the review outcome. The compliance lead owns the text, and a technical owner confirms each statement is accurate. Done means every statement in the narrative has a matching record and a named owner.

What buyers ask before hiring help with an audit

How much effort does a SOC 2 or ISO 27001 audit take for Trino?

Effort rises with three drivers: the number of users and data sources that reach the query layer, the volume and retention period of the logs you must keep, and the number of controls in scope. A small team with one catalog, one identity provider and one log destination has far less to document than a team with many catalogs, shared service accounts and log retention set by several policies. For ISO 27001, the 93 controls in Annex A are the starting point, and your Statement of Applicability decides which ones apply. For SOC 2, the common criteria apply to every report, while availability, confidentiality, processing integrity and privacy add work only when they are in scope. Ask for an effort estimate that breaks down by these drivers.

How long does an audit preparation project take for Trino?

The timeline comes from the written scope and the audit window. No duration is set in our sources, so treat any number you hear as something to confirm. The report type matters most. A SOC 2 Type 1 report covers the description of the system and whether controls were suitably designed as of a date. A Type 2 report also needs an opinion on whether controls operated effectively over a period, so the evidence period must run before the auditor can test it. For ISO 27001, a certification cycle runs three years with at least one audit in each calendar year, so plan readiness work around the certification body's schedule. Ask each auditor for their calendar and the evidence window they expect before you agree dates.

What does an outside team need from our organization to start?

Plan to give the outside team access to these five things before work starts:

  • Read access to your identity provider, so authentication and group membership can be reviewed.
  • Admin access to the Trino cluster and its configuration files, including coordinator and catalog settings.
  • Ownership of the log store that receives Trino event listener output and any BigQuery audit logs.
  • Named control owners for access reviews, change management, backup and incident response.
  • A direct contact at the auditor or certification body who confirms evidence formats and sampling.

Access should be granted through your change process and logged. Agree this list in the written scope so each item has a named owner.

Can our own engineers prepare the evidence without an outside firm?

Yes, if your team owns the Trino configuration and the evidence that comes from it. Auditors do not need a vendor. They need a consistent, dated record showing that controls operate. Test your readiness with this checklist:

  • Authentication uses a documented method, such as password file, LDAP, OAuth 2.0 or Kerberos, and you can show the configuration history.
  • The default allow-all access control has been replaced by file-based rules, Open Policy Agent or Apache Ranger, and rule changes go through review.
  • Query events reach a log store you control through an event listener such as HTTP or MySQL, with retention written down.
  • A member of your team can run a sample access review and hand the output to the auditor.

If any item stays empty, that gap is the first thing to add to the written scope.

What does each cost component cover when auditing Trino or BigQuery?

Trino's Apache-2.0 license carries no software fee, so the cost is infrastructure, staff time and outside help. Infrastructure recurs: compute for the coordinator and workers, storage, and log retention. Staff time is usually front-loaded for setup and policy writing, then recurs for access reviews and evidence pulls. Outside help is paid under a written, fixed-scope quote. If you use BigQuery, Google's BigQuery pricing page lists on-demand queries at $6.25 per TiB processed after the first 1 TiB free each month per billing account. Editions are billed per slot-hour, and active logical storage is listed at $0.000031507 per GiB-hour with the first 10 GiB free each month. Confirm the logging retention you need, since the default Cloud Logging bucket keeps logs 30 days unless you change it. Ask every quote to separate one-time setup from recurring operation.

Does DeployOpen certify our Trino and BigQuery setup for compliance?

No. DeployOpen does not issue audit reports, attestations or certifications. CPA firms issue SOC 2 reports, and accredited certification bodies certify ISO/IEC 27001 management systems. DeployOpen plans, configures, documents and tests the controls and evidence those parties will review, and prepares the evidence they ask for. Scope, deliverables and timelines are agreed in writing before work starts, and a quote follows from that written scope. Ask your auditor which evidence formats they accept before the work begins, since that answer sets the deliverables.

How DeployOpen prepares Trino and BigQuery for an audit

DeployOpen plans, implements and documents the self-hosted Trino side of this comparison inside the client's own infrastructure, and prepares the systems, controls and evidence a SOC 2 or ISO 27001 assessor will ask for. We do not issue audit reports, attestations or certifications; independent auditors and certification bodies do. The work starts from a written scope so the Trino and BigQuery boundaries are agreed before anything is built.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • The written scope names which Trino catalogs, BigQuery projects and audit logs fall inside the assessment boundary.
  • We map Trino authentication, access control and event listener settings to the criteria or control IDs in scope.

How we build

  • We configure Trino authentication against your approved method, such as LDAP, OAuth 2.0 or certificates, and document the choice.
  • Trino's default access control allows every operation for authenticated users, so we build catalog and table rules before go-live.
  • On BigQuery, we confirm which Data Access audit logs are enabled for in-scope projects and where they are routed.

How we hand over

  • Deliverables include configuration records, access rule files and a map from each in-scope control to its evidence.
  • Documentation covers the Trino cluster, the BigQuery settings and how log retention is configured.
  • Evidence for the assessor is organized in this package; we do not issue audit reports, attestations or certifications.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial engagement.
  • Trino and BigQuery settings change over time, so access rules and log configuration are rechecked after each upgrade.
  • Security testing of Trino endpoints and access paths can be added as a written scope.

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.