For the complete documentation index, see llms.txt. This page is also available as Markdown.

알러트 컨텍스트 태그

알러트 컨텍스트 태그에 대한 REST API 작업

개요

이러한 API 작업을 사용하여 다음과 상호 작용하세요 알러트 컨텍스트 태그 Panther에서.

API를 호출하려면, 다음을 참조하세요 Panther REST API 사용 방법 지침—다음을 포함하여 이 문서 페이지에서 직접 호출하는 방법에 대한 안내.

필요한 권한

  • 다음의 경우 GET 작업의 경우, API 토큰에는 다음이 있어야 합니다 알러트 읽기 권한이 있어야 합니다.

  • 다음의 경우 POST, DELETE, 그리고 패치 작업의 경우, API 토큰에는 다음이 있어야 합니다 알러트 관리 권한이 있어야 합니다.

작업

List all context tags

get

Returns all context tags, both managed (system-defined) and custom (user-defined)

Authorizations
X-API-KeystringRequired
Query parameters
cursorstringOptional

Pagination token from a previous request

limitinteger · int64 · min: 1 · max: 2000Optional

Maximum number of results to return

Default: 2000
managedbooleanOptional

Filter by tag type: true for managed tags only, false for custom tags only, omit for all tags

Responses
200

OK response.

application/json

Response for listing context tags

nextstringOptional

Pagination token for the next page of results

get/alert-context-tags

Create a custom context tag

post

Creates a new custom context tag. Returns 409 Conflict if the tag already exists.

Authorizations
X-API-KeystringRequired
Body

Request to create a custom context tag

tagstring · min: 1 · max: 30Required

The tag value to create

Pattern: ^[a-z0-9_-]+$
Responses
201

Created response.

No content

post/alert-context-tags

No content

Delete a custom context tag

delete

Deletes a custom context tag. Managed tags cannot be deleted.

Authorizations
X-API-KeystringRequired
Path parameters
tagstring · min: 1 · max: 30Required

The tag value to delete

Pattern: ^[a-z0-9_-]+$
Responses
204

No Content response.

No content

delete/alert-context-tags/{tag}

No content

Rename a custom context tag

patch

Atomically renames a custom context tag. Returns 404 if the tag doesn't exist, 409 if the target tag already exists.

Authorizations
X-API-KeystringRequired
Path parameters
tagstring · min: 1 · max: 30Required

The current tag value to rename

Pattern: ^[a-z0-9_-]+$
Body

Request to rename a custom context tag

tagstring · min: 1 · max: 30Required

The new tag value

Pattern: ^[a-z0-9_-]+$
Responses
204

No Content response.

No content

patch/alert-context-tags/{tag}

No content

마지막 업데이트

도움이 되었나요?