Claude Code compliance: SOC 2, HIPAA and the Compliance API

Claude Code can support SOC 2 and HIPAA audits only through specific plans, connections and settings. This page maps each requirement to the documented capability, the configuration and the evidence to keep.

On this page

Which Claude Code compliance requirements the tool helps with

A compliance lead or CISO deciding whether developers may use Claude Code in an audited environment needs to separate three things: vendor assurance the tool can help evidence, configuration that the organization itself must set and prove, and obligations that remain with the organization. The vendor side is covered by Anthropic's SOC 2 Type 2 report and ISO 27001 certificate, which the Claude Code security page points to through the Anthropic Trust Center at trust.anthropic.com. The HIPAA configuration under a Business Associate Agreement and the Compliance API transcripts can support evidence for specific sessions, but neither makes the organization compliant on its own. Ask Anthropic for the current report and certificate, confirm their scope covers the Claude products your developers actually use, and record the date of each document in your third-party risk file.

The HIPAA position depends heavily on how a developer signs in. The configuration applies only to Claude Enterprise accounts connected directly to the Claude API, and it covers Claude Code in local mode in the terminal and the Desktop Code tab. The VS Code and JetBrains extensions are not covered by the BAA, and Bedrock, Agent Platform, Foundry, the Claude apps gateway, LLM gateways and Console API keys are not eligible. Before approving use with protected health information, confirm each access path in writing, confirm the minimum versions your endpoints run, and check that the restricted features (WebFetch, cloud sessions, Remote Control, feedback submission and artifact publishing) are acceptable to the workflow. Only the Primary Owner can enable the Compliance API, so name that person in the rollout plan.

DeployOpen prepares systems, controls and evidence for compliance assessments, including the configuration baselines, access records and session logging that an assessor will ask to see. It does not issue audit reports, attestations or certifications. Only independent auditors and certification bodies can do that, and whether a specific Claude Code deployment meets your SOC 2, ISO 27001 or HIPAA obligations is their determination, not a product claim. Agree the evidence list and its owner with your auditor before work begins, so the team knows which vendor documents, configuration exports and Compliance API records must be retained for the audit period.

Mapping each compliance requirement to Claude Code capabilities

This table pairs each compliance requirement an assessor is likely to raise with the Claude Code capability that addresses it, the configuration it depends on, and the gap that remains. Read each row as a question to put to Anthropic and to your own environment before approval, because the HIPAA and audit-log rows apply only to specific plans, surfaces and sign-in paths. The main takeaway is that vendor reports, HIPAA coverage and session transcripts are separate controls with different eligibility rules.

RequirementClaude Code capability or plan featureConfiguration neededResidual gap
Vendor assuranceSOC 2 Type 2 report and ISO 27001 certificate referenced from the Claude Code security page through the Anthropic Trust CenterRequest the reports from the Trust Center and confirm their scope covers Claude CodeConfirm the report period, scope and any carve-outs with Anthropic before relying on them
HIPAA coverageHIPAA configuration on Claude Enterprise for organizations with a Business Associate AgreementSign the BAA, enable the HIPAA setting, require Claude Code v2.1.285 or later and Claude Desktop v2.19675.0 or laterCovers local mode in the terminal and Desktop Code tab only; VS Code and JetBrains extensions are not covered
Eligible sign-in pathDevelopers sign in with a Claude Enterprise account connected directly to the Claude APIBlock Bedrock, Agent Platform, Foundry, the Claude apps gateway, LLM gateways and Console API keys for in-scope developersAny other route falls outside the HIPAA configuration and must be assessed separately
Features disabled under HIPAAWebFetch, cloud sessions, Remote Control, feedback submission and artifact publishing are turned offConfirm the disabled features do not break approved workflows and document the changeDevelopers may seek workarounds; confirm how exceptions are handled
Zero data retention for BAA coverageZero data retention applies to Claude Code, and organizations without the HIPAA configuration still need it for BAA coverageEnable zero data retention for the organization and confirm it on the accountConfirm with Anthropic which Claude Code features and data categories zero data retention covers
Session transcript retention for auditCompliance API returns a server-hosted transcript with prompts, responses and tool call content for each covered sessionPrimary Owner enables the Compliance API under Organization settings, APICovers Claude Code in the CLI and desktop app for Claude Enterprise only; not Claude Code on the web, the Claude Platform, Bedrock, Vertex AI or Foundry
Identity attributionEach transcript carries verified user ID, email, organization ID and timestampsLink developer accounts to corporate identities before the audit period beginsConfirm how retention periods for transcripts are set and how your own export and storage process meets your record rules

Where the SOC 2 Type 2 report and ISO 27001 certificate sit

The SOC 2 Type 2 report and ISO 27001 certificate for Anthropic sit in the Anthropic Trust Center, and the Claude Code security page is the place that points to them. Start there when an auditor or internal reviewer asks for vendor assurance for Claude Code. These documents describe Anthropic's own controls over the service. They do not show that your developers are configured safely, that your managed settings are enforced, or that your code and prompts are handled the way your policies require. Treat them as one input to your third-party risk file, not as a finding that the tool is compliant in your environment.

Request access to the report through the Trust Center and read it before you rely on it. Check the report period and the systems in scope against how you actually use Claude Code. Confirm whether the scope covers the Claude Code surfaces you plan to allow (terminal, IDE extensions, Desktop Code tab, or cloud sessions) and which Anthropic platform or plan the report describes. Note any exceptions the auditor recorded and any complementary controls that Anthropic says customers must maintain. Ask your account team to confirm anything the report does not state clearly, and keep the request and the answer in your vendor file.

Then map the relevant vendor controls into your own control set and document the Claude Code configuration you operate. For each control you rely on, record which of your settings enforce it, such as sign-in restrictions, permission rules, managed settings, data retention terms and logging, and who reviews them. The assurance report cannot supply that evidence for you. Keep a dated record of the Claude Code version and configuration in use, because an auditor will ask what was true during the period under review, and the report alone will not answer that question.

Which Claude Code connections the HIPAA configuration covers

This is the only connection path that the HIPAA configuration supports. The developer signs in with a Claude Enterprise account that connects directly to the Claude API, and the organization has a Business Associate Agreement and has turned on the HIPAA configuration. Any session outside this path falls outside the configuration, even when it uses the same underlying model.

  • Sign-in type. The developer must authenticate with a Claude Enterprise account. Other account types do not meet the condition.
  • Direct connection. The account must connect straight to the Claude API, not through a cloud provider or a proxy.
  • Organization setting. The HIPAA configuration is an organization setting on Claude Enterprise, available to organizations with a Business Associate Agreement. Organizations without the configuration still need zero data retention for BAA coverage of Claude Code.
  • Minimum versions. Claude Code v2.1.285 or later and Claude Desktop v2.19675.0 or later are required before the configuration takes effect.

Check the sign-in method on each developer machine, not only the contract, because one developer who signs in with a non-Enterprise account moves that session out of scope.

How a covered Claude Code session reaches the audit trail

The path starts with a developer signed in to a Claude Enterprise account and running Claude Code in local mode, either in the terminal or the Code tab of Claude Desktop. Anthropic's servers process the session under the BAA and zero data retention settings, and the Compliance API then returns the server-hosted transcript to the organization's audit tooling. Check that the session type, sign-in route and client are all within the covered set, because the VS Code and JetBrains extensions and non-direct routes fall outside this path.

Covered path from developer session to the customer's audit store, with excluded routes shown dotted.

What the Compliance API returns for Claude Code sessions

The Compliance API covers Claude Code only in the CLI and the desktop app for Claude Enterprise. Anthropic's August 11, 2026 announcement says Claude Code on the web is not covered, nor is Claude Code used through the Claude Platform or on Amazon Bedrock, Vertex AI or Microsoft Foundry. If your developers use any of those routes, their sessions will not appear in the Compliance API export, so your audit evidence has to come from another source for them. Map each developer's access route before you tell an auditor that Compliance API records exist for the whole team.

For each covered session, the Compliance API returns a server-hosted transcript containing prompts, responses and tool call content. Each record also carries the verified user ID and email, the organization ID and timestamps. That combination lets a reviewer tie a sequence of tool calls to a named account and a time window, which is the kind of traceability access reviews and incident investigations need. Confirm with your security team how long your organization retains these transcripts and who can read them, because the transcripts may contain source code and secrets that developers pasted into prompts.

The status of the feature is inconsistent in Anthropic's own material. The update note on the announcement describes the coverage as generally available, while the body of the same announcement calls it beta. Before you rely on the Compliance API as an audit control, ask Anthropic in writing which status applies, which Claude Code surfaces are in scope on the date of your review, and what changes are planned. Only the organization's Primary Owner can enable the Compliance API under Organization settings, so confirm that person is named in your change records. Read the Compliance API coverage announcement and the Compliance API access article alongside the vendor's written answer.

What evidence to collect for auditors and how to keep it

An assessor will ask for proof of each claim your organization relies on when it approves Claude Code. The cards below cover six evidence types, who should collect each one, how often to refresh it and where to store it so that the record matches the configuration that was actually in force during the audit period.

Vendor SOC 2 Type 2 and ISO 27001

Retrieve Anthropic's SOC 2 Type 2 report and ISO 27001 certificate from the Anthropic Trust Center, which the Claude Code security page points to. Record the download date, the report period it covers, and the scope statement, and confirm whether the systems you use fall inside that scope. Ask the vendor how bridge letters are issued for the gap between the report period and your review date. Assign procurement or the GRC lead to collect it, refresh it at each renewal and each audit cycle, and store it in your vendor risk file with the date stamped on the document.

Claude Code security

Signed BAA and zero retention confirmation

Keep the executed Business Associate Agreement and written confirmation that zero data retention applies to your organization. Zero data retention matters because organizations without the HIPAA configuration still need it for BAA coverage of Claude Code. Confirm the BAA names the entities and products in use and that the effective date precedes any protected health information entering a session. Legal or privacy counsel should own this record, and it should be reviewed when the contract, product scope or Anthropic terms change.

Zero data retention docs

HIPAA configuration screenshots and exports

Capture the organization setting for the HIPAA configuration on Claude Enterprise, showing it enabled, with the date and the administrator who made the change. Pair it with a record that developers sign in through a Claude Enterprise account connected directly to the Claude API, since Bedrock, Agent Platform, Foundry, the Claude apps gateway, LLM gateways and Console API keys are not eligible. Note that the VS Code and JetBrains extensions are not covered by the BAA. Have the security team capture this quarterly and after any admin change, and store it alongside the change ticket.

HIPAA setup docs

Version inventory against minimums

Build an inventory of every installed Claude Code CLI and Claude Desktop build, and compare it to the minimums for the HIPAA configuration. Those minimums are Claude Code v2.1.285 or later and Claude Desktop v2.19675.0 or later. Include the installation method, because standard auto-update applies fixes automatically while manual updaters must upgrade themselves. Endpoint management tooling is the usual source for this export. Run it before each audit and after each release that matters to your scope, then store the report with its collection date.

Compliance API exports and enablement record

For Claude Enterprise sessions in the CLI and desktop app, the Compliance API returns a server-hosted transcript with prompts, responses and tool call content, plus verified user ID and email, organization ID and timestamps. It does not cover Claude Code on the web or on Bedrock, Vertex AI or Foundry, so document that gap. Only the Primary Owner can enable the API under Organization settings, so keep that person's written record of enablement and the date. Your security team should schedule regular exports, check that they cover the audit period, and restrict access because transcripts can contain sensitive content.

Access the Compliance API

Training and data usage opt-in status

Record whether your organization has opted into any use of prompts or code for model training, such as the Development Partner Program. Under commercial terms for Team, Enterprise, API, third-party platforms and Claude Gov, Anthropic does not train on this data unless you opt in. Capture the current status from the admin console, the date you checked it, and the name of the person who confirmed it. Repeat the check at each review and after any change to plan or terms, because an opt-in made by a developer or a partner program would change your evidence.

Data usage docs

How to configure Claude Code for a HIPAA-scoped audit

This sequence sets up Claude Code so that covered work runs on the one eligible path, the Claude Enterprise account with the HIPAA configuration, and leaves a record an auditor can check. It is a planning outline, and the exact screens must be confirmed against current vendor documentation before rollout.

  1. Confirm the BAA and Claude Enterprise plan

    The legal owner and the procurement lead confirm in writing that Anthropic will sign a Business Associate Agreement covering the Claude Enterprise organization, and that the workforce will sign in with Claude Enterprise accounts connected directly to the Claude API. Zero data retention is also needed for BAA coverage of Claude Code outside the HIPAA configuration, so confirm that arrangement too. You know this step is done when the signed BAA and the zero data retention terms are filed with the evidence owner and the plan is confirmed as Enterprise.

  2. Confirm the Primary Owner enables the Compliance API

    Only the organization's Primary Owner can enable the Compliance API, under Organization settings and then API. The security lead should confirm which Claude Code surfaces the Compliance API covers in the current Anthropic announcement, since it covers Claude Code in the CLI and desktop app on Claude Enterprise but not Claude Code on the web or on third-party cloud platforms. You know this step is done when the Primary Owner records the change and the coverage boundary is written into the audit scope.

  3. Enable the HIPAA configuration and confirm local mode

    An administrator turns on the HIPAA configuration as an organization setting on Claude Enterprise. Confirm with the vendor's HIPAA setup documentation that the configuration turns off WebFetch, cloud sessions, Remote Control, feedback submission and artifact publishing, and that developers covered by the audit use Claude Code in local mode in the terminal or the Desktop Code tab. You know this step is done when a test sign-in shows the setting active and the covered developers are on the approved surfaces.

  4. Block ineligible connections and IDE extensions

    For covered work, the platform team removes or blocks the connections the HIPAA configuration does not cover: Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, the Claude apps gateway, LLM gateways and Console API keys. The VS Code and JetBrains extensions are also outside the BAA, so they must be kept out of covered projects. Use managed settings where your tooling supports them and confirm the restriction with the vendor's current documentation. You know this step is done when a configuration review finds no eligible-path exceptions for covered repositories.

  5. Enforce minimum Claude Code and Desktop versions

    The HIPAA configuration requires Claude Code v2.1.285 or later and Claude Desktop v2.19675.0 or later. The endpoint team sets these as minimum versions through the organization's software distribution or device management tooling, and confirms that managed machines cannot run older builds. Because published advisories are fixed in specific releases, review the vendor's security advisories on a recurring basis as well. You know this step is done when a device inventory report shows every covered machine at or above both minimums.

  6. Document decisions and assign evidence owners

    The compliance lead writes down the scope, the eligible sign-in path, the excluded surfaces, the Compliance API coverage boundary and the version floor, then assigns an owner for each evidence item: the BAA, the zero data retention terms, the HIPAA setting screenshots, the device version report and the Compliance API transcript exports. Anthropic's SOC 2 Type 2 report and ISO 27001 certificate are obtained from the Trust Center, and the organization's own auditor decides how to rely on them. You know this step is done when every evidence item has a named owner and a storage location that the auditor can access.

What Claude Code does not cover for these audits

The vendor reports and configuration options for Claude Code cover a narrower set of connections and controls than the tool's name suggests. Each card below marks a boundary that an auditor or privacy reviewer will test, and says what your team must confirm, close or document before it accepts the gap.

Web and cloud sessions sit outside

Under the HIPAA configuration, Claude Code on the web and cloud sessions are turned off, and the Compliance API does not cover Claude Code on the web. Any workflow that depends on cloud sessions therefore has no BAA-eligible configuration and no server-hosted transcript for review. Confirm with developers which workflows use cloud sessions, block them through policy where required, and record the decision in your control matrix.

HIPAA setup docs

IDE extensions are not covered

The Business Associate Agreement covers Claude Code in the terminal and the Desktop Code tab. The VS Code and JetBrains extensions are not covered by the BAA, even though developers often reach for them first. Treat them as out of scope for protected health information, check which extensions are installed on managed machines, and state the restriction in your acceptable use guidance.

Third-party cloud paths fall outside

Claude Code routed through Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry is not eligible for the HIPAA configuration, and the Compliance API does not cover those platforms either. The same applies to the self-hosted Claude apps gateway, LLM gateways and Console API keys. If your architecture depends on one of these routes for residency or cost reasons, you need a separate compliance assessment for that path.

Vendor reports do not replace testing

Anthropic's SOC 2 Type 2 report and ISO 27001 certificate, found through the Trust Center, describe Anthropic's own controls. They do not test how your organization configures sign-in, managed settings, logging, or retention. Your auditor will still need evidence from your side, such as exported managed settings, access reviews and sampled logs. Ask your auditor which of these artifacts they will accept as your evidence.

Claude Code security page

Endpoint versions and local permissions

Claude Code runs on developer machines, so the version installed and the permission choices made locally decide much of the actual risk. Published advisories describe fixes that reach users on standard auto-update, while manual updaters must upgrade themselves. Confirm which installation method each machine uses, check the installed version against the advisories, and decide whether permission modes are fixed by managed settings or left to the developer.

Claude Code advisories

Prompt injection risk stays with you

Prompt injection can arrive through repositories, web pages and MCP servers, and it can change what an agent reads or runs. Vendor safeguards reduce this risk but do not remove it, and the safeguards differ by permission mode. Include prompt injection in your risk register for Claude Code, define which repositories and MCP servers are approved, and document who reviews agent actions that touch regulated data.

Questions buyers ask before outside help on Claude Code compliance

Can our team set up the HIPAA configuration for Claude Code without outside help?

Yes, a capable internal team can work through the HIPAA setup steps itself, but the work is more than a settings change. The configuration applies only when developers sign in with a Claude Enterprise account connected directly to the Claude API, and it turns off several features such as WebFetch, cloud sessions and Remote Control. Your team must also confirm that each developer's Claude Code and Claude Desktop versions meet the minimums in Claude Code HIPAA setup, and that the VS Code and JetBrains extensions are kept out of scope. Outside help is most useful when you need the evidence and the control mapping organized for an assessor.

What drives the effort of a Claude Code compliance engagement?

Effort rises with the number of connections in use, since each eligible or ineligible path (direct Enterprise sign-in, Bedrock, Foundry, Console API keys, gateways) needs its own treatment. It also rises with the number of developers and endpoints you must verify, the audit tooling you already run, and how many control frameworks apply, such as SOC 2, HIPAA and internal policy. A team with one approved sign-in path and existing evidence collection will need less work than one with mixed connections across several frameworks. Ask any provider to list each connection and framework in the written scope before estimating effort.

What do we need to provide before the engagement starts?

You will need access for the person who holds the Primary Owner role, since only that role can enable the Compliance API under Organization settings, API. You also need someone who can enforce configuration on developer machines, usually through an endpoint management tool, and named audit owners who can accept the evidence and control mappings. Plan for the Primary Owner to be reachable during the agreed work windows, because settings changes and verification depend on that role. Confirm these roles and their availability in the scope document before work begins.

How long does a Claude Code compliance engagement take?

Duration depends on the same drivers as effort: the number of connections, developers and endpoints, the frameworks in scope, and how quickly your audit owners and Primary Owner can respond. Because engagements are fixed-scope, the timeline is agreed in writing with the deliverables before work starts, and it should be tied to specific milestones such as configuration verification and evidence handover. Ask for a timeline that lists the client dependencies and the dates on which each one must be met. No general duration applies to every organization.

Does DeployOpen issue a SOC 2 report, ISO 27001 certificate or HIPAA certification?

No. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. For Claude Code, the SOC 2 Type 2 report and ISO 27001 certificate are Anthropic's documents, available through the Anthropic Trust Center referenced on the Claude Code security page, and your own organization's assessor will decide what they cover for your environment. Your engagement scope should state exactly which evidence DeployOpen prepares for your auditor.

What does a quote for this work depend on?

A quote follows from the written scope, because DeployOpen does not publish a price list. The scope should name the Claude Code surfaces in use (terminal, IDE extensions, Desktop Code tab, cloud sessions), each sign-in and cloud path, the number of developers and endpoints, the control frameworks to be supported, the Compliance API decision, and the deliverables and client responsibilities. Cost components are typically the configuration and verification work, evidence preparation, and any ongoing support or retainer you choose. Ask for each component to be priced separately, and identify which parts are one-time and which recur.

Can the Compliance API cover all of our Claude Code usage?

Not necessarily. Anthropic's Compliance API coverage announcement says it covers Claude Code in the CLI and desktop app for Claude Enterprise, but not Claude Code on the web, through the Claude Platform, or on Bedrock, Vertex AI or Foundry. For each covered session it returns a server-hosted transcript with prompts, responses and tool call content, along with verified user ID, email, organization ID and timestamps. Before scoping, confirm with the vendor which surfaces and connections your developers use, and whether the feature's availability label matches your procurement requirements.

How DeployOpen helps teams prepare Claude Code for audit review

DeployOpen helps organizations prepare the controls, configuration and evidence that an assessor will ask for when Claude Code is in use. We do not issue audit reports, attestations or certifications; independent auditors and certification bodies do, and we work from the written scope agreed with your team.

How we scope

  • We confirm which Claude Code surfaces staff use: terminal, IDE extensions, Desktop Code tab or cloud sessions.
  • We map each connection path to its eligibility for HIPAA coverage before any configuration work starts.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.

How we build

  • We prepare the HIPAA configuration on your Claude Enterprise organization where your BAA applies, with the required client versions.
  • We document which features the HIPAA configuration disables and how your developers will be informed of them.
  • We set up Compliance API transcript retrieval for in-scope sessions and test that the returned records meet your evidence needs.

How we hand over

  • We deliver a written control map linking each assessor question to a setting, a log source or a policy owner.
  • We provide the evidence package, including configuration exports, version records and retention settings, with an explanation of each item.
  • We list the gaps that remain, such as surfaces outside the Compliance API or the BAA, so your auditor sees them stated plainly.

How we support

  • We review the Claude Code security advisories with you and confirm that managed machines receive the fixes that apply.
  • Ongoing support, upgrades and continuous testing are available as retainers, so the evidence stays current as versions change.
  • We can rerun the configuration checks when your BAA, plan or deployment changes, and update the control map to match.

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.