SpyBara
Go Premium

Documentation 2026-10-01 22:59 UTC to 2026-10-02 23:58 UTC

13 files changed +112 −26. View all changes and history on the product overview
2026
Mon 12 23:01 Fri 9 23:02 Thu 8 23:01 Wed 7 23:57 Tue 6 23:02 Mon 5 23:57 Fri 2 23:58 Thu 1 22:59
Details

186 href: "/codex/amazon-bedrock",186 href: "/codex/amazon-bedrock",

187 icon: "storage",187 icon: "storage",

188 },188 },

189 {

190 title: "Bedrock GovCloud configuration",

191 description:

192 "Configure local Codex workflows with Amazon Bedrock in AWS GovCloud.",

193 href: "/codex/enterprise/govcloud-configuration",

194 icon: "storage",

195 },

189 {196 {

190 title: "Connect to a gateway",197 title: "Connect to a gateway",

191 description:198 description:

cli.md +1 −0

Details

46#### Windows46#### Windows

47 47 

48Install the Codex CLI with the standalone installer for Windows.48Install the Codex CLI with the standalone installer for Windows.

49Start these from a new PowerShell window.

49 50 

50**Install:**51**Install:**

51 52 

cli/features.md +1 −0

Details

46#### Windows46#### Windows

47 47 

48Install the Codex CLI with the standalone installer for Windows.48Install the Codex CLI with the standalone installer for Windows.

49Start these from a new PowerShell window.

49 50 

50**Install:**51**Install:**

51 52 

cloud.md +2 −2

Details

26 26 

27### 1. Open ChatGPT27### 1. Open ChatGPT

28 28 

29Open ChatGPT on the web or in the [desktop app](https://learn.chatgpt.com/docs/app), then sign in with your ChatGPT account.29Open ChatGPT on the web, mobile, or in the [desktop app](https://learn.chatgpt.com/docs/app), then sign in with your ChatGPT account.

30 30 

31### 2. Create or select an environment31### 2. Create or select an environment

32 32 

33In a new task, choose Work in > Cloud and open Select environment. If this is your first time, select [Create environment](https://learn.chatgpt.com/docs/environments/cloud-environments#create-and-publish-an-environment) and continue below. If an environment is already available, select it and begin working.33On the web or in the desktop app, choose Work in > Cloud and open Select environment. On mobile, open Codex. Select an existing environment to begin working. To create a new one, use the web or desktop app and select [Create environment](https://learn.chatgpt.com/docs/environments/cloud-environments#create-and-publish-an-environment) and continue below.

34 34 

35### 3. Let Codex prepare your project35### 3. Let Codex prepare your project

36 36 

Details

5**Codex Cloud (Legacy)** continues to support environments for Code Review and5**Codex Cloud (Legacy)** continues to support environments for Code Review and

6 the Linear and GitHub integrations.6 the Linear and GitHub integrations.

7 7 

8For the current experience on desktop and web, see the [Cloud environments8For the current experience on web, mobile, and desktop, see the [Cloud environments

9guide](https://learn.chatgpt.com/docs/environments/cloud-environments).9guide](https://learn.chatgpt.com/docs/environments/cloud-environments).

10 10 

11Use environments to control what Codex installs and runs during cloud chats. For example, you can add dependencies, install tools like linters and formatters, and set environment variables.11Use environments to control what Codex installs and runs during cloud chats. For example, you can add dependencies, install tools like linters and formatters, and set environment variables.

Details

8transit and at rest, and OpenAI doesn't use business data to train its models by8transit and at rest, and OpenAI doesn't use business data to train its models by

9default.9default.

10 10 

11For an overview of the security controls, see the [ChatGPT Work enterprise security whitepaper](https://cdn.openai.com/pdf/chatgpt-work-enterprise-security.pdf).

12 

11Work Cloud also introduces hosted task execution and optional tools that can13Work Cloud also introduces hosted task execution and optional tools that can

12access connected systems or take authorized actions. Review the permissions,14access connected systems or take authorized actions. Review the permissions,

13retention settings, and available audit records for the capabilities your15retention settings, and available audit records for the capabilities your

Details

4 4 

5ChatGPT Work can use approved files, applications, and browser sessions on a user's computer to complete local tasks. Access depends on workspace permissions, the user's existing account access, operating-system permissions, application approvals, and supported device policies.5ChatGPT Work can use approved files, applications, and browser sessions on a user's computer to complete local tasks. Access depends on workspace permissions, the user's existing account access, operating-system permissions, application approvals, and supported device policies.

6 6 

7For an overview of the security controls, see the [ChatGPT Work enterprise security whitepaper](https://cdn.openai.com/pdf/chatgpt-work-enterprise-security.pdf).

8 

7Local capabilities depend on the supported desktop app, operating system, workspace entitlement, role permissions, device policy, and product rollout.9Local capabilities depend on the supported desktop app, operating system, workspace entitlement, role permissions, device policy, and product rollout.

8 10 

9## Security at a glance11## Security at a glance

Details

5**Codex Cloud (Legacy)** continues to support environments for Code Review and5**Codex Cloud (Legacy)** continues to support environments for Code Review and

6 the Linear and GitHub integrations.6 the Linear and GitHub integrations.

7 7 

8For the current experience on desktop and web, see the [Cloud environments8For the current experience on web, mobile, and desktop, see the [Cloud environments

9guide](https://learn.chatgpt.com/docs/environments/cloud-environments).9guide](https://learn.chatgpt.com/docs/environments/cloud-environments).

10 10 

11Use environments to control what Codex installs and runs during cloud chats. For example, you can add dependencies, install tools like linters and formatters, and set environment variables.11Use environments to control what Codex installs and runs during cloud chats. For example, you can add dependencies, install tools like linters and formatters, and set environment variables.

Details

21## Start a task in Codex Cloud21## Start a task in Codex Cloud

22 22 

23On the web or in the [desktop app](https://learn.chatgpt.com/docs/app), choose **Work in** > **Cloud**23On the web or in the [desktop app](https://learn.chatgpt.com/docs/app), choose **Work in** > **Cloud**

24and select a published environment. Describe what you want Codex to do and send24and select a published environment. On mobile, open **Codex** and select a

25the request. If you need a new setup, [create an environment](#create-and-publish-an-environment).25published environment. Describe what you want Codex to do and send the request.

26If you need a new setup, [create an environment](#create-and-publish-an-environment)

27on the web or in the desktop app.

26 28 

27Enterprise admins can [review workspace access](https://learn.chatgpt.com/docs/enterprise/admin-setup#step-5-configure-codex-cloud)29Enterprise admins can [review workspace access](https://learn.chatgpt.com/docs/enterprise/admin-setup#step-5-configure-codex-cloud)

28before rolling out Codex Cloud.30before rolling out Codex Cloud.

29 31 

30## Create and publish an environment32## Create and publish an environment

31 33 

32On the web or in the [desktop app](https://learn.chatgpt.com/docs/app), sign in with your ChatGPT account:34Create new environments on the web or in the [desktop app](https://learn.chatgpt.com/docs/app).

35Sign in with your ChatGPT account:

33 36 

341. In a new task, choose **Work in** > **Cloud**, open **Select environment**,371. In a new task, choose **Work in** > **Cloud**, open **Select environment**,

35 and select **Create environment**.38 and select **Create environment**.


287cloud task VMs join your network. Tailscale automatically removes ephemeral290cloud task VMs join your network. Tailscale automatically removes ephemeral

288devices after they go offline. Support for additional VPN providers is planned.291devices after they go offline. Support for additional VPN providers is planned.

289 292 

290Use IPv4 addresses or host names that already resolve to IPv4. Private IPv4293Private IPv4 subnet routes are supported. Tasks can use Tailscale split

291subnet routes are supported; the connection doesn't add private DNS or support294DNS and MagicDNS to reach private services by hostname.

292for native database protocols or SSH.295 

296If your service uses your organization's internal DNS, configure split DNS in

297the Tailscale admin console to send queries for your internal domain to your DNS

298server. Use the service's fully qualified hostname, such as

299`api.corp.example.com`, which must resolve to an IPv4 address. The destination

300must also be allowed by the environment's internet-access settings and your

301Tailscale access rules.

293 302 

294Tasks in a shared environment use its configured VPN identity.303Tasks in a shared environment use its configured VPN identity.

295 304 


337### Continue on web or mobile346### Continue on web or mobile

338 347 

339On the web, choose **Work in** > **Cloud** and select an environment. On mobile,348On the web, choose **Work in** > **Cloud** and select an environment. On mobile,

340open **Codex** and choose an available environment. Create and publish the349open **Codex** and choose an available environment. Create new environments

341environment on the web or in the desktop app first.350on the web or in the desktop app.

342 351 

343Reopen the same task to continue its work across devices. A new task starts352Reopen the same task to continue its work across devices. A new task starts

344separate work from the published setup. Tasks in Codex Cloud can keep working while353separate work from the published setup. Tasks in Codex Cloud can keep working while


452 When testing with `curl`, omit `--noproxy` so the request uses that proxy.461 When testing with `curl`, omit `--noproxy` so the request uses that proxy.

4532. Check the destination against both the environment's allowed domains and4622. Check the destination against both the environment's allowed domains and

454 the VPN's access rules.463 the VPN's access rules.

4553. Use an IPv4 address or a hostname that already resolves to IPv4. The VPN4643. If the service is reachable by IP address but not by hostname, check your

456 connection doesn't configure private DNS.465 Tailscale DNS settings. For an internal company domain, verify that split DNS

466 points to the correct DNS server and that the server is reachable through

467 your Tailscale network. Use the service's fully qualified hostname and confirm it

468 resolves to an IPv4 address.

457 469 

458See [Private networking](#private-networking-vpn) for connection setup.470See [Private networking](#private-networking-vpn) for connection setup.

459 471 

Details

21publishing it. Shared access lets you use the environment; it doesn't grant21publishing it. Shared access lets you use the environment; it doesn't grant

22permission to edit it.22permission to edit it.

23 23 

24You can also start and continue cloud tasks on the web or on mobile. On mobile,

25open **Codex** and select a published environment.

26 

24To create an environment, start a new task on the web or in the desktop app.27To create an environment, start a new task on the web or in the desktop app.

25Choose **Work in** > **Cloud**, open **Select environment**, then select28Choose **Work in** > **Cloud**, open **Select environment**, then select

26**Create environment**. Codex inspects your selected repositories and helps29**Create environment**. Codex inspects your selected repositories and helps

quickstart.md +2 −0

Details

21 desktop app. In a new task, choose **Work in** > **Cloud**, open **Select21 desktop app. In a new task, choose **Work in** > **Cloud**, open **Select

22 environment**, then select **Create environment**. Codex inspects your22 environment**, then select **Create environment**. Codex inspects your

23 repositories and helps prepare and test the setup before you publish it.23 repositories and helps prepare and test the setup before you publish it.

24 You can then start and continue cloud tasks on the web, on mobile, or in the

25 desktop app. On mobile, open **Codex** and select the published environment.

24 26 

25## Setup27## Setup

26 28 

security.md +17 −1

Details

97 class="my-8"97 class="my-8"

98/>98/>

99 99 

100<figure className="not-prose my-8">

101 <CodexScreenshot

102 alt="Codex Security Cloud overview with repository counts, finding statuses, and findings that need attention"

103 lightSrc={cloudOverview.src}

104 darkSrc={cloudOverview.src}

105 variant="no-wallpaper"

106 maxHeight="560px"

107 imageClass="border border-subtle"

108 panOnMobile

109 />

110 <figcaption className="mt-3 text-sm text-secondary">

111 Track open findings and fixes across repositories. This example uses

112 fictional repositories, findings, and counts.

113 </figcaption>

114</figure>

115 

100## How Codex Security Cloud works116## How Codex Security Cloud works

101 117 

102Choose a **Repository** scan to review a repository once, or **Commit changes**118Choose **One-Time Scan** to review a repository once, or **Continuous Scanning**

103to monitor new commits. Codex uses repository context to identify likely119to monitor new commits. Codex uses repository context to identify likely

104vulnerabilities and validates issues in an isolated environment when possible.120vulnerabilities and validates issues in an isolated environment when possible.

105 121 

security/setup.md +51 −11

Details

28## 2. Connect GitHub28## 2. Connect GitHub

29 29 

30Confirm that [Codex cloud](https://learn.chatgpt.com/docs/cloud) is set up for your workspace. In the30Confirm that [Codex cloud](https://learn.chatgpt.com/docs/cloud) is set up for your workspace. In the

31plugin, select **New scan**. If prompted, select **Connect GitHub** and grant31plugin, select **Scan**. If prompted, select **Connect GitHub** and grant

32access to the repositories you want to scan.32access to the repositories you want to scan.

33 33 

34If a repository is missing, check its GitHub connection and permissions.34If a repository is missing, check its GitHub connection and permissions.

35 35 

36## 3. Start a repository scan36## 3. Start a repository scan

37 37 

381. In **New scan**, choose the repository.381. In **New Scan**, choose the repository.

392. Select a compatible **Cloud environment**. If none exists, select392. Review the environment. **Auto** creates an environment when you start.

40 **Create environment** to configure one. See [Codex cloud40 Use **Customize** to choose an existing environment. See [Codex cloud

41 environments](https://learn.chatgpt.com/docs/environments/cloud-environment) for setup details.41 environments](https://learn.chatgpt.com/docs/environments/cloud-environment) for setup details.

423. Under **What to scan**, select **Repository**, the default.423. Under **Scan Method**, select **One-Time Scan**.

434. Select **Start scan**.434. Select **Create**.

44 44 

45Open the scan in **Scans** to follow its progress and review its findings and45Open the scan in **Scans** to follow its progress and review its findings and

46artifacts.46artifacts.

47 47 

48## 4. Review findings and available fixes48## 4. Review findings and available fixes

49 49 

50Open **Findings** and select an issue to review its affected code, validation50Open **Findings**. Use **Open findings** to review findings with a **New**,

51evidence, and remediation guidance.51**Triaged**, or **In Progress** status. Search the list or use **Filters** to

52narrow the results. The **Severity and status** chart summarizes the matching

53findings.

54 

55<figure className="not-prose my-8">

56 <CodexScreenshot

57 alt="Codex Security Cloud findings filtered to New, Triaged, and In Progress, with a severity and status chart above the findings table"

58 lightSrc={cloudFindings.src}

59 darkSrc={cloudFindings.src}

60 variant="no-wallpaper"

61 maxHeight="560px"

62 imageClass="border border-subtle"

63 panOnMobile

64 />

65 <figcaption className="mt-3 text-sm text-secondary">

66 Filter and review open findings. Repositories, findings, and counts are

67 fictional and match the overview example.

68 </figcaption>

69</figure>

70 

71Select an issue to review its affected code, validation evidence, and

72remediation guidance.

52 73 

53When a finding offers **Fix with Codex**, select it to generate a proposed74When a finding offers **Fix with Codex**, select it to generate a proposed

54patch. Review the patch before selecting **Create draft pull request**.75patch. Review the patch before selecting **Create draft pull request**.


57 78 

58To review changes as new commits arrive:79To review changes as new commits arrive:

59 80 

601. Select **New scan**, then choose the repository and Cloud environment.811. Select **Scan**, then choose the repository and review the environment.

612. Under **What to scan**, select **Commit changes**.822. Under **Scan Method**, select **Continuous Scanning**. Codex Security scans

623. Select **Create**.83 the repository's default branch.

843. Choose **Scan commit history from**. Longer windows provide more context,

85 but the initial scan takes longer.

864. Optionally add threat model scoping guidance.

875. Select **Create**.

88 

89<figure className="not-prose my-8">

90 <CodexScreenshot

91 alt="New Scan settings with the fictional acme/web-app repository, continuous scanning, the main branch, and one week of commit history"

92 lightSrc={cloudScan.src}

93 darkSrc={cloudScan.src}

94 variant="no-wallpaper"

95 maxHeight="560px"

96 imageClass="border border-subtle"

97 panOnMobile

98 />

99 <figcaption className="mt-3 text-sm text-secondary">

100 Configure continuous scanning. The repository shown is fictional.

101 </figcaption>

102</figure>

63 103 

64To adjust monitoring, open **Repositories**, select the repository, and open104To adjust monitoring, open **Repositories**, select the repository, and open

65**Monitoring settings**. You can change the Cloud environment, choose how105**Monitoring settings**. You can change the Cloud environment, choose how