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_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
My feature request isn't a duplicate of 16695 or 15751.
This feature request hasn't received enough upvotes, so I'm going to close it.