> For the complete documentation index, see [llms.txt](https://docs.panther.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.panther.com/ko/alerts/destinations/github.md).

# GitHub 대상

## 개요

대상은 룰, 정책, 시스템 상태 알러트, 그리고 룰 오류로부터 알러트를 수신하는 통합입니다. Panther는 GitHub를 알러트를 수신할 대상로 구성하는 것을 지원합니다.

GitHub 대상에는 `저장소 이름` 과 API `토큰`.

알러트가 GitHub 대상로 전달되면 저장소에 Issue를 생성합니다. 저장소에서는 Issues가 활성화되어 있어야 합니다.

이 통합은 인프라가 AWS CloudFormation 또는 Terraform과 같은 코드로 정의되어 있을 때 가장 유용합니다.

## Panther에서 Github 알러트 대상 설정 방법

### 사전 요구 사항

Github에 Panther Alerts 전용 서비스 계정을 만드는 것을 권장합니다.

### Github에서 API 토큰 생성하기

GitHub 문서의 [개인 액세스 토큰 생성](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).

1. 저장소에 액세스할 수 있는 서비스 계정(또는 개발자 서비스 계정)을 사용하여 Github 계정에 로그인하세요.
2. 다음으로 이동합니다: **설정 > 개발자 설정**:\
   ![The image shows the Github "Developer Settings" page. In the upper right corner, a dropdown menu is expanded and the "Settings" option is highlighted.](/files/6043dd5ab4a4d38b7f187c5c34a1ce7d998a956a)
3. 개발자 설정 페이지에서 **개인 액세스 토큰** 을 클릭합니다. 왼쪽에서 **새 토큰 생성**.\
   ![On the Developer Settings page in Github, the Personal Access Tokens tab is selected. There is a token named "Panther Alerts."](/files/a120f7a457006c72a8fd9393d4939d6dd7de16a2)
4. 토큰을 구성하기 위해 양식을 작성합니다. 다음 항목을 선택하세요. `repo` 권한 확인란.
   * 참고: GitHub는 Issue 생성을 위한 세분화된 권한을 지원하지 않습니다. 이 수준의 액세스가 우려된다면 [전용 Issue 추적 저장소를 만드는 것을 고려하세요](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-an-issues-only-repository).
5. 클릭합니다 **토큰 생성**. 토큰을 복사하여 안전한 위치에 보관하세요. 다음 단계에서 필요합니다.
   * 참고: GitHub에서는 토큰을 다시 볼 수 없습니다. 이 토큰에 대한 액세스를 잃으면 새로 생성해야 합니다.\
     ![In the Github page for Personal Access Tokens, the token appears in a green tile. A black rectangle covers the actual token value in this screen shot.](/files/d54532930ba2178e7c43ec8096b23ec770845d47)

### Panther에서 Github 대상 구성하기

1. Panther Console에 로그인합니다.
2. 왼쪽 사이드바에서, 클릭 **알러트 대상**.
3. 클릭합니다 **+첫 번째 대상 추가**.
   * 이미 대상을 만든 경우 **새로 만들기** 페이지 오른쪽 상단에서 새 대상을 추가하세요.
4. 클릭합니다 **GitHub**.
5. 대상을 구성하기 위해 양식을 작성하세요:
   * **표시 이름**: 설명적인 이름을 입력하세요.
   * **저장소 이름**: Github 저장소 이름을 입력하세요. 형식은 다음과 같습니다 `owner/repo_name`.
   * **토큰**: 이 문서의 이전 단계에서 Github에서 생성한 토큰을 입력하세요.
   * **심각도**: 이 대상로 보낼 알러트의 심각도 수준을 선택하세요.
   * **알러트 유형**: 이 대상로 보낼 알러트 유형을 선택하세요.
   * **로그 유형**: 기본적으로 모든 로그 유형의 알러트를 전송합니다. 특정 로그 유형의 알러트만 보내려면 여기에 로그 유형을 지정하세요.
   * **수동 전송 허용**: 이 토글을 켜서 [알러트를 수동으로 전송](https://docs.panther.com/alerts#manual-alert-dispatch) 할 수 있게 하려면 ON으로 설정하세요.\
     ![In the Panther Console, the "Configure your Github Destination" page is displayed. It contains fields for Display Name, Repository Name, Token, Severity, Alert Types, and Log Types.](/files/8547804526aae79ffce44d2b37fad217aa9e5874)
6. 클릭합니다 **대상 추가**.
7. 마지막 페이지에서 선택적으로 **테스트 알러트 보내기** 를 클릭하여 통합을 테스트하세요. 완료되면 **설정 완료**.

## 대상에 대한 추가 정보

알러트 라우팅 순서, 대상 수정 또는 삭제, 워크플로 자동화에 대한 자세한 내용은 Panther 문서를 참조하세요: [대상](https://docs.panther.com/destinations).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.panther.com/ko/alerts/destinations/github.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
