The short answer
Run it in five steps. Find where ChatGPT and Codex are already used, including personal accounts and API keys. Decide on a one-page policy. Configure the workspace: SSO, an app allowlist, and GPT sharing. Govern Codex in the cloud and on laptops. Review every month, because OpenAI's controls and labels change often.
- Find where ChatGPT and Codex already are
- Write a one-page policy
- Configure the workspace
- Govern Codex
- Review it every month
The playbook, without buying anything
Find where ChatGPT and Codex already are
Most companies have more ChatGPT than they think: personal Plus accounts, API keys in scripts, Codex on laptops.
- Search expense reports for ChatGPT Plus, Pro and Business subscriptions and OpenAI API charges.
- Search your code for
OPENAI_API_KEY,AGENTS.mdfiles and.codex/folders. - In your identity provider, look for OAuth grants to ChatGPT and OpenAI.
- Check DNS or proxy logs for chatgpt.com and api.openai.com.
Write a one-page policy
Decide what's allowed before you configure anything.
- Company data goes only into the company workspace.
- List the data that never goes in: customer personal data, secrets and regulated data.
- Name the approved apps and GPTs, and who approves new ones.
- Set what Codex may do: which repositories, whether the cloud agent may use the internet, and who reviews its pull requests.
Configure the workspace
Turn the policy into settings. The free guide has the clicks.
- Verify the domain and require SSO.
- Disable unreviewed apps, limit approved apps' tools, and turn off new tools by default.
- Restrict who can build apps with custom MCP servers and who can share GPTs with the whole workspace.
Govern Codex
Codex works in two places, OpenAI's cloud and the developer's laptop, and each needs its own guardrails.
- In the cloud, keep agent internet access off by default, and use domain allowlists and GET-only requests where it's needed.
- On laptops, enforce approval and sandbox settings with Agent security requirements or a managed
requirements.toml. - Review every Codex pull request as you would a new contributor's.
- Keep production credentials out of Codex environments and off laptops.
Review it every month
OpenAI ships often and renames things. Put 30 minutes on the calendar each month.
- Look for new apps, tools and workspace permissions.
- Compare seats with your HR roster and remove leavers.
- Re-run the step-one searches.
Free and open-source tools to check out
None of these needs a purchase. Read each tool's own documentation before you run it on company systems.
- GitleaksMITScans repositories and their history for committed secrets, such as API keys an AI agent wrote into a config file. Runs as a pre-commit hook or in CI.
- Agent Scan (formerly mcp-scan)Apache-2.0Scans the MCP servers, agent configs and skills on a machine for tool poisoning, prompt injection and risky permissions.
- promptfooMITTests and red-teams prompts, agents and RAG apps against injection, data leaks and policy breaks, in CI.
- garakApache-2.0NVIDIA's LLM vulnerability scanner: probes a model or bot for prompt injection, data leakage and jailbreaks.
- PresidioMITDetects and redacts personal data in text, so you can strip it from prompts, logs and exports before they reach an AI service.
At scale
Beyond one workspace: where Glasswarden comes in
Workspace settings govern the ChatGPT you pay for. They don't see personal ChatGPT accounts, OpenAI keys in scripts, or Codex running on laptops next to Claude Code and Cursor. Glasswarden, from Drycraf, runs where people and agents work, sees all of it, holds it to one policy, and sends fixes straight back to the agent that caused the problem.
Questions admins ask
ChatGPT Business or Enterprise?
Business covers SSO, domain verification and app controls. Move to Enterprise when you need the Compliance API, custom retention, per-role app access, or a workspace-wide switch for conversation sharing.
Is Codex safe to give the internet?
Only narrowly. OpenAI recommends limiting it to the domains a task needs and to GET, HEAD and OPTIONS requests. An agent with open internet access can be tricked by a malicious page or issue into sending data out.
Can we see what employees ask ChatGPT?
On Enterprise and Edu, through the Compliance API. Business has no equivalent admin export.
Sources
- ChatGPT for work: cloud security
- Apps and connectors administration
- GPTs and sharing administration
- Codex cloud: internet access
- Codex admin setup
- Roles and workspace permissions
- Codex managed configuration (Agent security)
- Domain verification
Checked against the vendors' own documentation on November 6, 2026. Admin consoles change: if a menu has moved, the vendor's page above is the authority. Product names are trademarks of their owners; Drycraf is independent of them.