# 코드 검사와 통합

외부에서 code scanning를 수행한 다음 그 결과를 GitHub에 표시하거나, 리포지토리의 code scanning 활동을 수신 대기하는 웹후크를 구성할 수 있습니다.

## 코드 검사와의 통합 정보

> \[!NOTE]
> 이 기능을 사용하려면 사이트 관리자가 먼저 code scanning을(를) 사용하도록 설정해야 합니다. 자세한 내용은 [어플라이언스에 대한 코드 검사 구성](/ko/enterprise-server@3.22/code-security/how-tos/secure-at-scale/configure-enterprise-security/configure-specific-tools/configuring-code-scanning-for-your-appliance)을(를) 참조하세요.
>
> 엔터프라이즈 소유자가 엔터프라이즈 수준에서 code scanning 정책을 설정한 경우 GitHub Code Security을(를) 활성화하거나 비활성화하지 못할 수 있습니다. 자세한 내용은 [엔터프라이즈에 대한 코드 보안 및 분석을 위한 정책 적용](/ko/enterprise-server@3.22/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise)을(를) 참조하세요.

내에서 code scanning실행하는 GitHub 대신 CodeQL CLI 또는 다른 정적 분석 도구를 사용하여 다른 곳에서 분석을 수행한 다음 결과를 업로드할 수 있습니다. 자세한 내용은 [사용자의 기존 CI 시스템으로 코드 검색 사용하기](/ko/enterprise-server@3.22/code-security/how-tos/find-and-fix-code-vulnerabilities/integrate-with-existing-tools/use-with-existing-ci-system)을(를) 참조하세요.

여러 구성을 사용하여 코드 검사를 실행할 때 경고의 분석 원본이 여러 개 있는 경우가 가끔 있습니다. 경고에 여러 분석 원본이 있는 경우 경고 페이지에서 각 분석 원본에 대한 경고 상태를 볼 수 있습니다. 자세한 내용은 [코드 검사 경고](/ko/enterprise-server@3.22/code-security/concepts/code-scanning/code-scanning-alerts#about-alerts-from-multiple-configurations)을(를) 참조하세요.

## 웹후크와 통합

code scanning 웹후크를 사용하여 리포지토리의 GitHub Apps 이벤트를 구독하는 통합(예: [](/ko/enterprise-server@3.22/apps/creating-github-apps/registering-a-github-app) 또는 OAuth apps)을 구축하거나 구성할 수 있습니다. 예를 들어, 리포지토리에 새 GitHub 경고가 추가되면 code scanning에 이슈를 생성하거나 Slack 알림을 보내는 통합을 구축할 수 있습니다. 자세한 내용은 [웹후크 설명서](/ko/enterprise-server@3.22/webhooks) 및 [웹후크 이벤트 및 페이로드](/ko/enterprise-server@3.22/webhooks/webhook-events-and-payloads#code_scanning_alert)을(를) 참조하세요.

## 추가 읽기

* [코드 검사](/ko/enterprise-server@3.22/code-security/concepts/code-scanning/code-scanning)
* [사용자의 기존 CI 시스템으로 코드 검색 사용하기](/ko/enterprise-server@3.22/code-security/how-tos/find-and-fix-code-vulnerabilities/integrate-with-existing-tools/use-with-existing-ci-system)
* [코드 검사에 대한 SARIF 지원](/ko/enterprise-server@3.22/code-security/reference/code-scanning/sarif-files/sarif-support)