Self-hosted Langfuse for ISO 27001 controls: what the platform supports and what it does not
A self-hosted Langfuse can supply configuration, settings and evidence for several Annex A controls of ISO/IEC 27001:2022, but it does not make your organization compliant. ISO does not certify organizations; accredited certification bodies do, and they decide whether your information security management system meets the standard. For a security or compliance lead, the practical question is where an LLM tracing tool sits in the ISMS scope, because traces hold prompts, outputs and tool inputs that may contain personal or confidential data and must be treated like any other information asset.
Annex A of the 2022 edition lists 93 controls in four themes: organizational, people, physical and technological. This page maps only the areas where Langfuse's documented features apply, mainly access management, logging, backup, encryption and supplier relationships. Several of the features you will want as evidence, including audit logs, data retention policies, project-level RBAC, server-side data masking and SCIM provisioning, need an Enterprise license key on self-hosted deployments. The MIT-licensed open source version covers core tracing, prompts and evaluations, so confirm early which controls depend on the Enterprise license before you design the control set around them.
Supplier considerations also need a decision. Self-hosted Langfuse sends a small amount of aggregated deployment telemetry to Langfuse and never sends raw traces, prompts, observations, scores or dataset contents. The open source version can turn this off with TELEMETRY_ENABLED=false, while Enterprise telemetry cannot be disabled. Record the telemetry behavior of the version you run in your supplier register, and state the decision in the risk assessment, since the answer differs by license tier. Confirm the current behavior against the Langfuse telemetry documentation before the assessment is signed off.
Which Annex A control areas Langfuse features map to
This table maps common Annex A control areas to self-hosted Langfuse features, the configuration each one needs and whether the Enterprise license key is required. Control IDs refer to ISO/IEC 27001:2022 Annex A, and the mapping is a starting point for your own control design that does not replace an assessment. Read the third column first when planning licenses, because audit logs, retention, masking and project roles depend on it.
| Control area | Langfuse capability and configuration | Enterprise key needed |
|---|---|---|
| Access control (5.15, 5.18) | Project-level RBAC roles restrict who sees each project's traces and prompts. Review assignments on joiner and leaver events. | Yes |
| Secure authentication (5.17, 8.5) | Sign in through supported SSO providers, disable password sign-in and enforce SSO by email domain. Confirm plan requirements for these settings. | Confirm |
| Privileged access and provisioning (8.2) | Organization creators and the SCIM-enabled org management API control who administers the instance. | Yes |
| Logging and monitoring (8.15) | Audit logs record configuration and access events. Forward Web and Worker container logs to your central log platform. | Yes |
| Information backup (8.13) | Back up PostgreSQL, ClickHouse and blob storage in your infrastructure and test restores. Confirm how Redis or Valkey state is handled. | No |
| Cryptography (8.24) | Terminate TLS at your ingress and enable encryption at rest in each data store. Confirm any Langfuse-specific encryption settings. | Confirm |
| Information deletion and masking (8.10, 8.11) | Data retention policies and server-side masking manage deletion and redaction of sensitive content in traces. | Yes |
| Supplier relationships (5.19, 5.21) | Self-hosted telemetry sends aggregated deployment data only. Set TELEMETRY_ENABLED=false on open source deployments. | Enterprise telemetry cannot be disabled |
| Change and vulnerability management (8.8, 8.32) | Minor updates within a major version are non-disruptive, and migrations run at startup. Test major upgrades in staging first. | No |
Evidence a self-hosted Langfuse produces for an ISMS audit
An auditor asking about Langfuse will want to see how access was granted, how changes were recorded and how data was kept and protected. Most of that evidence is held in your identity provider, your Langfuse settings, your database and backup tooling and your change records, so the job is to decide where each item lives, date it and name an owner who reviews it.
SSO configuration records
Record which identity provider Langfuse authenticates against, the enforced sign-in method and any email domains where SSO is mandatory. Export or screenshot the settings with a date and the name of the person who approved them, and keep the identity provider's client configuration under change control. Check that password sign-in is disabled where your policy requires it, because the auditor will test the setting, not your description of it.
Langfuse SSO docsRole assignment reviews
Keep a dated list of users, their project roles and their organization roles, with the approver for each grant. Project-level RBAC roles are an Enterprise feature, so on the open source edition your role model is coarser and the evidence must say so. Schedule a recurring review in which the system owner confirms or removes each account and records the outcome.
Audit log exports
Audit logs are an Enterprise feature on self-hosted deployments. If you license it, export the log on a fixed schedule, store the files in write-once storage and record who exported them and the period covered. Without the Enterprise license, your logging evidence has to come from the infrastructure layer, such as container and database logs, which you must confirm will meet your retention needs.
Retention policy settings
Document the retention period configured for traces and any deletion jobs, and tie each value to a stated business or legal reason. Retention policies are an Enterprise feature, so confirm whether your license includes them before you describe them as a control. Keep the configuration history so the auditor can see what value applied on a given date.
Backup and restore records
Keep a log of each backup of PostgreSQL, ClickHouse and blob storage, including the time, size, job result and location. Test restores on a schedule and file the results, because a backup that has never been restored is weak evidence. Assign one owner for the backup schedule and another for restore testing where your organization allows the separation.
Version and upgrade history
Record the Langfuse version running in each environment, the date it was deployed and the change ticket behind it. Read the release notes and the upgrade guide before each change and file the review. Major upgrades change the database and infrastructure, so keep the pre-upgrade backup record alongside the upgrade record.
Langfuse upgrade guideTelemetry setting record
Record the value of TELEMETRY_ENABLED for each instance and the date it was set. Self-hosted Langfuse sends aggregated deployment telemetry, and open source deployments can turn it off, while Enterprise telemetry cannot be disabled. Your supplier assessment should describe this flow, and the auditor will expect the setting in your configuration baseline.
Which controls need the MIT edition and which need the Enterprise license
The MIT-licensed open source version carries all core features and APIs without limits, and self-hosted deployments run the same codebase as Langfuse Cloud. For ISO 27001 work, this means the core tracing, prompt management and evaluation functions can be deployed, configured and documented in your own infrastructure without a license key. The license also matters for supplier review: the repository is MIT Expat licensed, except for the content under the ee/, web/src/ee/ and worker/src/ee/ directories, which falls under a separate enterprise license.
- Core tracing and APIs: Trace ingestion, prompt management, evaluations and the core APIs are available in the open source edition with no feature limits.
- Source license split: Your supplier review should record that the enterprise directories fall under a separate license, even if you never load them.
- Own-controlled hosting: Infrastructure controls for access, logging at the platform layer, backups and encryption sit with your team on either edition.
- Free plan scope: The self-hosted pricing page lists a free open source plan, so no fee applies to the core product.
Confirm the current license text in the LICENSE file on GitHub before you record it as supplier evidence.
Several governance features need an Enterprise license key on a self-hosted instance. These include project-level RBAC roles, protected prompt labels, data retention policies, audit logs, server-side data masking, UI customization, organization creators, the org management API with SCIM, and the instance management API. Each of these maps to a specific control area, so a team that relies on them for evidence must budget for the license before the assessment starts.
- Access control: Project-level RBAC roles and SCIM provisioning support the access management and user registration controls.
- Logging: Audit logs are an Enterprise feature, so the audit evidence for administrative actions depends on the license.
- Retention and disposal: Data retention policies are an Enterprise feature, which affects how you show that trace data is removed on a defined schedule.
- Data protection: Server-side masking is an Enterprise feature, so masking done at ingestion inside the client application is a separate design choice.
- Cost driver: The Self-Hosted Enterprise plan is custom-priced and adds a named support engineer, solutions architect access and a support SLA. A quote follows from written scope, so ask the vendor to price the features you need.
Check the license key documentation against your control list before you commit to a plan.
The practical effect of the split depends on which Annex A control area your evidence must cover. Under the 2022 edition, Annex A groups 93 controls into organizational, people, physical and technological themes, and most Langfuse-related evidence falls under the technological and organizational themes. Mapping each control to a feature and a license tier lets your team see where the open source edition is enough and where the Enterprise license closes a gap.
- Access and identity: SSO through supported providers and password sign-in controls work on the core edition, while RBAC roles and SCIM need the license.
- Logging and monitoring: Audit logs need the license, so plan a separate logging path if you choose the open source edition.
- Retention and deletion: Retention policies need the license, so manual deletion procedures may be the fallback on the free edition.
- Backup and encryption: These controls are implemented in your PostgreSQL, ClickHouse and blob storage layers, independent of the license.
- Supplier review: Telemetry sent to the vendor is covered on the telemetry tab of this topic's sibling pages.
Write down, per control, which tier provides the evidence before you request a quote.
Deciding between the two tiers is a planning exercise, not a technical one. Start with the control list your assessor will test, mark which controls depend on Enterprise features, and then compare the cost of the license against the cost of building an equivalent control in your own environment. The decision should be made before the build, because retrofitting audit logs or retention policies after data has accumulated is harder.
- Build the control list: List each in-scope Annex A control and the Langfuse feature that supports it.
- Mark license dependency: Flag every control that relies on an Enterprise feature.
- Estimate the alternative: For each flagged control, record what a compensating control would require in your environment.
- Request a scoped quote: Ask the vendor for pricing against the exact feature list, support level and term you need.
- Confirm the current feature list: Verify the license key documentation at the time of purchase, since feature boundaries can change.
Record the decision and the evidence source in the ISMS documentation so the auditor can trace each control.
How the Langfuse components and trust boundaries fit inside your network
The diagram starts with instrumented applications inside your network sending OTLP traces to the /api/public/otel endpoint on Langfuse Web. Web handles the UI and APIs, hands asynchronous event processing to Langfuse Worker, and both write to the data stores you operate: PostgreSQL, ClickHouse, Redis or Valkey and S3-compatible blob storage. SSO runs through your identity provider, and the only outbound path is aggregated deployment telemetry, which OSS deployments can turn off with TELEMETRY_ENABLED=false. Check each edge against your own network policy and your asset inventory.
Langfuse components, data stores and outbound telemetry inside a self-hosted deployment.
Configuration sequence before the first ISO 27001 audit
This sequence turns a self-hosted Langfuse into a documented, controlled system whose settings, access rules and recovery evidence an auditor can sample. It starts with scope and ends with a version record, so each later step has a documented decision to point to.
Define the ISMS scope and the tracing system
The information security lead and the system owner write down where Langfuse sits in the ISMS scope: the hosts, the PostgreSQL, ClickHouse, Redis or Valkey and blob storage it depends on, the applications that send traces, and the people who administer it. Annex A controls are then mapped to this boundary, and the owner of each control is named. The step is done when the scope statement and the asset inventory are approved and stored with the other ISMS records.
Deploy the platform in controlled infrastructure
The platform team deploys Langfuse Web, Langfuse Worker, PostgreSQL, ClickHouse, Redis or Valkey and S3-compatible storage inside the cloud account, data center or private network you already control. The Docker Compose option on a single VM is documented for testing only, since it has no high availability, so production uses the Kubernetes or cloud-based guides. The step is done when the network boundaries, host hardening baseline and deployment configuration are recorded as code or configuration under change control.
Enforce SSO and disable password sign-in
The identity team connects Langfuse to your identity provider through a supported Auth.js provider or generic OIDC, then disables password sign-in and enforces SSO for your email domains. Authentication then follows the same joiner, mover and leaver process as your other systems. The step is done when a test account without SSO can no longer sign in and the configuration is captured in the change record. Confirm the SSO options available on your plan before you start.
Set roles and protected prompt labels
The security and AI platform leads define who may view traces, manage projects, change prompts and administer the instance, then assign roles accordingly. Protected labels are set for production prompts so only approved people can move them. Project-level RBAC roles and protected prompt labels require an Enterprise license key, so confirm that license decision before you rely on these controls in the access model. The step is done when the role matrix is approved and test accounts confirm each role's permissions.
Decide and document the telemetry setting
The platform owner decides whether self-hosted Langfuse sends its aggregated deployment telemetry. On OSS deployments this can be turned off with the TELEMETRY_ENABLED setting, while Enterprise telemetry cannot be disabled. The decision, the reason for it and the data that would still leave the environment go into the supplier and data flow records. The step is done when the setting is applied, the decision is signed off, and the record matches what the running instance is configured to do.
Set retention and masking rules
The data protection and platform leads set how long traces, observations and scores are kept, and where sensitive values are masked before storage. Data retention policies and server-side masking require an Enterprise license key, so if you do not hold one, document the alternative control you use, such as masking in the application before data is sent. The step is done when retention periods and masking rules are written down, applied to a test project and verified by sending sample traces.
Configure encrypted backups and test restores
The database and storage owners schedule backups of PostgreSQL, ClickHouse and blob storage, encrypt them at rest and in transit, and store copies outside the primary failure domain. A restore is then rehearsed into a separate environment and the result is recorded, including which data was recovered and how long the restore took. The step is done when a restore test report exists and the backup job logs are retained as evidence. Confirm your encryption and key management approach with your own security team before you finalize it.
Record upgrade and version control
The platform team records the deployed Langfuse version, the versions of its data stores and SDKs, and the approval path for changes. Minor updates inside a major version apply database migrations at startup, while major upgrades follow dedicated migration guides and can change infrastructure requirements, so each upgrade needs a documented test and rollback plan. The step is done when the version register, change log and upgrade plan are stored with the ISMS records and an owner reviews them on a set schedule.
How the telemetry the instance sends affects supplier review
Self-hosted Langfuse sends a small amount of aggregated deployment telemetry to Langfuse, and it never sends raw traces, prompts, observations, scores or dataset contents. For an ISO 27001 supplier review, that distinction belongs in the supplier risk record for Langfuse as the software supplier, with the data flow described in plain terms: what leaves your network, what never does, and which setting controls it. Record the telemetry as data sent to the supplier, not as a trace or content export, and keep the statement tied to the Langfuse version you deployed, since the telemetry documentation is the source the reviewer will check against.
In the open-source edition you can stop this telemetry by setting TELEMETRY_ENABLED=false in the instance configuration. Decide whether to set it before go-live, record the decision and its owner in the supplier record, and confirm that the variable is present in the running containers for both the web and worker services, not only in a template file. If you are running an Enterprise license, the telemetry cannot be disabled, so the supplier record must say so and the risk assessment should rely on the aggregated, content-free description instead of an opt-out. Confirm the current Enterprise terms with Langfuse before you rely on either position.
Treat the vendor's description as a claim to verify. Ask Langfuse to confirm in writing the exact fields and frequency of the telemetry for your license tier and version, and ask whether any part of the telemetry depends on configuration you control. Then test the data flow inside your own network: capture outbound traffic from the Langfuse containers during a test session with synthetic prompts, and confirm that no trace payloads, prompt text or dataset content leave the environment. Keep the captured evidence and the test date with the supplier record, so the claim is backed by your own observation rather than only by the vendor's documentation.
Questions buyers ask before they bring in help for ISO 27001 and Langfuse
Does self-hosting Langfuse make our organization ISO 27001 certified?
No. Langfuse is software, and neither the software nor a vendor certifies an organization. Certification is granted by an accredited certification body after it audits your information security management system (ISMS) against ISO/IEC 27001:2022. A self-hosted Langfuse instance can support the controls your ISMS relies on, such as access management, logging, backup and encryption, and the evidence you collect from it can feed the audit. DeployOpen prepares the systems, configuration and evidence for that review, but we do not issue audit reports or certificates. Ask your certification body early which evidence they expect to sample, because that decides how the instance is configured and documented.
What makes the effort of mapping Langfuse to ISO 27001 controls go up or down?
The main drivers are the number of Annex A controls in scope, how much of the control evidence already exists, and how many systems Langfuse touches. Mapping is largely documentation work, but configuring SSO, role-based access, backups and retention takes engineering time and needs review by the people who own those controls. Effort rises when the instance is connected to many identity sources, when trace data contains personal or sensitive content that needs masking decisions, or when backups for ClickHouse, PostgreSQL and blob storage have not been tested before. It falls when your ISMS already defines owners, review cycles and evidence formats for similar platforms. Ask any partner to list the controls in scope and the systems that produce evidence for each one.
Can our own team map and configure Langfuse for ISO 27001 without a partner?
Often yes, provided your team has people who can deploy and operate the stack and people who understand your ISMS. The deployment needs a PostgreSQL database, ClickHouse, Redis or Valkey, S3-compatible blob storage and two application containers, Langfuse Web and Langfuse Worker, and you will need to size, back up and upgrade each of them. Many teams do the infrastructure in-house and bring in outside help for the control mapping, the restore tests or the review before an audit. Be honest about capacity: a single upgrade across a major version changes the data model and needs its own plan. A written scope lets you split the work between your team and a partner without guessing where the gaps are.
Which Langfuse features need an Enterprise license, and how does that affect the engagement?
The MIT-licensed open source version includes all core features and APIs without limits. Several governance features need an Enterprise license key on a self-hosted deployment, including project-level RBAC roles, data retention policies, audit logs, server-side data masking, the org management API with SCIM, and the instance management API. For ISO 27001, audit logs and retention are the features most often questioned, so confirm early whether your evidence depends on them. Enterprise also adds a named support engineer, solutions architect access and a support SLA, and Enterprise telemetry cannot be disabled, unlike the OSS telemetry setting. Licensing is a commercial decision that Langfuse sets, and the engagement cost follows from a written scope rather than from a published price list.
How long does it take to get a self-hosted Langfuse ready for ISO 27001 review?
The honest answer depends on drivers rather than a fixed figure. The timeline is set by how quickly you agree the scope and control owners, how long identity provider and network changes take to approve, how many environments need building, and whether the backup and restore tests can run in a staging copy. Upgrade work adds time if you are moving to a new major version, because the v3 to v4 path requires ClickHouse 25.12 or later, PostgreSQL 15 or later and Redis 7.0 or later, and it recommends extra ClickHouse disk headroom during backfill. Ask any partner for a timeline that lists these dependencies and the points where your team must act.
What does the work need from our team before it starts?
Four roles usually decide whether the work moves smoothly. An ISMS owner confirms which controls are in scope and accepts the evidence approach. An infrastructure lead provides access to the cloud account, data center or air-gapped network where Langfuse will run. An identity provider administrator configures SSO for the providers you use, such as Entra ID, Okta or Keycloak, and agrees how domain enforcement and password sign-in will be handled. A data owner signs off on what trace data is retained, who can see it and how long it stays. Name these people in the scope document before work starts so that decisions are not delayed.
Does the telemetry Langfuse sends to its vendor affect our supplier review?
Yes, it should be part of your supplier assessment. Self-hosted Langfuse sends a small amount of aggregated deployment telemetry to Langfuse and never sends raw traces, prompts, observations, scores or dataset contents. OSS deployments can turn it off with the TELEMETRY_ENABLED=false setting, but Enterprise telemetry cannot be disabled. Record which setting you chose, why, and who approved it, because your supplier controls will ask. Also confirm your own third-party register covers Langfuse and any gateway or identity system it connects to. The vendor's telemetry documentation is the right place to verify the current behavior before you rely on it.
How DeployOpen scopes, configures and documents ISO 27001 evidence for Langfuse
DeployOpen plans, implements, hardens and documents self-hosted Langfuse inside your own infrastructure, so your security and compliance teams can review the controls they need for ISO 27001. We start from the controls in your Statement of Applicability, agree the scope in writing, and hand over configuration records and evidence that your certification body can sample. DeployOpen prepares evidence but does not issue audit reports or certifications.
How we scope
- We map your Statement of Applicability to the Langfuse components that hold or process data in scope.
- We confirm which features need an Enterprise license key, such as audit logs and data retention, before design starts.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.
How we build
- We deploy Langfuse Web, Langfuse Worker, PostgreSQL, ClickHouse, Redis or Valkey and S3-compatible storage in your environment.
- We configure SSO, access roles, encryption, backups and logging against the control owners named in your ISMS.
- We check telemetry settings and the data each outbound connection carries, and record the decisions made.
How we hand over
- We deliver a control-by-control evidence pack with configuration exports, screenshots, backup test records and owner assignments.
- We document runbooks for access reviews, backup restores, upgrades and supplier reviews so your team can operate the controls.
- We walk your auditors' likely sampling requests through the evidence with your internal team before handover.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- We keep the evidence pack current as Langfuse releases change configuration, data models or SDK requirements.
- We confirm with your certification body which evidence it expects, since the final judgment on conformity is theirs.

