쿼리
저장된 및 예약된 쿼리에 대한 REST API 작업
개요
다음과 상호작용하려면 이 API 작업을 사용하세요 저장된 및 예약된 검색 Panther에서.
API를 호출하려면 Panther REST API 사용 방법 지침을 참조하세요— 이 문서 페이지에서 직접 호출하는 방법에 대한 안내.
API를 통해 관리되는 쿼리는 SQL로 작성되어야 하며, 다음을 사용할 수 없습니다 PantherFlow.
필수 권한
다음에 대해
GET작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다쿼리 데이터 레이크권한을 선택하세요.다음에 대해
POST,PUT및DELETE작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다저장된 검색 관리권한을 선택하세요.
작업
Authorizations
X-API-KeystringRequired
Body
descriptionstringOptional
The description of the query
namestringRequired
The name of the query
sqlstringRequired
The raw sql of the query
Responses
200
OK response.
application/json
400
bad_request: Bad Request response.
application/json
409
exists: Conflict response.
application/json
post
/queriesupdates a query
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired
Body
descriptionstringOptional
The description of the query
namestringRequired
The name of the query
sqlstringRequired
The raw sql of the query
Responses
200
OK response.
application/json
400
bad_request: Bad Request response.
application/json
404
not_found: Not Found response.
application/json
post
/queries/{id}Last updated
Was this helpful?

