OpenAI Codex admin controls, managed configuration and audit logging

Codex admins can enforce local runtime policy through managed configuration, but what the Compliance API and OpenTelemetry record has limits a security reviewer must check before approval.

On this page

Can admins enforce Codex policy and see what staff do?

The supported answer is partial enforcement. The facts support constraining local runtime behavior through requirements.toml and the Admin Console, and the Compliance API covers Codex usage, including cloud-delegated usage. How much of that applies to your organization depends on the ChatGPT plan and the workspace settings you hold, so confirm both before you write the approval memo. Codex cloud access is off by default for Enterprise workspaces that have not enabled it, which means an Enterprise administrator has to make a deliberate decision before cloud tasks exist at all. The Codex admin rollout guide describes requirements.toml as the file that delivers local runtime policy, with permission profiles such as :read-only and :workspace, and computer_use = false to disable Computer Use.

Treat the admin controls as a set of limits you configure, not a complete record of activity. Telemetry is off by default, and log_user_prompt = false is the default, which redacts prompt text from OpenTelemetry events. If you turn on telemetry for audit, decide whether prompt text may leave the workstation, and confirm where those events are sent and who can read them. The Compliance API page states that local execution records do not establish a complete record of every local command, file operation, screenshot, approval or external action. Plan to supplement local records with your endpoint logging and file monitoring, and ask OpenAI to confirm exactly which events each feature captures.

Retention is the item most often missed. The ChatGPT Work admin FAQ states that the Compliance Logs Platform retains data for 30 days, and longer retention requires continuously downloading logs to storage you control. Assign an owner for that export pipeline, set a retention period that matches your records policy, and test that the logs can be read before an incident. Ask OpenAI to confirm the current retention period for each log type in writing, and review the agent approvals and security page before you write policy language that describes what is recorded.

Which admin control is built in, paid only or not available

This table maps each Codex admin control and telemetry setting to its status: built in, paid edition only, needs an outside component, or not confirmed from the sources. Codex is included across all ChatGPT plans, but Codex cloud depends on eligible plans, so the controls a workspace receives may differ. Confirm with OpenAI which admin features each Business, Enterprise, Healthcare and Education workspace gets before you approve rollout.

ControlApplies toStatus
requirements.toml managed policyLocal Codex runtimes, delivered by adminsBuilt in per the admin rollout guide. Confirm which workspace plans receive it.
Permission profiles (:read-only, :workspace)Local runtime policy set through requirements.tomlBuilt in per the admin rollout guide. Confirm plan scope and whether members can override them.
computer_use = falseDisables Computer Use in CodexBuilt in per the admin rollout guide. Confirm which Codex surfaces it covers.
Workspace analyticsWorkspace adminsListed in the admin rollout guide. Plan availability not confirmed from the sources.
Analytics APIWorkspace admins building reportsListed in the admin rollout guide. Confirm plan availability and access requirements.
Compliance APILocal and cloud-delegated Codex usageNot confirmed for plan scope. Local execution records are not a complete activity record.
Usage limits and spend controlsChatGPT workspace membersListed in the admin rollout guide. Confirm which plans include them and how they apply to credits.
OpenTelemetry telemetryCodex clients that emit eventsOff by default. Needs your own telemetry backend to receive and retain events.
log_user_prompt = falsePrompt text in OpenTelemetry eventsDefault setting. Redacts prompt text from OpenTelemetry events.

Where requirements.toml enforcement stops and logging begins

Enforcement and evidence are separate questions, and this section depends on keeping them apart. Policy is delivered to the local Codex runtime through requirements.toml, which constrains what the agent may do on the endpoint, such as the permission profile it runs under (the guide names profiles like :read-only and :workspace) and whether Computer Use is available (computer_use = false disables it). The Admin Console, the Compliance API and the Analytics API sit on the ChatGPT workspace side instead. They govern accounts, usage and what the workspace records, but they do not sit between the agent and the laptop. A reviewer should confirm, with OpenAI, exactly which controls each layer can enforce before assuming a setting applies everywhere Codex runs.

Logging is where reviewers most often overestimate coverage. The Compliance API page states that local execution records do not establish a complete record of every local command, file operation, screenshot, approval or external action. Treat those records as partial. If your evidence requirement is a complete trail of what the agent did on an endpoint, that requirement has to be met by controls outside Codex, or accepted as a documented gap. Ask OpenAI to describe, in writing, which local events are captured, which are not, and how cloud-delegated usage differs, since the help article says that usage is available through the Compliance API.

OpenTelemetry is the other channel to check. Per the agent approvals and security page, telemetry is off by default, and log_user_prompt = false is the default, so prompt text is redacted from OpenTelemetry events. Before enabling telemetry, decide who will receive the events, where they will be stored, and whether any team needs prompt text for investigations. Changing log_user_prompt to retain prompts creates a sensitive data store that must fall under your retention and access rules. Confirm with your security team and OpenAI how long the workspace keeps Compliance Logs Platform data, since the ChatGPT Work admin FAQ states a 30-day retention period and that longer retention requires continuously downloading logs to your own storage.

How policy, runtime and evidence records connect

The path starts with the admin writing requirements.toml and choosing a permission profile, which the local Codex runtime on each endpoint enforces. Local execution records and optional OpenTelemetry export flow to the customer's own collector, while the Compliance API and Analytics API cover workspace-side usage. The Compliance Logs Platform keeps data for 30 days, and longer retention requires continuously downloading logs to the customer's storage. The dashed gap marks local actions that the execution records do not fully capture, so reviewers should not treat them as a complete audit trail.

Policy flows from admin to endpoint, while evidence splits between local records and workspace logs.

Decisions to make before turning on managed configuration

Managed configuration only protects what an admin has decided to enforce, so each decision below should be made and documented before the policy file reaches developer machines. The cards cover runtime scope, computer use, telemetry ownership, prompt logging, log storage and cloud access, which together set what your organization can see, investigate and prove later.

Default permission profile per team

Choose whether each team starts with :read-only or :workspace set through requirements.toml. A read-only default limits what Codex can change locally, but teams doing routine code edits will need a clear path to a broader profile. Confirm with the admin rollout guide which profiles can be enforced for each group and whether a team can override its profile locally. Record the decision per team so reviewers can see where write access was granted and why.

Admin rollout guide

Disabling Computer Use

Setting computer_use = false removes Codex's ability to operate the desktop on behalf of a user. Decide whether any team has a documented need for it before the setting is enforced everywhere. Ask OpenAI to confirm exactly which surfaces the key covers, since the CLI, IDE extension and app may not behave identically. Keep the decision in the same change record as the permission profile so the two controls are reviewed together.

Enabling OpenTelemetry and naming a collector owner

Telemetry is off by default, so enabling it is a deliberate choice that creates a new data flow from developer machines to your collector. Name one owner for the collector, its access controls, its retention and its alerting before rollout. Confirm the event fields your collector will receive and whether they include file paths or command arguments. Without an owner, the logs exist but nobody is accountable for reviewing them.

Agent approvals and security

Keeping prompt text out of logs

The default log_user_prompt = false redacts prompt text from OpenTelemetry events. Changing it to log prompts gives investigators more context but also copies whatever engineers type, including pasted secrets, customer data and internal design details, into your telemetry store. Decide who may approve a change, where prompt logs would be kept and how long. Most teams should keep the default unless a documented investigation need justifies the added exposure.

Storing long-term copies of compliance logs

The ChatGPT Work admin FAQ says the Compliance Logs Platform retains data for 30 days, and longer retention requires continuously downloading logs to your own storage. Decide which record types you need beyond that window, who receives the export job and where the copies sit. Storage cost and access review scale with volume, so estimate both from your own usage. Also confirm that local execution records do not capture every command or file operation, so retained logs will not be a complete record.

ChatGPT Work admin FAQ

Whether Codex cloud is enabled

Codex cloud access is off by default for Enterprise workspaces that have not enabled it. Enabling it adds cloud-delegated tasks, which are included in Compliance API coverage, and moves work to infrastructure outside the developer's machine. Decide which groups, if any, may use cloud tasks and whether their repositories are approved for that use. Confirm with OpenAI how cloud tasks are governed separately from the local managed configuration, since a local policy file does not cover cloud work.

Using Codex with your plan

How the admin answer changes by plan and team structure

This is the setup with the widest set of admin controls. Cloud-delegated Codex usage is available through the Compliance API, and Codex cloud access is off by default for Enterprise workspaces until an admin enables it. Local behavior is governed by the managed configuration file on each machine.

  • Managed configuration: deliver requirements.toml to constrain local runtime policy, using permission profiles such as :read-only or :workspace, and set computer_use = false if Computer Use should stay off.
  • Cloud access switch: confirm whether Codex cloud is enabled for the workspace before any team relies on cloud-delegated tasks.
  • Compliance API scope: cloud-delegated usage is in scope, but local execution records do not give a complete record of local commands, file operations, screenshots, approvals or external actions.
  • Retention: the Compliance Logs Platform retains data for 30 days, so keeping logs longer means continuously downloading them to your own storage.
  • Telemetry defaults: telemetry is off by default and log_user_prompt = false redacts prompt text, so any change to those settings should be a documented decision.

Before writing a retention rule, confirm with OpenAI which Compliance API events cover Codex in your workspace and how exports are delivered.

What Codex admin controls do not record or enforce

Admin controls for Codex cover more than the settings a policy file can lock down. Several records a reviewer would want for an incident are either partial, short-lived, redacted or off by default, and endpoint users keep some control over their local runtime. Each card below names one gap and the outside control most teams use to cover it, with specifics to confirm with OpenAI before sign-off.

Local execution records are incomplete

OpenAI's Compliance API page states that local execution records do not establish a complete record of every local command, file operation, screenshot, approval or external action. A reviewer should not treat the Compliance API as a full replay of what a Codex session did on a laptop. Teams usually cover this with endpoint telemetry such as process, file and network monitoring in their EDR or SIEM, plus a documented rule for which local actions must be reviewed. Ask OpenAI exactly which event types are emitted for local CLI and IDE sessions.

Compliance API docs

Compliance logs expire after 30 days

The ChatGPT Work admin FAQ states that the Compliance Logs Platform retains data for 30 days. Incident investigations often begin weeks after the activity, so a 30-day window can close before a security team opens a case. Keeping longer history requires continuously downloading logs to storage the customer controls. Confirm with OpenAI which Codex events are included in that window and how the export is scheduled and authenticated.

ChatGPT Work admin FAQ

Export pipeline owns retention

Longer retention is not a setting an admin can switch on in the Compliance Logs Platform. It depends on a continuous download job that writes to the customer's own storage. If that job fails silently, the gap only appears when someone needs the missing records. Teams typically run the export into a SIEM or a write-once log bucket, alert on missed pulls, and test restoration on a schedule. Ask OpenAI how export failures are reported and whether any backfill is possible.

OpenTelemetry is off by default

Codex's agent approvals and security page states that telemetry is off by default. A team that never enables it will have no OpenTelemetry stream for approvals, tool calls or session activity, even when the policy file is well built. Enabling it should be a documented change that security approves, not a developer preference. Confirm which telemetry settings a managed configuration can enforce for every endpoint, and where the events are sent.

Agent approvals and security

Prompt text is redacted by default

The default value of log_user_prompt = false redacts prompt text from OpenTelemetry events. That protects personal and confidential input in logs, but it means an investigator may see that a session ran a command without seeing what the user asked for. Decide in advance whether prompt capture is allowed for specific teams, who can access it, and how long it is kept. Pair that decision with a retention rule for the prompt store, since it is a separate data set from the admin logs.

Endpoint users can change local settings

The admin rollout guide describes delivering requirements.toml to constrain local runtime policy, including permission profiles such as :read-only and :workspace and computer_use = false. Those constraints only hold where the file is actually delivered and where a user cannot override it. Confirm with OpenAI how the file is placed on managed devices, which keys are enforced and which remain user-controlled. Use endpoint management to verify the file is present and unmodified, and write a documented exception process for any team that needs a looser profile.

Codex admin rollout guide

Order of work to put Codex admin controls in production

This sequence moves Codex from plan confirmation to governed use, with each phase producing evidence that the previous control works before the next one is added. It ends with a workspace where cloud access, local runtime policy, telemetry, log retention and spend are all set and verified.

  1. Confirm plan and workspace access settings

    The workspace owner or admin confirms which ChatGPT plan the organization holds and whether Codex cloud is enabled for the workspace. OpenAI's help article states that Codex is included across all ChatGPT plans, but Codex cloud is limited to eligible plans, and Enterprise workspaces have it off by default until an admin turns it on. Before moving on, record the plan, the cloud setting and which groups can reach Codex, and check that the setting matches the approved use case.

  2. Define the permission profile and Computer Use policy

    The admin drafts the local runtime policy in requirements.toml, choosing a permission profile such as the read-only or workspace profile and deciding whether Computer Use is disabled. The Codex admin rollout guide describes this file as the way to constrain local runtime policy. Before moving on, have a second reviewer confirm that the chosen profile matches the data each team handles and that the file is stored under change control, so the policy can be audited later.

  3. Pilot with a small group and test enforcement

    A small pilot group installs Codex under the managed policy on the endpoint types the organization actually uses. The admin then checks that a member cannot widen the profile, cannot use Computer Use when it is disabled, and sees the restrictions in practice. Test on each operating system in scope, since sandbox behavior is handled per platform. Move on only when the pilot shows that the policy is enforced on endpoints and that unexpected prompts or failures have been resolved or documented.

  4. Enable telemetry and set the prompt logging policy

    The admin turns on telemetry deliberately, since the Codex agent approvals and security page states that telemetry is off by default. The admin also decides whether prompt text should appear in OpenTelemetry events, noting that log_user_prompt = false is the default and redacts prompt text. Before moving on, confirm that events reach the chosen collector, that prompt text is absent or present as the policy requires, and that the privacy owner has signed off on the setting.

  5. Build continuous log export to customer storage

    The security team sets up a process that downloads Compliance API records and OpenTelemetry data to the organization's own storage. The ChatGPT Work admin FAQ states that the Compliance Logs Platform retains data for 30 days and that longer retention requires continuously downloading logs to the customer's own storage. Before moving on, run a restore or read test on exported records, confirm the retention period in the organization's own policy, and note that local execution records do not form a complete record of every command, file change or approval.

  6. Set usage limits and spend controls

    The admin configures ChatGPT usage limits and spend controls, and reviews Workspace analytics and the Analytics API for governance reporting. These controls limit how much Codex staff can consume and make usage visible to finance and security. Before the wider rollout, confirm the limits apply to each group in the pilot and that alerts or reports reach named owners, so that spending changes are reviewed rather than discovered at billing time.

  7. Review the production baseline and schedule re-checks

    The admin assembles the requirements.toml file, telemetry settings, export job, usage limits and pilot results into one approved baseline document. The baseline names an owner for each control and records the date of the last verification. Production access is granted only after the approver confirms that every earlier check passed, and the team schedules periodic reviews to repeat the enforcement tests after Codex updates or policy changes.

What a security reviewer asks to see for admin controls

This table lists what a security reviewer should request for Codex admin controls, the evidence to collect for each item and where that setting or record lives in the tool. Use it as a checklist before approving a rollout, and confirm each item against the current admin guide and Compliance API page, since OpenAI's documentation changes. The main takeaway is that a managed configuration file and a Compliance API export answer different questions, so the reviewer should ask for both.

Reviewer requestEvidence to collectWhere it comes from in the tool
requirements.toml policy in forceThe exact file delivered to endpoints, its version history and a sample from a managed device showing it is appliedDelivered through the managed configuration described in the Codex admin rollout guide
Permission profile per groupA mapping of each user group to a permission profile such as :read-only or :workspace, with a sample config for eachPermission profiles set in requirements.toml, per the Codex admin rollout guide
Computer Use settingThe value of computer_use in the policy file for each group, with a note on which groups may enable itcomputer_use key in requirements.toml, per the Codex admin rollout guide
Codex cloud state per workspaceA screenshot or export showing whether Codex cloud is enabled or off for each Enterprise workspaceWorkspace settings in the ChatGPT admin console, per the Using Codex with your ChatGPT plan help article
Telemetry state and prompt loggingConfirmation that telemetry is off or on, and the value of log_user_prompt, with the reason for any change from the defaultCodex agent approvals and security page, which lists telemetry as off by default and log_user_prompt as false
Compliance API export samplesA redacted sample export showing Codex usage events, including cloud-delegated tasks, and the fields it containsCodex Compliance API and audit events page
Gap statement for local executionA written acknowledgment that local execution records do not capture every local command, file change, screenshot, approval or external actionCodex Compliance API page
30-day log retention and download processThe retention period in force, the owner of the continuous download job and the customer storage location for longer retentionChatGPT Work admin FAQ, which states Compliance Logs Platform retains data for 30 days
Analytics API, usage limits and spend controlsCurrent settings for workspace analytics, usage limits and spend controls, with the owner and review date for eachCodex admin rollout guide, which lists these governance and observability controls

Questions buyers ask before approving Codex admin controls

Can admins stop members from changing Codex settings on their own machines?

Partly. Admins can constrain the local runtime policy by delivering a requirements.toml file, which the OpenAI admin rollout guide describes as a way to set permission profiles such as :read-only and :workspace, and to set computer_use = false to disable Computer Use. Settings the file does not lock remain changeable by members. Before approving, ask OpenAI which keys are enforced at the requirements level, how the file is distributed to managed devices, and whether a member can override it locally. Test the policy on a managed laptop before rollout, because a file that is missing or unreadable on one machine changes what that user can do.

Do Compliance API records include Codex activity?

OpenAI's help article states that Codex usage, including cloud-delegated usage, is available through the Compliance API. Codex's Compliance API page adds an important limit: local execution records do not establish a complete record of every local command, file operation, screenshot, approval or external action. So treat the Compliance API as a record of account-level Codex usage, not a full audit trail of what the agent did on a laptop. Ask OpenAI to show sample event types for both cloud and local usage, and decide whether local endpoint telemetry must come from another source.

How long are Codex compliance logs kept, and what does longer retention require?

The ChatGPT Work admin FAQ states that the Compliance Logs Platform retains data for 30 days. Retention longer than that requires continuously downloading logs to the customer's own storage. Your legal and records team should set the required retention period first, then confirm with OpenAI the export method, file format, delivery frequency and any gaps during download failures. Ask whether the export covers Codex events in full, and how the organization will prove that the export ran without interruption.

Does OpenTelemetry capture the text of prompts?

Not by default. Codex's agent approvals and security page states that telemetry is off by default and that log_user_prompt = false is the default, which redacts prompt text from OpenTelemetry events. Turning prompt logging on is a policy decision with privacy consequences, because prompts can contain source code, customer data or credentials. If your review requires prompt capture, document who may read those logs, how long they are kept, and how they are protected. Confirm the exact configuration key and the event fields that change when it is set.

What drives the cost of a log retention and SIEM pipeline?

Cost comes from people and storage, and most of it depends on your own environment. Your cloud or security team builds and runs the export job, the storage bucket, the parser and the SIEM connector, so the internal labor and any SIEM licensing are your costs. A service provider may be paid for design, implementation and documentation under a fixed-scope agreement, which is one-time work, while monitoring, rule tuning and upgrades recur. Costs rise with log volume, the number of managed devices, the retention period and the number of downstream tools. Ask any provider for a written scope listing deliverables, the systems covered, the acceptance tests, and which parts are one-time versus retainer-based. DeployOpen does not publish prices, and a quote follows from the written scope.

Can our own team configure these controls without outside help?

Often yes, if your team has administrative access to the Codex workspace, the ability to distribute a managed configuration file to devices, and an owner for the log export. The steps are documented in OpenAI's admin rollout guide, so the main questions are capacity and testing. Plan for a pilot group, a test of the requirements file on each managed device type, and a check that the Compliance API export arrives in your storage on schedule. If your team lacks that capacity, DeployOpen can plan, implement and document these controls in your own infrastructure under a fixed-scope engagement, and can run security testing against the resulting configuration.

What should we confirm with OpenAI before signing?

Get written answers on five points: which settings requirements.toml enforces and which members can still change; whether the Compliance API covers every Codex surface your staff will use, including cloud tasks; the retention period on the platform and the supported method for longer retention; whether prompt text can be captured and under what settings; and what is known about any gaps between cloud and local records. Also confirm which ChatGPT plan includes the admin features you need, because Codex cloud access is off by default for Enterprise workspaces until enabled. Ask for these answers in writing and attach them to the approval record.

How DeployOpen helps teams verify Codex admin controls

DeployOpen plans, implements and tests self-hosted open-source platforms inside the client's own infrastructure, and runs security testing that includes AI systems and agents. For Codex, we help teams confirm which settings are enforced centrally, which remain in the hands of members, and what the audit trail actually records before a rollout is approved.

How we scope

  • We agree a written scope listing which admin settings, requirements file rules and logging sources are in review.
  • Engagements are fixed-scope, with deliverables and timelines confirmed in writing before any work starts.
  • We confirm with your admins which plan and edition applies to each control before testing begins.

How we build

  • We prepare a managed configuration baseline and test whether member-side settings can override it on sample machines.
  • We test the restriction of Computer Use and permission profiles against the rules your written policy requires.
  • We map OpenTelemetry and Compliance API outputs to the events your monitoring and investigation teams need.

How we hand over

  • You receive documented test results showing each control tested, the observed behavior and any gaps found.
  • We document what the audit trail does not record, so reviewers do not assume a complete local activity history.
  • We deliver configuration files and runbooks that your own administrators can maintain and reproduce.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers when Codex settings or plans change.
  • We can repeat the admin control tests after a Codex release or policy change, as set out in the written scope.
  • Quotes follow from the written scope, so you can compare what is included before committing to work.

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.