데이터 모델

데이터 모델을 위한 REST API 작업

개요

이러한 API 작업을 사용하여 다음과 상호 작용하세요 데이터 모델 Panther에서.

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

필수 권한

  • 다음의 경우 GET 작업의 경우, API 토큰에 다음 권한이 있어야 합니다 로그 소스 보기 AlertModify

  • 다음의 경우 POST, PUTDELETE 작업의 경우, API 토큰에 다음 권한이 있어야 합니다 로그 소스 관리 AlertModify

작업

create data model

post
Authorizations
X-API-KeystringRequired
Body
bodystringOptional

The python body of the data model

descriptionstringOptional

The description of the data model

displayNamestringOptional

The name used for the data model

enabledbooleanOptional

enables/disables a data model

idstringRequired

The id of the data model

logTypesstring[]Optional

The log type this data model should associate to. NOTE: only one data model can be assigned to a log type

Responses
chevron-right
200

OK response.

application/json
bodystringOptional

The python body of the data model

createdAtstringOptional
descriptionstringOptional

The description of the data model

displayNamestringOptional

The name used for the data model

enabledbooleanOptional

enables/disables a data model

idstringOptional

The id of the data model

lastModifiedstringOptional
logTypesstring[]Optional

The log type this data model should associate to. NOTE: only one data model can be assigned to a log type

post
/data-models

get data model

get
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the data model to fetch

Responses
chevron-right
200

OK response.

application/json
bodystringOptional

The python body of the data model

createdAtstringOptional
descriptionstringOptional

The description of the data model

displayNamestringOptional

The name used for the data model

enabledbooleanOptional

enables/disables a data model

idstringOptional

The id of the data model

lastModifiedstringOptional
logTypesstring[]Optional

The log type this data model should associate to. NOTE: only one data model can be assigned to a log type

get
/data-models/{id}

put data model

put

put creates or updates a data model

Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

the id of the data model

Body
bodystringOptional

The python body of the data model

descriptionstringOptional

The description of the data model

displayNamestringOptional

The name used for the data model

enabledbooleanOptional

enables/disables a data model

idstringRequired

The id of the data model

logTypesstring[]Optional

The log type this data model should associate to. NOTE: only one data model can be assigned to a log type

Responses
chevron-right
200

200 returned if the item already existed

application/json
bodystringOptional

The python body of the data model

createdAtstringOptional
descriptionstringOptional

The description of the data model

displayNamestringOptional

The name used for the data model

enabledbooleanOptional

enables/disables a data model

idstringOptional

The id of the data model

lastModifiedstringOptional
logTypesstring[]Optional

The log type this data model should associate to. NOTE: only one data model can be assigned to a log type

put
/data-models/{id}

delete data model

delete
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the data model to delete

Responses
delete
/data-models/{id}

No content

list data models

get
Authorizations
X-API-KeystringRequired
Query parameters
cursorstringOptional

the pagination token

limitinteger · int64Optional

the maximum results to return

Default: 100
Responses
chevron-right
200

OK response.

application/json
nextstringOptional

pagination token for the next page of results

get
/data-models
200

OK response.

마지막 업데이트

도움이 되었나요?