Answer: To run Codex Security in GitLab CI/CD you need a GitLab project with a trusted runner that supports the Codex sandbox's user namespace, the Maintainer or Owner role, an OpenAI API key with Codex Security access, GitLab Ultimate 19.2 or later for SARIF 2.1.0 ingestion, and full Git history so merge request jobs can calculate the merge base. Status: Confirmed Entry: tool/codex/integrations/gitlab-ci-requirements Revision: 1 Digest: sha256:950ae67b1c5eadb1 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:53:05Z Last changed: 2026-11-13T03:53:05Z Last verified: 2026-11-20T13:41:38Z Next check: 2026-11-21T13:41:38Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of runner requirement | A GitLab project with a trusted runner that supports the Codex sandbox's user namespace. | [1] | 2026-11-20 role requirement | The Maintainer or Owner role in the GitLab project | [1] | 2026-11-20 API key requirement | An OpenAI API key with Codex Security access. | [1] | 2026-11-20 GitLab version | GitLab Ultimate 19.2 or later | [1] | 2026-11-20 history requirement | Full Git history | [1] | 2026-11-20 pipeline image contents | Node.js 26, Python 3, Git, `rg`, and the pinned Codex Security CLI | [1] | 2026-11-20 remediation requirement | an existing regression test and a runner that can run repository-controlled commands without protected credentials | [1] | 2026-11-20 Sources: [1] OpenAI. "Run Codex Security in GitLab CI/CD". https://learn.chatgpt.com/docs/security/cli/ci/gitlab.md Role: primary. Accessed: 2026-11-20T13:41:38Z Quote: "A GitLab project with a trusted runner that supports the Codex sandbox's user namespace." (Supports: runner requirement) Quote: "The Maintainer or Owner role in the GitLab project so you can configure" (Supports: role requirement) Quote: "An OpenAI API key with Codex Security access." (Supports: API key requirement) Quote: "GitLab Ultimate 19.2 or later for [SARIF 2.1.0 ingestion]" (Supports: GitLab version) Quote: "Full Git history so merge request jobs can calculate the merge base." (Supports: history requirement) Quote: "The pipeline image installs Node.js 26, Python 3, Git, `rg`, and the pinned Codex Security CLI." (Supports: pipeline image contents) Quote: "Automated remediation additionally requires an existing regression test and a runner that can run repository-controlled commands without protected credentials." (Supports: remediation requirement) Snapshot SHA-256: fa69ec34950e25f4796643bc83a42513c30f77b3b17bffd062e84fa16aeae197 (captured 2026-11-13T03:53:05Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:53:05Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:41:38Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:41:38Z Last attempt: 2026-11-20T13:41:38Z Notes and limitations: Extracted automatically from a single official source (section "Before you begin"). Related: https://latestn.com/tool/codex/integrations/gitlab-code-review-prerequisites What do I need before setting up Codex code review for GitLab? https://latestn.com/tool/codex/integrations/mcp-server-removal-alternative What should I use instead of the removed Codex MCP server? https://latestn.com/tool/codex/integrations/publish-draft-merge-request How do I publish a draft merge request with Codex Security fixes in GitLab? https://latestn.com/tool/codex/integrations/gateway-required-endpoints What endpoints must a gateway support for Codex to work with the Responses API? https://latestn.com/tool/codex/integrations/gateway-streaming-requirements How should a gateway handle streaming for Codex? https://latestn.com/tool/codex/integrations/github-action-prerequisites What are the prerequisites for using the Codex GitHub Action in a workflow? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:53:05Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/integrations/gitlab-ci-requirements/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/integrations/gitlab-ci-requirements POST: https://latestn.com/dispute/tool/codex/integrations/gitlab-ci-requirements with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/integrations/gitlab-ci-requirements?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What are the requirements to run Codex Security in GitLab CI/CD? Revision 1, last verified 2026-11-20T13:41:38Z. https://latestn.com/tool/codex/integrations/gitlab-ci-requirements (accessed 2026-11-21T09:54:04Z). @misc{LatestN_tool_codex_integrations_gitlab_ci_requirements_r1, title = {What are the requirements to run Codex Security in GitLab CI/CD?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/integrations/gitlab-ci-requirements}}, note = {Revision 1; digest sha256:950ae67b1c5eadb1; last verified 2026-11-20T13:41:38Z; accessed 2026-11-21T09:54:04Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/integrations/gitlab-ci-requirements