역할

역할에 대한 REST API 작업

개요

circle-info

설정은 /roles REST API 작업은 Panther 버전 1.112부터 오픈 베타 상태이며 모든 고객에게 제공됩니다. 버그 리포트 및 기능 요청은 Panther 지원 팀에 공유해 주세요.

이 API 작업을 사용하여 상호작용하세요 사용자 역할 HTTP 소스 설정 중에는 스키마를 선택하지 마십시오.

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

필수 권한

  • 다음을 위해 GET 작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다 사용자 정보 읽기 권한이 있어야 합니다.

  • 다음을 위해 한 후 Panther에서 볼 수 있기까지 몇 분 기다려야 할 수 있습니다.DELETE 작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다 사용자 관리 권한이 있어야 합니다.

작업

Create a role

post
Authorizations
X-API-KeystringRequired
Body
logTypeAccessstring[]Optional

The log types that the role can or cannot access, according to the logTypeAccessKind field. This field should be omitted if logTypeAccessKind has a value of ALLOW_ALL or DENY_ALL

logTypeAccessKindstring · enumOptional

Defines the role's access to log types. This field is required and has effect only if the datalake RBAC feature is enabled.

Possible values:
namestringRequired

The name of the role

Responses
chevron-right
200

OK response.

application/json
post
/roles

Get a role

get
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the role

Responses
chevron-right
200

OK response.

application/json
get
/roles/{id}

Update a role

post
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the role

Body
logTypeAccessstring[]Optional

The log types that the role can or cannot access, according to the logTypeAccessKind field. This field should be omitted if logTypeAccessKind has a value of ALLOW_ALL or DENY_ALL

logTypeAccessKindstring · enumOptional

Defines the role's access to log types. This field is required and has effect only if the datalake RBAC feature is enabled.

Possible values:
namestringRequired

The name of the role

Responses
chevron-right
200

OK response.

application/json
post
/roles/{id}

Delete a role

delete
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the role

Responses
chevron-right
200

OK response.

No content

delete
/roles/{id}

No content

List roles

get
Authorizations
X-API-KeystringRequired
Query parameters
name-containsstringOptional

A string to search for in the Role name

namestringOptional

An exact match of a role's name to return. If provided all other parameters are ignored

idstring[]Optional

Set of IDS to return

idsstringOptional

A comma delimited list of IDs

sort-dirstring · enumOptional

The sort direction of the results

Default: ascPossible values:
Responses
chevron-right
200

OK response.

application/json
get
/roles
200

OK response.

Last updated

Was this helpful?