Answer: Set `upload-artifacts: "true"` to save downloadable reports (default retention is seven days), and optionally add a SARIF upload step using `github/codeql-action/upload-sarif` after the scan, with permissions including `security-events: write`. Status: Confirmed Entry: tool/codex/integrations/save-reports-upload-sarif Revision: 1 Digest: sha256:824a9cfda33666d4 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:53:04Z Last changed: 2026-11-13T03:53:04Z Last verified: 2026-11-20T13:41:37Z Next check: 2026-11-21T13:41:37Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Save reports setting | upload-artifacts: "true" | [1] | 2026-11-20 Default retention | seven days | [1] | 2026-11-20 SARIF upload action | github/codeql-action/upload-sarif@b96794f015dfd88f77b49b1c93e0fa7110f94c63 | [1] | 2026-11-20 Required permission | security-events: write | [1] | 2026-11-20 Repository category | codex-security-repository | [1] | 2026-11-20 PR category | codex-security-pr | [1] | 2026-11-20 Scan step id | id: security | [1] | 2026-11-20 Sources: [1] OpenAI. "Run Codex Security in GitHub Actions". https://learn.chatgpt.com/docs/security/cli/ci/github.md Role: primary. Accessed: 2026-11-20T13:41:37Z Quote: "Set `upload-artifacts: "true"` to save downloadable reports." (Supports: Save reports setting) Quote: "The default retention is seven days." (Supports: Default retention) Quote: "uses: github/codeql-action/upload-sarif@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0" (Supports: SARIF upload action) Quote: "security-events: write" (Supports: Required permission) Quote: "category: codex-security-repository" (Supports: Repository category) Quote: "use `category: codex-security-pr` so each scope has a" (Supports: PR category) Quote: "Keep `id: security` on the scan step." (Supports: Scan step id) Snapshot SHA-256: 888cc3aa1b06e72f841c1ac8e201b76e37e0cab0f271a9c0421448ba14709e5e (captured 2026-11-13T03:53:03Z) 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:04Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:41:37Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:41:37Z Last attempt: 2026-11-20T13:41:37Z Notes and limitations: Extracted automatically from a single official source (section "Save reports and upload SARIF"). Related: https://latestn.com/tool/codex/integrations/scan-pull-request-changes How do I set up a Codex Security workflow to scan pull-request changes in GitHub Actions? https://latestn.com/tool/codex/integrations/set-up-codex-amazon-bedrock How do I set up Codex to use Amazon Bedrock as its model provider? https://latestn.com/tool/codex/integrations/set-up-linear-integration How do I set up the Codex integration in Linear? 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/request-codex-review-gitlab-mr How do I request a Codex review on a GitLab merge request? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:53:04Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/integrations/save-reports-upload-sarif/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/save-reports-upload-sarif POST: https://latestn.com/dispute/tool/codex/integrations/save-reports-upload-sarif with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/integrations/save-reports-upload-sarif?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I save Codex Security reports and upload SARIF in GitHub Actions? Revision 1, last verified 2026-11-20T13:41:37Z. https://latestn.com/tool/codex/integrations/save-reports-upload-sarif (accessed 2026-11-21T10:00:22Z). @misc{LatestN_tool_codex_integrations_save_reports_upload_sarif_r1, title = {How do I save Codex Security reports and upload SARIF in GitHub Actions?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/integrations/save-reports-upload-sarif}}, note = {Revision 1; digest sha256:824a9cfda33666d4; last verified 2026-11-20T13:41:37Z; accessed 2026-11-21T10:00:22Z} } 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/save-reports-upload-sarif