Override allowed_domains for specific rules

Resolved 💬 3 comments Opened Apr 4, 2026 by coezbek Closed May 10, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

CLI

What feature would you like to see?

With Rules (https://developers.openai.com/codex/rules) we have a flexible way to allow|prompt|forbid specific matching commands. It would be helpful, if we could also specify/restrict the allowed_domains during the command invocation.

For instance, for cURL we would like to allow 127.0.01 / localhost or a specific dev server, but keep everyone else under the (stricter) application-wide configuration.

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #16695
  • #15751

Powered by Codex Action

coezbek · 4 months ago
Potential duplicates detected. Please review them and close your issue if it is a duplicate. Feature request: per-automation sandbox/profile overrides (isolate permissions per automation) #16695 feature: Per-profile exec policy rule toggling #15751 _Powered by Codex Action_

My feature request isn't a duplicate of 16695 or 15751.

etraut-openai contributor · 3 months ago

This feature request hasn't received enough upvotes, so I'm going to close it.