Skip to content

Prepare managed policy validation for Windows sandbox provisioning - #42344

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/b76aa8959c515c6507c2eaf61af768efa1305253
Sep 2, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/b76aa8959c515c6507c2eaf61af768efa1305253

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Prepare managed policy validation for Windows sandbox provisioning

What changed

  • Add a Windows sandbox service validator that loads managed configuration while impersonating the provisioning client.
  • Reject elevated sandbox or network settings that conflict with managed requirements, including local binding and HTTP or SOCKS proxy-port restrictions.
  • Add a one-shot cloud configuration loader that bypasses the disk cache so policy checks use a fresh backend response without modifying cached configuration.
  • Keep the provisioning integration disabled until authenticated transport can supply the policy inputs.

Testing

  • Cover elevated sandbox restrictions, disabled networking, local binding, proxy-port classification, malformed policy, impersonation failure, and cache bypass behavior.

…42344)

## What changed

- Add a Windows sandbox service validator that loads managed configuration while impersonating the provisioning client.
- Reject elevated sandbox or network settings that conflict with managed requirements, including local binding and HTTP or SOCKS proxy-port restrictions.
- Add a one-shot cloud configuration loader that bypasses the disk cache so policy checks use a fresh backend response without modifying cached configuration.
- Keep the provisioning integration disabled until authenticated transport can supply the policy inputs.

## Testing

- Cover elevated sandbox restrictions, disabled networking, local binding, proxy-port classification, malformed policy, impersonation failure, and cache bypass behavior.

GitOrigin-RevId: b76aa8959c515c6507c2eaf61af768efa1305253
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/b76aa8959c515c6507c2eaf61af768efa1305253 branch from 410bb92 to c4ea729 Compare September 2, 2026 20:08
@copyberry
copyberry Bot merged commit c4ea729 into main Sep 2, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/b76aa8959c515c6507c2eaf61af768efa1305253 branch September 2, 2026 20:09
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 2, 2026

This branch was previously deployed

1 inactive deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants