Skip to main content

List Approvals

List Approvals returns a list of approvals

Query Parameters
    accountId string
    statuses string[]
    orderBy string[]
    createdBy string
    size int64
    offset int64
    appealStatuses string[]
    q string
    accountTypes string[]
    resourceTypes string[]
Responses

A successful response.


Schema
    approvals object[]
  • Array [
  • id string
    name string
    appealId string
    status string
    actor string
    policyId string
    policyVersion int64
    approvers string[]
    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 [
  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
  • ]
  • 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
    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
    isPermanent boolean
    source string
    statusInProvider string
    owner string
    description string
    createdAt date-time

    Approval creation timestamp

    updatedAt date-time

    Approval last update timestamp

    reason string
  • ]
  • total int32
Loading...