For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
기본 탐색 메뉴
Theme
Codex

Codex use case

GitHub Actions로 맞춤형 검토 워크플로우 만들기

직접 설정한 조건에 따라 보안 검사를 실행하고 나중에 검토할 수 있도록 결과를 저장하세요.

Difficulty Intermediate
Time horizon Long-running

보안 검토를 개발 과정의 정규 절차로 만드세요. GitHub Actions 워크플로우를 구성해 Codex Security로 제안된 변경 사항을 검사하고 팀이 확인할 수 있도록 결과를 저장하세요.

Best for

  • GitHub Actions에 보안 검사를 추가하려는 플랫폼 보안팀과 애플리케이션 보안팀
  • 검토를 실행할 조건과 스캔 범위를 직접 설정하는 리포지터리 관리자
  • 보안 검토를 반복해서 수행하고 발견된 보안 이슈, 근거 자료, 검사 범위 보고서를 보관해야 하는 팀

Contents

    ← All use cases

    GitHub Actions로 맞춤형 검토 워크플로우 만들기

    직접 설정한 조건에 따라 보안 검사를 실행하고 나중에 검토할 수 있도록 결과를 저장하세요.

    보안 검토를 개발 과정의 정규 절차로 만드세요. GitHub Actions 워크플로우를 구성해 Codex Security로 제안된 변경 사항을 검사하고 팀이 확인할 수 있도록 결과를 저장하세요.

    Intermediate
    Long-running

    보안 검토를 개발 과정의 정규 절차로 만드세요. GitHub Actions 워크플로우를 구성해 Codex Security로 제안된 변경 사항을 검사하고 팀이 확인할 수 있도록 결과를 저장하세요.

    Intermediate
    Long-running

    Best for

    • GitHub Actions에 보안 검사를 추가하려는 플랫폼 보안팀과 애플리케이션 보안팀
    • 검토를 실행할 조건과 스캔 범위를 직접 설정하는 리포지터리 관리자
    • 보안 검토를 반복해서 수행하고 발견된 보안 이슈, 근거 자료, 검사 범위 보고서를 보관해야 하는 팀

    Codex에서 보안 검토를 의무화하는 대신 Codex Security CLI를 실행하는 사용자 지정 워크플로우를 만들 수도 있습니다. 이 워크플로우는 쉽게 사용할 수 있도록 GitHub Action으로 제공합니다.

    name: Codex Security review
    on:
      workflow_dispatch:
      schedule:
        - cron: '23 7 * * 1' # Mondays at 07:23 UTC
    
    permissions:
      contents: read
    
    jobs:
      security:
        runs-on: ubuntu-24.04
        steps:
          - name: Set up the Ubuntu sandbox
            run: |
              sudo apt-get update
              sudo apt-get install --yes bubblewrap apparmor-profiles
              sudo apparmor_parser -r /usr/share/apparmor/extra-profiles/bwrap-userns-restrict
    
          - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
            with:
              persist-credentials: false
          - uses: openai/codex-security@3f61e5150981a5087c32e4395bbaa8ce5ce0c3e3 # action-v0.3.0
            with:
              model: gpt-5.6-sol
              effort: high
            env:
              OPENAI_API_KEY: ${{ secrets.CODEX_SECURITY_API_KEY }}

    이런 워크플로우는 GitLab, BitBucket, Jenkins 등 다른 소스 코드 관리 도구에도 적용할 수 있습니다. 자세한 내용은 CI에서 Codex Security 실행하기를 참고하세요.

    Related use cases