> 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/discord.md).

# Discord 대상

## 개요

대상은 룰, 정책, 시스템 상태 알림, 그리고 룰 오류로부터 알림을 받는 통합입니다. Panther는 Discord를 알림을 받을 대상으로 구성하는 것을 지원합니다.

## Panther 알림을 Discord로 보내도록 구성하는 방법

### 사전 요구 사항

* Discord 서버에서 새 채널을 만들거나 Panther 알림을 보낼 기존 채널이 무엇인지 확인하세요.

### 1단계: Discord 채널의 웹훅 URL 얻기

알림을 보내려는 Discord 채널에 대해 다음 단계를 따르세요:

1. Discord에서 서버를 선택합니다. 아래에서 *텍스트 채널*, 사용하려는 Discord 채널을 찾습니다. 선택하세요 **채널 편집(기어 아이콘)**.

   <figure><img src="/files/acdcab980fc611e752867a09159f88f670c2f5fd" alt="In Discord, the gear icon next to &#x22;#general&#x22;, under &#x22;Text Channels&#x22; is highlighted."><figcaption></figcaption></figure>
2. 다음을 클릭합니다: **통합** 를 선택하면 **웹훅 만들기**.

   <figure><img src="/files/2ad30cd5f7a1fc20b0a652c7bd270307fdbd1e21" alt="In Discord on the Integrations page, there is a button in the center of the page labeled &#x22;Create Webhook.&#x22;"><figcaption></figcaption></figure>
3. Discord는 기본 이름으로 새 웹훅을 생성합니다. **Spidey Bot**)을 클릭하여 확장하고 세부 정보를 확인하세요.

   <figure><img src="/files/93db068e62b5b9adf2692459a26d2cfb92eeb1c4" alt="In Discord under the &#x22;New Webhook&#x22; button, there is a webhook called &#x22;Spidey Bot.&#x22;"><figcaption></figcaption></figure>
4. 선택적으로 웹훅 이름을 변경한 다음 **변경 사항 저장**.
   * 알림이 전달될 때 웹훅 이름이 채널의 발신자로 표시됩니다.

     <figure><img src="/files/0b12687e7a84e8f1d2b4c56d0a89fb861295b41e" alt="In Discord, the webhook details are expanded. &#x22;My Discord Destination&#x22; has been typed into the &#x22;Name&#x22; field."><figcaption></figcaption></figure>
5. 다음을 클릭합니다: **웹훅 URL 복사**. 다음 단계에서 이 값이 필요합니다.

Discord에서 웹훅 사용에 대한 자세한 내용은 [Discord의 웹훅 리소스 문서](https://discord.com/developers/docs/resources/webhook).

### 2단계: Panther에서 웹훅 통합 생성

1. Panther Console에서 다음으로 이동합니다, **구성 > 알러트 대상.**
2. 다음을 클릭합니다: **+ 첫 번째 대상 추가**.
   * 이미 대상을 생성한 경우, 클릭하세요 **새로 만들기** 페이지 오른쪽 상단에서 새 대상을 추가하세요.
3. 다음을 클릭합니다: **Discord**.
4. "Webhook 대상 구성" 페이지에서 양식을 작성하세요:
   * **표시 이름:** 설명적인 이름을 입력하세요.
   * **Discord 웹훅 URL**: 1단계에서 얻은 Discord 웹훅 URL을 입력하세요.
     * 웹훅 URL은 다음 형식을 따릅니다: `https://discord.com/api/webhooks/<token-string>`
   * **심각도**: 이 대상으로 보낼 알러트의 심각도 수준을 선택하세요.
   * **알러트 유형**: 이 대상으로 보낼 알러트 유형을 선택하세요.
   * **로그 유형**: 기본적으로 모든 로그 유형의 알러트를 전송합니다. 특정 로그 유형의 알러트만 보내려면 여기에 로그 유형을 지정하세요.
   * **수동 전송 허용**: 수동으로 전송할 수 있도록 하려면 이 토글을 켜세요 [알러트를 수동으로 전송](https://docs.panther.com/alerts#manual-alert-dispatch) 이 대상으로.\
     ![](/files/d1ca45c1c746ebd1681a576de2ab642dd5acaa4f)
5. 다음을 클릭합니다: **대상 추가**.
6. 다음을 클릭합니다: **테스트 알러트 보내기** 올바르게 작동하는지 확인하기 위해.
   * 이제 Discord 채널에 테스트 이벤트가 있어야 합니다.
7. 다음을 클릭합니다: **설정을 완료하세요.**

## 테스트 알러트 생성

다음을 클릭합니다: **테스트 알러트** 알러트를 생성하여 Discord로 전송합니다. 알러트의 페이로드는 아래에 표시됩니다:

```json
{"id":"Test.알러트","createdAt":"2022-04-26T03:17:32.099054303Z","severity":"INFO","type":"룰","link":"https://domain.runpanther.net","title":"이것은 테스트 알러트입니다","name":"테스트 알러트","alertId":"Test.알러트","alertContext":{},"description":"이것은 테스트 알러트입니다","runbook":"막히셨나요? 문서를 확인하세요: https://docs.runpanther.io","tags":["테스트"],"version":"1"}
```

알러트가 Discord에 수신되면 Discord의 채널로 메시지가 전송됩니다:

<figure><img src="/files/74f8ace1140b8ea0eb6367ef75ea522fc8645207" alt="The channel in Discord contains a test alert."><figcaption></figcaption></figure>


---

# 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/discord.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.
