Skip to main content

List Grants

List Grants returns a list of grants

Query Parameters
    statuses string[]
    accountIds string[]
    accountTypes string[]
    resourceIds string[]
    providerTypes string[]
    providerUrns string[]
    resourceTypes string[]
    resourceUrns string[]
    roles string[]
    createdBy string
    orderBy string[]
    owner string
    size int64
    offset int64
    q string
Responses

A successful response.


Schema
    grants object[]
  • Array [
  • id string
    status string
    accountId string
    accountType string
    resourceId string
    role string
    permissions string[]
    expirationDate date-time
    appealId string
    revokedBy string
    revokedAt date-time

    Timestamp when the grant is revoked

    revokeReason string
    createdBy string
    createdAt date-time

    Creation time of the grant

    updatedAt date-time

    Last update time of the grant

    resource object
    id string

    Resource unique identifier

    providerType string

    Type of the provider that manages this resource

    providerUrn string

    Unique resource urn

    type string

    Type of the resource. Depends on the provider type. For example, for BigQuery, it can be dataset, table, view, etc.

    urn string

    Unique resource urn

    name string
    details object

    Additional information of the resource that can be updated from Guardian

    labels object
    property name* string
    createdAt date-time

    Resource creation timestamp

    updatedAt date-time

    Resource last update timestamp

    isDeleted boolean

    Whether the resource is deleted or not

    parentId string

    Parent resource id

    children object[]

    List of child resources

  • Array [
  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
  • ]
  • appeal object
    id string
    resourceId string
    policyId string
    policyVersion int64
    status string
    accountId string
    role string
    options object
    expirationDate date-time
    duration string
    labels object
    property name* string
    resource object
    id string

    Resource unique identifier

    providerType string

    Type of the provider that manages this resource

    providerUrn string

    Unique resource urn

    type string

    Type of the resource. Depends on the provider type. For example, for BigQuery, it can be dataset, table, view, etc.

    urn string

    Unique resource urn

    name string
    details object

    Additional information of the resource that can be updated from Guardian

    labels object
    property name* string
    createdAt date-time

    Resource creation timestamp

    updatedAt date-time

    Resource last update timestamp

    isDeleted boolean

    Whether the resource is deleted or not

    parentId string

    Parent resource id

    children object[]

    List of child resources

  • Array [
  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
  • ]
  • approvals object[]
  • Array [
  • id string
    name string
    appealId string
    status string
    actor string
    policyId string
    policyVersion int64
    approvers string[]
    appeal
    createdAt date-time

    Approval creation timestamp

    updatedAt date-time

    Approval last update timestamp

    reason string
  • ]
  • createdAt date-time

    Creation time of the appeal

    updatedAt date-time

    Last update time of the appeal

    details object
    accountType string
    createdBy string
    creator
    permissions string[]
    grant object
    0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    description string
    isPermanent boolean
    source string
    statusInProvider string
    owner string
  • ]
  • total int32
Loading...