글로벌

글로벌에 대한 REST API 작업

개요

circle-info

를 입력하세요 /globals REST API 작업은 Panther 버전 1.98부터 오픈 베타 상태로 제공되며 모든 고객이 사용할 수 있습니다. 버그 리포트 및 기능 요청은 Panther 지원팀에 공유해 주세요.

다음과 상호작용하려면 이 API 작업을 사용하세요 글로벌 헬퍼 함수 (Panther에서 "global helpers" 또는 단순히 "globals"라고도 함).

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

필수 권한

  • 다음에 대해 GET 작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다 규칙 보기 또는 정책 보기 권한을 선택하세요.

  • 다음에 대해 POST, PUTDELETE 작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다 규칙 관리 또는 정책 관리 권한을 선택하세요.

작업

create global

post
Authorizations
X-API-KeystringRequired
Body
bodystringRequired

The python body of the global

descriptionstringOptional

The description of the global

idstringRequired

The id of the global

tagsstring[]Optional

The tags for the global

Responses
post
/globals

get global

get
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the global to fetch

Responses
get
/globals/{id}

put global

put

put creates or updates a global

Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

The id of the global

Body
bodystringRequired

The python body of the global

descriptionstringOptional

The description of the global

tagsstring[]Optional

The tags for the global

Responses
chevron-right
201

201 returned if the item was created

application/json
put
/globals/{id}

delete global

delete
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the global to delete

Responses
delete
/globals/{id}

No content

list globals

get
Authorizations
X-API-KeystringRequired
Query parameters
cursorstringOptional

the pagination token

limitinteger · int64Optional

the maximum results to return

Default: 100
name-containsstringOptional

Substring search by name (case-insensitive)

created-bystringOptional

Only include rules whose creator matches this user ID or actor ID

last-modified-bystringOptional

Only include rules last modified by this user ID or actor ID

Responses
get
/globals
200

OK response.

Last updated

Was this helpful?