Skip to main content

Get Permissions

POST 

/api/v1/permission

Returns the results of a given IAM query.

If you set the Accept request header to appliation/json, the response object contains an array of items with permissions data.

The request parameter limit determines the number of itemsfor example, permissionsin the response object. If the amount of available data is greater than the specified limit, use the response object attribute data.nextPageToken as the request parameter pageToken in Get Permissions Next Page to request the next page of data.

If you set the Accept request header to text/csv, the response is a CSV that contains permissions details.

Request

Body

required

Model for Permission Search Request DTO

    id string

    Request user Id

    limit int32required

    Maximun number of items to return for the given query

    query stringrequired

    IAM RQL query

Responses

OK

Schema
    data object

    Model for Permission Search Result Data DTO

    items object[]

    Requested permissions list

  • Array [
  • accessedResourcesCount int64

    Accessed resource count

    destCloudAccount string

    Destination cloud account

    destCloudRegion string

    Destination cloud region

    destCloudResourceRrn string

    Destination cloud resource RRN

    destCloudServiceName string

    Destination cloud service name

    destCloudType string

    Destination cloud type

    destResourceId string

    Destination cloud resource id

    destResourceName string

    Destination cloud resource name

    destResourceType string

    Destination cloud resource type

    effectiveActionName string

    Effective action name

    exceptions object[]

    Permission exception list

  • Array [
  • messageCode string

    Message code

  • ]
  • grantedByCloudEntityId string

    Granted by cloud entity id

    grantedByCloudEntityName string

    Granted by cloud entity name

    grantedByCloudEntityRrn string

    Granted by cloud entity rrn

    grantedByCloudEntityType string

    Granted by cloud entity type

    grantedByCloudPolicyId string

    Granted by cloud policy Id

    grantedByCloudPolicyName string

    Granted by cloud policy name

    grantedByCloudPolicyRrn string

    Granted by cloud policy rrn

    grantedByCloudPolicyType string

    Granted by cloud policy type

    grantedByCloudType string

    Granted by cloud type

    id string

    Message id

    isWildCardDestCloudResourceName boolean

    Is destination cloud resource name a wildcard

    lastAccessDate string

    Last accessed data

    sourceCloudAccount string

    Source cloud account

    sourceCloudRegion string

    Source cloud region

    sourceCloudResourceRrn string

    Source cloud resource RRN

    sourceCloudServiceName string

    Source cloud service name

    sourceCloudType string

    Source cloud type

    sourceIdpDomain string

    Source IDP domain

    sourceIdpEmail string

    Source IDP email

    sourceIdpGroup string

    Source IDP group

    sourceIdpRrn string

    Source idp RRN

    sourceIdpService string

    Possible values: [AZURE_AD, OKTA, UNKNOWN]

    Source IDP service

    sourceIdpUsername string

    Source IDP user name

    sourcePublic boolean

    Is source public

    sourceResourceId string

    Source cloud resource id

    sourceResourceName string

    Source cloud resource name

    sourceResourceType string

    Source cloud resource type

  • ]
  • nextPageToken string

    Next page token

    searchedDestCloudResourceNames string[]

    Searched destination cloud resource names

    totalRows int64

    Total row count

    description string

    Search description

    id string

    Request user Id

    name string

    Search name

    query string

    Query string

    saved boolean

    Is search saved

    searchType string

    Search type

    timeRange object

    Model for Time Range DTO

    type string

    Time range type

    value string

    Time range value

Loading...