OpenAI Codex compliance: SOC 2, HIPAA and DPA

What OpenAI documents about SOC 2, HIPAA business associate agreements and DPAs for Codex, which gaps a reviewer must raise with OpenAI, and what evidence to collect.

On this page

OpenAI Codex compliance: what the documented SOC 2, HIPAA and DPA terms cover

A security or compliance lead approving Codex for a regulated team should start with three documented facts from OpenAI's enterprise privacy page. OpenAI states that ChatGPT Business, Enterprise, Edu and Healthcare have each completed a SOC 2 Type 2 audit, and that the API is audited for SOC 2 Type 2. OpenAI states that it can sign a Business Associate Agreement for the API on request, but it does not state BAA availability for Business, Enterprise or Edu. Business, Enterprise and API customers can execute a Data Processing Addendum through OpenAI's DPA form. The practical consequence is that the SOC 2 report covers the platform, not the Codex feature set specifically, and HIPAA coverage is not documented for a ChatGPT-plan Codex deployment.

The SOC 2 reports help a reviewer evidence the vendor side of third-party risk management, such as the vendor's own security controls and availability and confidentiality commitments. They do not show how your staff configure Codex. Your team still needs to evidence its own controls: who holds Codex seats, which sandbox and approval settings are enforced, and how Codex activity is retained. OpenAI's help article states that Codex usage, including cloud-delegated usage, is available through the Compliance API, so confirm with OpenAI which events that API exposes and how long your organization must keep them. OpenAI's enterprise privacy page lists Codex in its product navigation but gives no Codex-specific data handling terms, so the retention, training and region terms for Codex prompts and code must be requested in writing.

Several gaps must go to OpenAI before approval. Ask whether a BAA covers Codex on any ChatGPT plan, or whether regulated workloads must use the API, and what that means for protected health information in repositories and prompts. Ask for the current SOC 2 Type 2 report under confidentiality terms, and for the scope and period it covers. Ask which Codex features fall outside the audit or the DPA. DeployOpen plans and prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies provide those, so the assessment must be scheduled with your own auditor.

Mapping SOC 2, HIPAA and DPA requirements to Codex plans and configuration

This table maps each compliance requirement a reviewer raises to what OpenAI documents for the ChatGPT plans and API that Codex runs on, what the client controls, and what to confirm in writing. Read the status column first: several items are documented for the general product but not for Codex specifically, and those gaps should be closed with OpenAI before approval.

RequirementDocumented OpenAI positionConfiguration the client controlsStatus to confirm with OpenAI
SOC 2 Type 2 coverage: ChatGPT BusinessOpenAI's enterprise privacy page states that ChatGPT Business has completed a SOC 2 Type 2 audit.Confirm which workspace plan the team buys and that Codex is used only within that workspace.Ask for the current report and its scope date, and whether Codex is inside the audited boundary.
SOC 2 Type 2 coverage: ChatGPT EnterpriseThe enterprise privacy page states that ChatGPT Enterprise has completed a SOC 2 Type 2 audit.Keep Codex cloud off until the workspace owner enables it, since it is off by default for Enterprise workspaces.Ask whether the audit covers Codex cloud tasks and the Codex CLI and IDE extension, not only chat.
SOC 2 Type 2 coverage: Edu and HealthcareThe enterprise privacy page states that ChatGPT Edu and Healthcare have each completed a SOC 2 Type 2 audit.Confirm the account type matches the data in scope before use.Confirm whether the Healthcare audit scope matches the Enterprise scope.
SOC 2 Type 2 coverage: APIThe enterprise privacy page states that the API is audited for SOC 2 Type 2.If Codex runs on API keys, record which key and project are used and who owns them.Ask whether the API audit covers the endpoints Codex calls and whether a current report is available.
BAA availability by planThe enterprise privacy page states that OpenAI can sign Business Associate Agreements for the API on request. It does not state BAA availability for Business, Enterprise or Edu.Do not send protected health information through any Codex path until a signed BAA covers that path.Ask in writing whether a BAA can cover ChatGPT Business, Enterprise, Edu or Healthcare, and which Codex surfaces fall under it.
DPA executionBusiness, Enterprise and API customers can execute a Data Processing Addendum through OpenAI's DPA form, according to the enterprise privacy page.Route the signed DPA to procurement and record the version and signatory.Confirm the DPA covers Codex processing, including cloud tasks, and whether sub-processor and transfer terms apply.
Codex-specific data handling termsThe enterprise privacy page lists Codex in its product navigation but gives no Codex-specific data handling terms. OpenAI does not train on business data by default, per the same page.Document which code, prompts and repository content leave the endpoint, and which settings the team has changed.Request written Codex data handling terms covering retention, training use, and storage of cloud task content.
Compliance API coverage of Codex and cloud-delegated usageOpenAI's help article on using Codex with a ChatGPT plan states that Codex usage, including cloud-delegated usage, is available through the Compliance API.Assign an owner to export Compliance API records and set a review cadence.Confirm which event types, retention period and export formats apply to Codex CLI, IDE and cloud tasks.
Codex cloud availabilityCodex cloud is available to eligible Plus, Pro, Business, Enterprise, Healthcare and Education accounts, and is off by default for Enterprise workspaces until enabled.Keep Codex cloud disabled until the compliance review and DPA are complete, then enable it deliberately.Ask whether the Enterprise admin setting that enables Codex cloud is logged and who can change it.

Which Codex surface falls under which OpenAI compliance document

When a developer runs the Codex CLI and signs in with a ChatGPT plan, prompts, code context and model responses travel through the ChatGPT service, so the plan's terms and OpenAI's enterprise privacy commitments are the documents to read. The openai/codex repository is Apache-2.0 licensed, which lets your security team audit the client code. That license covers the code only. It does not extend OpenAI's audit scope to the model or the processing behind it.

  • SOC 2 scope: OpenAI states that ChatGPT Business, Enterprise, Edu and Healthcare have each completed a SOC 2 Type 2 audit. The privacy page lists Codex in its navigation but gives no Codex-specific terms, so ask OpenAI which report covers the CLI session path.
  • DPA route: Business and Enterprise customers can execute a Data Processing Addendum through OpenAI's DPA form. Confirm that the signed addendum covers Codex usage.
  • BAA position: OpenAI's privacy page does not state BAA availability for Business, Enterprise or Edu. Do not assume protected health information may enter a ChatGPT-signed-in session under a BAA.
  • Individual plans: The supplied statements name Business, Enterprise, Edu and Healthcare. Ask OpenAI whether Free, Go and individual Plus or Pro accounts fall under the same audit and DPA terms.

Before approving this path, get OpenAI's written answer on the audit report, DPA coverage and BAA position for the specific plan your staff will use.

Evidence auditors will ask for and how to keep it

An assessment of Codex compliance is only as good as the records behind it. The cards below list the documents and exports a reviewer will request, where each should be stored, and who keeps it current, since several of these items come from OpenAI and several must be produced by your own team.

OpenAI SOC 2 Type 2 reports

OpenAI's enterprise privacy page states that ChatGPT Business, Enterprise, Edu and Healthcare have each completed a SOC 2 Type 2 audit, and that the API is audited for SOC 2 Type 2. Request the current report for each product you rely on through OpenAI's trust channels, confirm the audit period covers the months you use Codex, and check whether Codex itself appears in the scope. Store the report in your third-party risk file with its audit period and expiry. Procurement should own the renewal request, and security should review any exceptions the report lists.

OpenAI enterprise privacy

Executed Data Processing Addendum

Business, Enterprise and API customers can execute a Data Processing Addendum through OpenAI's DPA form. Keep the signed copy with its execution date, the entity that signed, and the products it covers. Because the enterprise privacy page gives no Codex-specific data handling terms, record in the file which Codex paths your data takes and confirm with OpenAI in writing that the DPA applies to them. Legal owns the file, and the renewal date should follow your contract cycle.

Signed BAA for the API

OpenAI's enterprise privacy page states that OpenAI can sign Business Associate Agreements for the API on request. It does not state BAA availability for Business, Enterprise or Edu. If a Codex workflow will touch protected health information, confirm in writing which surface, if any, a BAA covers before any PHI is sent. Keep the executed BAA with its date and the list of API projects or keys it covers. Privacy and compliance should own this item and review it whenever the Codex workflow changes.

Compliance API exports

OpenAI's help article states that Codex usage, including cloud-delegated usage, is available through the Compliance API. Schedule exports on a fixed cadence, store them in write-once or access-restricted storage, and record the workspace and date range in each file name. Confirm with OpenAI which fields are included and how far back exports reach before you rely on them as evidence. Security operations should own the export job and test a restore or read-back periodically.

Codex plan help article

Managed configuration under version control

Admin-enforced Codex settings, such as the requirements file and sandbox or approval policy, are only evidence if you can show what was in force on a given date. Keep the managed configuration files in a git repository with protected branches, require review for changes, and tag each approved release. Export the admin rollout settings from the admin console on the same schedule so the repository and the live tenant can be compared. The platform team should own the repository, and the change approver should be named in each commit.

Codex admin rollout guide

Dated advisory review record

OpenAI publishes Codex security advisories in the openai/codex repository's security advisories section. Keep a dated log that lists each advisory reviewed, the affected and fixed versions you found, the versions your team runs, and the decision taken, such as upgrade, mitigate or accept. Show that the review happened on a set schedule and before any new rollout. Security engineering should own the log, and the reviewer should sign off each entry so an auditor can trace the decision.

openai/codex on GitHub

Sequence for preparing Codex compliance evidence

This sequence turns an open question about Codex compliance into a documented position: which plan and workspace hold access, what OpenAI has committed to in writing, what remains a gap, and how your own controls and monitoring cover the rest.

  1. Confirm the plan and workspace for Codex

    Your IT or procurement team confirms which ChatGPT plan or API arrangement will hold Codex use, and whether that account is a Business, Enterprise, Edu or Healthcare workspace. OpenAI's help article on using Codex with a ChatGPT plan lists the plans that include Codex, and Codex is included across all ChatGPT plans, including Free and Go. Record the plan name in the evidence file, because the SOC 2 and DPA terms you collect apply to specific offerings, not to ChatGPT as a whole. Done when the workspace name, plan and admin owners are written down.

  2. Decide whether Codex cloud is enabled

    Your engineering and security leads decide whether Codex cloud tasks may run in this workspace. OpenAI's help article states that Codex cloud access is off by default for Enterprise workspaces that have not enabled it, so an administrator must make an explicit choice. Record the decision, the business owner who approved it and the staff groups affected. This decision determines which data paths your DPA and SOC 2 review must cover, so it comes before any document request. Done when the cloud setting and its approval are recorded.

  3. Obtain SOC 2 reports and the DPA

    Your compliance lead requests the SOC 2 Type 2 report and the Data Processing Addendum through OpenAI's own process. OpenAI's enterprise privacy page states that ChatGPT Business, Enterprise, Edu and Healthcare have each completed a SOC 2 Type 2 audit, that the API is audited for SOC 2 Type 2, and that Business, Enterprise and API customers can execute a DPA through OpenAI's DPA form. OpenAI owns the reports and the signature. You own the review, the reading of each report's scope and exceptions, and the check that the audited service matches the plan you chose. Done when the signed DPA and the report scope notes are filed.

  4. Send the written gap list to OpenAI

    Your security and compliance reviewers send OpenAI a written list of questions that the public documents do not answer. OpenAI's enterprise privacy page lists Codex in its navigation but gives no Codex-specific data handling terms, and it does not state BAA availability for Business, Enterprise or Edu. Ask for Codex-specific retention, training and subprocessor terms, the BAA position for the plan you chose, and how cloud-delegated tasks are covered. OpenAI answers these questions. You own the list and the tracking of each reply. Done when every question has a written answer or a documented open item.

  5. Apply managed configuration from the admin guide

    Your platform or endpoint team applies the managed configuration described in OpenAI's Codex admin rollout guide. The guide is hosted at learn.chatgpt.com/docs and covers the admin rollout, managed configuration and agent approvals and security pages. Your team owns the choice of sandbox mode, approval policy, network access and any enforced settings, and checks each setting against the controls your reviewers accepted. OpenAI provides the configuration mechanism. Done when the managed settings are deployed to a test group and the results are captured in the evidence file.

  6. Enable Compliance API collection

    Your compliance or security operations team confirms that Codex usage, including cloud-delegated usage, is collected through the Compliance API. OpenAI's help article states that this usage is available through the Compliance API. Your team owns the export schedule, the retention location for exported records and the access list for those records. Confirm with OpenAI which events are captured and which are not before you rely on them as audit evidence. Done when a test export contains Codex activity that you can read and store.

  7. Set a review cadence for advisories

    Your engineering and security leads set a recurring review of published Codex security advisories, which OpenAI publishes in the openai/codex GitHub repository's security advisories section. Assign an owner for each review, record the Codex CLI and IDE extension versions in use, and define how a new advisory moves into your patching queue. OpenAI owns the publication of advisories. You own the matching of advisories to your deployed versions and the schedule for updates. Done when the owner, the review dates and the patch process are written into your change calendar.

How data, contracts and evidence flow between the client and OpenAI

The diagram starts with staff running the Codex CLI or IDE extension on their devices, which send prompts and code to OpenAI's Codex service inside the trust boundary. Usage and activity can be exported through the Compliance API into the client's SIEM, which is the evidence path. The contract layer sits outside the data path: the client's legal and compliance team holds the DPA, any BAA and OpenAI's SOC 2 report, and should confirm which of these cover the specific Codex plan and surface in use. Check the Compliance API coverage for cloud-delegated tasks and the BAA scope before approval.

Data, evidence and contract paths between the client and OpenAI.

Questions reviewers ask before approving Codex for regulated data

Does ChatGPT Business cover HIPAA, and is a BAA available?

The documented position is narrower than most reviewers expect. OpenAI's enterprise privacy page states that it can sign Business Associate Agreements for the API on request, and it does not state BAA availability for ChatGPT Business, Enterprise or Edu. Do not treat a HIPAA-covered workload on Codex as approved on the strength of the ChatGPT plan alone. Ask OpenAI in writing whether a BAA can be executed for the specific ChatGPT plan and Codex surface you intend to use, whether it covers cloud-delegated tasks, and which products are in scope. Keep the answer in your contract file, because the public page does not settle the question for Codex.

Can we execute a data processing addendum with OpenAI for Codex?

Yes, for the plans and API named in OpenAI's enterprise privacy page. Business, Enterprise and API customers can execute a Data Processing Addendum through OpenAI's DPA form. Your legal team should confirm that the DPA's processing scope, sub-processor list and transfer mechanisms cover Codex activity, including cloud-delegated tasks, because the same page lists Codex in its product navigation without giving Codex-specific data handling terms. Request those terms in writing before you classify Codex as an approved processor for personal data.

Which SOC 2 reports does OpenAI document for Codex?

OpenAI's enterprise privacy page states that ChatGPT Enterprise, Edu, Healthcare and Business have each completed a SOC 2 Type 2 audit, and that the API is audited for SOC 2 Type 2. The page does not name Codex as a separately audited service. Ask OpenAI for the current report under NDA, check its period and the systems in scope, and confirm whether Codex cloud and the local CLI sit inside the audited boundary. A SOC 2 report is issued by an independent auditor, so your reviewers should read the report itself rather than rely on a marketing statement.

How long does a Codex compliance review take, and what drives it?

No duration for the review is documented in the sources behind this page, so treat any timeline as something to agree with your own team. The main drivers are how fast your contract review moves through BAA and DPA negotiation, how many OpenAI documents must be requested and reviewed, whether Codex-specific data terms are provided, and how much evidence your own controls team must assemble, such as data classification rules, access reviews and logging configuration. Ask your legal and security leads to list each open item with an owner before you set a target date.

Who does the compliance work for a Codex rollout?

Your organization owns the decisions. Your compliance team, legal counsel and security leads own the contract terms, the risk acceptance and the classification of data that may enter Codex. DeployOpen can support that work on the technical side, including preparing controls, configuration and evidence that your compliance team and independent assessors can review. DeployOpen does not issue audit reports, attestations or certifications, and it does not negotiate the BAA or DPA on your behalf unless that work is written into the agreed scope.

What does a DeployOpen engagement cover for Codex compliance readiness?

Engagements are fixed-scope, so the coverage is whatever the written scope lists before work starts. A typical readiness scope for this topic can include a review of the documented OpenAI terms against your requirements, a list of the evidence to request from OpenAI, configuration of the managed settings and logging your reviewers need, and a set of controls and evidence prepared for your compliance assessment. Deliverables, exclusions and timelines are agreed in writing. DeployOpen does not publish a price list, so ask for a quote built from that written scope.

What should we ask OpenAI before approving Codex for regulated data?

Send a written list that covers the gaps this page identifies. Ask whether a BAA can be executed for each ChatGPT plan and for the API, and whether it covers Codex cloud tasks. Ask for Codex-specific data handling terms, the current SOC 2 Type 2 report with its scope, the sub-processor list, and the retention and training terms that apply to your plan. Ask how Codex activity is recorded in the Compliance API, since OpenAI's help article states that Codex usage, including cloud-delegated usage, is available through it. Record each answer, its date and the named OpenAI contact.

How DeployOpen works on this

DeployOpen is a Chainscore Labs company that plans, implements, documents and supports self-hosted open-source platforms inside the client's own infrastructure, and prepares systems, controls and evidence for compliance assessments. We do not issue audit reports, attestations or certifications, so the vendor and independent auditors remain the source of SOC 2, BAA and DPA commitments.

How we scope

  • Each engagement starts with a written scope that names the Codex plan, workspace and surfaces in use, including CLI, IDE extension, app and cloud tasks.
  • We list the vendor commitments to confirm, such as SOC 2 report access, BAA availability and DPA execution, before any internal control work begins.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts; ongoing support is available as a retainer.

How we build

  • We map which Codex data flows, such as prompts, code and cloud-delegated tasks, touch regulated data and document where each one goes.
  • We prepare internal control records, access and approval settings and logging configuration that match the scope agreed with your reviewers.
  • We test the configured controls against the written requirements and record gaps that still need a vendor answer or an internal decision.

How we hand over

  • You receive a documented evidence pack that lists each control, its owner, the evidence location and the vendor document it relies on.
  • The gap register states which points, such as Codex-specific data terms or BAA coverage, are open and who must resolve them with OpenAI.
  • Handover includes a walkthrough with your security, compliance and procurement reviewers so they can take the pack to their independent auditors.

How we support

  • Retainers cover updates when OpenAI changes its SOC 2 scope, privacy terms, DPA form or Codex data handling, so the evidence stays current.
  • Continuous testing of agent and AI systems can be added to the retainer as a separate written scope.
  • We help your team reassess the evidence pack when a new Codex plan, surface or model setting is adopted by your organization.

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.