Sourcegraph Cody security certifications: SOC 2 and ISO 27001

Sourcegraph publishes an ISO/IEC 27001:2022 certificate and cites an existing SOC 2 Type II attestation, but the ISO scope covers only some Enterprise offerings and Cody features, so reviewers must confirm scope per deployment. Certificates are posted in the Security Portal.

On this page

Does Sourcegraph Cody have SOC 2 and ISO 27001 evidence for an enterprise review?

A security team deciding whether engineers may send proprietary code through Cody needs attestation evidence before anything else. Sourcegraph reports that it achieved ISO/IEC 27001:2022 certification, announced on April 9, 2025, and that this joins its existing SOC 2 Type II attestation. Both apply to named Enterprise offerings and listed Cody features, not to the whole product by default. The ISO 27001 scope names Enterprise Self-Hosted, Enterprise Cloud and Enterprise Starter, and lists Cody's Chat, Autocomplete and Prompt Library alongside the Code Search features Search, Batch Changes and Code Insights.

This evidence helps with vendor assurance, third-party risk intake and the code confidentiality review, because it shows that Sourcegraph operates an audited information security management system for the in-scope offerings. It does not cover the controls you run yourself on a self-hosted instance, such as network egress, access groups, audit log retention and repository permissions. It also does not cover the model provider you configure for Cody, which determines where prompts and code context go, or data retention, which is a separate question. Confirm each of these with the vendor, and do not treat the certificate as a statement about HIPAA. Request the SOC 2 report and read its scope and period sections before you rely on it, and check that the Enterprise deployment you buy appears in both the SOC 2 and ISO 27001 scope.

Which attestation covers which Cody requirement and what the organization configures

This table maps each assurance point to the vendor evidence behind it, the Cody scope it applies to, and what the organization must still configure or document itself. Read the scope column before relying on a certificate, because a certification only covers the offerings and features named in its scope. The main takeaway is that the ISO 27001 scope names Cody Chat, Autocomplete and Prompt Library, while LLM provider calls and the organization's own infrastructure fall outside it unless the provider is named.

Assurance pointVendor evidence and Cody scopeWhat the organization must still provide
ISO/IEC 27001:2022 certificationAnnounced April 9, 2025. Scope lists Enterprise Self-Hosted, Enterprise Cloud and Enterprise Starter, and names Cody Chat, Autocomplete and Prompt LibraryConfirm the certificate and scope statement in the Security Portal, and check that your deployment type and Cody features are listed
SOC 2 Type II attestationSourcegraph states it holds SOC 2 Type II. Scope of Cody features is not confirmed in the vendor's ISO materialRequest the current report and read its system description to confirm which products and Cody features it covers and the testing period
GDPR and CCPA compliance statementVendor statement only. Sourcegraph says it complies with GDPR and CCPA. This is not a certification or audit resultExecute a data processing agreement with Sourcegraph and document your own lawful basis, transfers and retention decisions
No training on Enterprise dataVendor commitment in the Cody FAQ: Sourcegraph will not train on an Enterprise customer's dataKeep the commitment in your contract, since a FAQ statement alone may not bind the vendor, and record it in your vendor file
LLM provider pathWithout overrides, requests route through Cody Gateway. Provider overrides send requests to your own keys or an OpenAI-compatible endpoint, which sit outside Sourcegraph's certification scope unless the provider is named thereChoose the provider, obtain its own attestations and terms, and document which provider handles prompts for each Cody deployment

How to read the ISO 27001 scope for Cody features

A certified scope is the part of the certificate that matters most for a Cody review, so read it before relying on the headline. Sourcegraph's ISO 27001 scope names three Enterprise offerings: Enterprise Self-Hosted, Enterprise Cloud and Enterprise Starter. It names the Cody features Chat, Autocomplete and Prompt Library, and it names the Code Search features Search, Batch Changes and Code Insights. A buyer should treat that list as the boundary of the attestation. Anything the scope does not name is not covered by this certificate, whatever the vendor's marketing says about the platform as a whole.

The scope contains a conflict that you must resolve in writing. Sourcegraph's Cody FAQ states that from July 23, 2025 Cody is no longer available on the Enterprise Starter plan, yet the ISO 27001 scope still lists Enterprise Starter as an offering. Ask Sourcegraph which Cody features, if any, fall under Enterprise Starter in the certified scope, and ask for the date the scope was last reviewed. Record the answer in your vendor file. If the answer is that no Cody feature is covered under Enterprise Starter, a Starter-tier purchase cannot rely on the certificate for Cody.

Do not assume that every Cody surface is listed. The scope names Chat, Autocomplete and Prompt Library, but it does not, on the text supplied, name IDE clients, the admin console or the model provider configuration that routes requests to external LLM services. Ask Sourcegraph to confirm each surface your developers use, the deployment option (Enterprise Self-Hosted or Enterprise Cloud) that it applies to, and whether the certificate covers the Sourcegraph instance or only the vendor's operations. Then compare the answers against the Sourcegraph blog post announcing the certification and the certificate itself in the Security Portal.

Which Enterprise deployment option your evidence covers

Enterprise Self-Hosted is one of the three Enterprise offerings named in Sourcegraph's ISO 27001 scope. The scope covers Sourcegraph's management of this offering, including the Cody features Chat, Autocomplete and Prompt Library, along with the Code Search features Search, Batch Changes and Code Insights. The certificate does not cover the servers, network, identity provider or logs your organization runs around the instance.

  • Scope inclusion: The offering is listed in the scope that accompanied Sourcegraph's ISO 27001:2022 announcement, so confirm the exact scope wording in the certificate itself.
  • Cody features in scope: Chat, Autocomplete and Prompt Library are named in the scope for this offering.
  • Hosting and patching: Confirm which team runs the instance, the operating system, database and container hosts, and who applies Sourcegraph releases.
  • Access and logs: Confirm single sign-on, role mapping, administrator accounts and how long audit logs are kept in your own systems.
  • Outbound traffic: The Cody FAQ says self-hosted instances need internet access to reach external LLM services, so confirm the egress rules and which model endpoints they allow.

Before approval, ask Sourcegraph for the certificate and scope statement from its Security Portal, then compare the scope against the exact deployment you plan to run. Your own controls are evidence in your assessment, not part of Sourcegraph's certificate.

Where the certified scope ends in a self-hosted Cody request

The request starts with a developer's client talking to the organization's own self-hosted Sourcegraph instance, which sits inside the organization's network and controls. When Cody needs a model, the request leaves that network over an outbound path to either Cody Gateway (the default) or a provider the organization configured with its own keys. Sourcegraph's ISO 27001 scope names Cody Chat, Autocomplete and Prompt Library, so those features are the part attested. The model provider's own terms, retention and location govern what happens after the hand-off, and the organization's firewall, egress and key management govern the path. Check the attestations in Sourcegraph's Security Portal and confirm the provider's terms separately.

The certified Cody scope covers Sourcegraph-side components only; provider hand-offs fall outside it.

What evidence to collect from Sourcegraph and keep for the file

Six artifacts cover the vendor's attestations, the scope they apply to, and the configuration choices your organization made. Keep each one dated, because the certificate, the report and the Cody plan terms each change on their own schedule and an approval is only as current as its weakest item.

ISO/IEC 27001:2022 certificate and scope

Download the certificate and its scope statement from Sourcegraph's Security Portal at security.sourcegraph.com. Check that the scope names the Enterprise offering you buy, Enterprise Self-Hosted, Enterprise Cloud or Enterprise Starter, and that it lists Chat, Autocomplete and Prompt Library among the Cody features. A certificate without that scope line does not cover Cody for your deployment. Store the PDF with the date you downloaded it and the certification body named on it.

Sourcegraph ISO post

SOC 2 Type II report and bridge letter

Request the current SOC 2 Type II report through the Security Portal or your account team, and ask in writing for a bridge letter covering the gap between the report period end and today. Read the system description to confirm Cody and the self-hosted deployment model fall inside the examined system, and note any carve-out for subservice providers such as model vendors. Confirm with the vendor whether the bridge letter is available, since it is not a standard published item.

Vendor announcement of the certification

Keep a dated copy of Sourcegraph's April 9, 2025 blog post announcing ISO/IEC 27001:2022 certification. It is the vendor's own statement, not an independent document, so use it to record when the claim was made and what it said, then rely on the certificate and scope for the actual coverage. Re-check the post and the Security Portal when you renew approval, since a later announcement may change the scope.

Cody FAQ and model configuration captures

Save dated copies of the Cody FAQ and the model configuration documentation, then record which provider path your instance uses: Cody Gateway by default, or an override to your own keys or an OpenAI-compatible endpoint. The FAQ states that Cody needs internet access to reach external LLM services on self-hosted instances. Capture the page versions you relied on, because the list of supported providers changes over time.

Model configuration docs

Written confirmation of contracted features and offerings

Ask Sourcegraph for written confirmation of the Enterprise offering, deployment model and Cody features your contract covers. The pricing page lists an Enterprise plan with single-tenant cloud and self-hosted options but does not name Cody, so the order form or an addendum must carry that scope. Check it against the certificate scope line by line, and flag any feature in use that the contract does not name, such as Deep Search credits.

Your record of provider keys and endpoints

Keep your own log of every model provider key, endpoint and override configured on the instance, with the date each was set, who approved it and which Cody features use it. Auditors will compare this record with the vendor's provider list and your data flow diagram. Update the log whenever a key rotates or a provider is added, and tie the periodic review to the date of the vendor's certificate renewal so the evidence stays aligned.

How to verify Cody's certifications before approving it

This sequence turns Sourcegraph's certification claims into evidence your team can file, showing which attestation covers which Cody feature and deployment, and where the approval stops. Each step names who owns it and what it produces.

  1. Retrieve the ISO 27001 certificate and scope

    Procurement or the security team opens Sourcegraph's Security Portal at security.sourcegraph.com and downloads the ISO/IEC 27001:2022 certificate and its scope statement. Read the scope document line by line, not the marketing summary. Confirm that it names Enterprise Self-Hosted, Enterprise Cloud and Enterprise Starter, and that Cody Chat, Autocomplete and Prompt Library are listed. Done when the certificate, its validity dates and the scope text are saved to your vendor file.

  2. Request the SOC 2 Type II report under NDA

    Procurement sends a written request for the SOC 2 Type II report through Sourcegraph's sales or security contact, and the security team signs the required non-disclosure agreement. The security reviewer then reads the auditor's opinion, the system description, the list of in-scope services and the observation period. Confirm whether Cody and the Enterprise deployment you plan to buy appear in that scope. Done when the report is on file with a note on its period and any exceptions the auditor recorded.

  3. Confirm Cody features and offering in the order form

    Procurement checks the draft order form or statement of work and asks Sourcegraph to state in writing which Enterprise offering and which Cody features the contract includes. Compare that list against the ISO 27001 scope, which names Chat, Autocomplete and Prompt Library, and against any Cody feature your team intends to enable. Anything outside the certified scope should be flagged for a written answer. Done when the order names the same offering and features that the attestations cover.

  4. Resolve the Enterprise Starter scope question

    If your deal is on Enterprise Starter, the security team asks Sourcegraph to confirm in writing how the SOC 2 report and the ISO 27001 scope apply to that tier, since the ISO scope lists it by name but the SOC 2 coverage must be checked in the report itself. Ask the same question for the deployment model you choose. Record the answer and the person who gave it. Done when the vendor's written answer matches the scope you have read.

  5. Collect attestations from every LLM provider in use

    The platform team lists each model provider the organization intends to route Cody through, such as Cody Gateway, an OpenAI-compatible endpoint, Azure OpenAI, Amazon Bedrock or Anthropic, based on the provider overrides in your self-hosted instance. Sourcegraph's certifications do not cover those providers. Security collects each provider's own SOC 2, ISO or other attestations and its data processing terms. Done when every provider on the list has an entry in the vendor file with its evidence and the reviewer's initials.

  6. Record the decision and its scope

    The security or compliance lead writes an approval memo that names the Sourcegraph offering, the deployment model, the Cody features enabled, the certificate and report periods reviewed, and the approved model providers. The memo also states what the approval does not cover, such as any provider not on the list or any feature outside the scope. Set a review date when the certificate or report renews. Done when the memo is signed and linked from the tool's entry in your AI register.

What the certifications do not cover for Cody

A SOC 2 report and an ISO 27001 certificate describe how a vendor operates its controls within a defined scope. They do not decide what your organization sends to Cody, which model provider receives the requests, or how your own environment is configured. The cards below list what the reviewer must still obtain, confirm or configure before approving Cody for regulated code or data.

Data retention and deletion

The certifications say nothing about how long Cody or its model providers keep prompts, context snippets and completions, or how deletion requests are handled. The Cody FAQ states that Sourcegraph will not train on Enterprise customer data, but retention periods and deletion terms belong in your contract and data terms. Ask for the written retention and deletion commitments that apply to your Enterprise plan, and confirm them against the scope of your review.

Cody FAQ

HIPAA and BAA coverage

SOC 2 and ISO 27001 are security attestations, not HIPAA eligibility. Neither one means Sourcegraph signs a business associate agreement for Cody, and neither shows that Cody is appropriate for protected health information. If patient data could reach Cody, obtain the vendor's written position on a BAA and treat the attestations as supporting evidence only.

LLM provider and its certifications

Cody sends requests to whichever model provider the instance uses. Without provider overrides, requests route through Cody Gateway, while self-hosted instances can point to your own keys or an OpenAI-compatible endpoint. Sourcegraph's attestations do not cover those providers, so the reviewer must obtain each chosen provider's own terms, certifications and data handling commitments.

Model configuration docs

Your self-hosted infrastructure

For a self-hosted Sourcegraph instance, the attestations cover Sourcegraph's operation of its product, not your servers, network, backups or patch cadence. Self-hosted instances also need internet access to reach external LLM services, so egress rules, proxies and allowed destinations must be reviewed by your own security team. Document who operates the host, where the code index lives and how upgrades are applied.

Access control, logging and patching

Certifications do not configure who can use Cody, which repositories it can read or whether admin actions are logged. Confirm that single sign-on, role-based access to repositories, audit logging of Cody usage and the process for applying Sourcegraph releases match your access policy. These are controls your organization owns, and an auditor will ask for evidence of each one.

SOC 2 exceptions and user entity controls

A SOC 2 Type II report lists the tests performed, any exceptions found and the complementary user entity controls (CUECs) that the vendor expects customers to operate. Read the exceptions for relevance to Cody and map every CUEC to a named control in your own program. Also check the report period and the systems in its scope, since a feature or client outside those boundaries is not covered.

ISO 27001 announcement

Questions buyers ask about Cody's SOC 2 and ISO 27001 evidence

Is the ISO 27001 certificate alone enough for a vendor security review?

No. The ISO 27001 certificate shows that Sourcegraph operates an information security management system within a defined scope, but it does not show how your deployment is configured, who has access to your code, or how your model traffic is handled. Sourcegraph announced on April 9, 2025 that it had achieved ISO/IEC 27001:2022 certification, and that ISO 27001 joins its existing SOC 2 Type II attestation and its GDPR and CCPA compliance. Treat the certificate as one input. Read the scope statement first, then pair it with the SOC 2 report and your own review of the deployment and model provider settings.

Does a self-hosted Sourcegraph instance inherit Sourcegraph's certifications?

No. Sourcegraph's certifications describe Sourcegraph's own operations and the offerings named in each scope. Your self-hosted instance runs in your infrastructure, under your identity provider, storage, network rules and backups, and it sends requests to model providers you configure. The organization must evidence its own controls for those parts. Ask Sourcegraph to confirm in writing which Enterprise offerings the ISO 27001 scope covers and which parts remain your responsibility. Then map each remaining control to a named owner and a piece of evidence from your environment.

What should we check in the SOC 2 report before accepting it?

Check the report type, the period it covers, the system description and the scope of services. A Type 2 report covers operating effectiveness over a period, which is usually more useful to a reviewer than a point-in-time view. Confirm that the system description includes Cody and the deployment options you plan to buy, not only the wider Sourcegraph platform. Read the complementary user entity controls section, since it lists the controls your organization must run. Note any exceptions the auditor recorded and whether Sourcegraph has responded to them. Confirm the report date is recent enough for your review cycle.

Who can access Sourcegraph's certificates and reports, and on what terms?

Sourcegraph says its certifications can be viewed and downloaded in its Security Portal at security.sourcegraph.com. Access terms for the full SOC 2 report are not stated in the material supplied for this page, so confirm them with Sourcegraph before your review starts. Ask whether the report requires an NDA, whether you can share it with your auditors and outside consultants, and whether a bridge letter is available for the period between the report end date and today. Record the answers in your vendor file so the access basis is documented.

What can our own team do, and what might need outside help?

Your internal team can collect the certificates and the SOC 2 report, read the ISO 27001 scope, list the Cody features and deployment options in use, and record which model providers each instance calls. These steps need security, procurement and engineering time but no outside specialist. Outside help is more useful for control mapping across your own environment, hardening a self-hosted instance, and assembling an evidence pack that an external auditor will accept. Decide early which of these work you will keep in house, because the split drives the scope of any external engagement.

What drives the effort of evidencing Cody in our environment?

Three factors drive most of the effort. The first is the number of deployments, since each self-hosted instance needs its own evidence of access control, logging and backup. The second is the number of model providers, because each provider you configure adds a data flow, a contract and a retention question that the reviewer will ask about. The third is scope disputes, where the vendor's scope, the features you use and the deployment type do not line up. Narrowing the features in use and documenting one standard configuration usually reduces the work for all three.

What should a consultant's engagement require from us in writing?

A consultant needs a written scope before work starts. That scope should name the Cody features and Sourcegraph deployment options in use, the instances and environments in scope, the model providers and their contract status, the controls to be mapped and the evidence formats expected by your auditor or reviewer. It should also list who on your side provides access, approves findings and owns remediation. DeployOpen plans and delivers most engagements as fixed-scope work, with scope, deliverables and timelines agreed in writing before work starts. Fees and timelines follow from that written scope, so ask for the scope first.

How DeployOpen helps teams evidence a self-hosted AI coding assistant

DeployOpen helps security and compliance teams turn a self-hosted AI coding assistant into evidence they can review, whether the platform is Sourcegraph Enterprise or an open-source alternative in the organization's own infrastructure. We scope the controls, build and document the deployment, and support it after handover, without issuing any audit report or certification ourselves.

How we scope

  • We agree the written scope with you before work starts, including which deployment and Cody features are in view.
  • We map which parts of the stack your auditor or security reviewer will ask about, such as access, logging and model routing.
  • We confirm with you which attestation reports and certificate scopes you need to request from the vendor.

How we build

  • We deploy the self-hosted platform in your cloud account, data center or air-gapped network with SSO and access control.
  • We configure audit logging and model provider settings so every outbound LLM request is traceable to an approved endpoint.
  • We test the setup for credential handling, permissions and data exposure, and deliver a findings report with fixes and a retest.

How we hand over

  • We document the architecture, data flows, configuration and control owners in a form your compliance team can review.
  • We prepare the evidence package your auditor requests, such as configuration exports, access reviews and log samples.
  • We walk your security and platform teams through operating the deployment, so ownership sits with your staff.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, so evidence stays current after each release.
  • We re-run controls and tests when the model provider, Cody feature set or network boundary changes.
  • We can update evidence for your next assessment, with the scope and dates agreed in writing in advance.

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.