Skip to content

ListResourceAttributes

GET/api/v1/resources/{resource}/resourceattributes

List attributes for a given resource. Attributes are sourced from external systems such as Okta.

Example request

curl \
-H "Authorization: Bearer ${OBLIQUE_API_KEY}" \
"https://us.oblique.security/api/v1/resources/{resource}/resourceattributes"

Set OBLIQUE_API_KEY to your API key.

Path parameters

  • parentstringrequired

    Format: resources/{resource}, or resources/- to list across all resources.

Query parameters

  • pageSizeinteger (int32)

    The maximum number of resource attributes to return. This service may return fewer than this value.

  • pageTokenstring

    A page token, received from a previous ListResourceAttributes call.

  • filterstring

    Optional filter to be used. This currently only supports filtering by integration name:

    filter=integration="integrations/okta"

Response

200ListResourceAttributesResponse
  • resourceAttributesResourceAttribute[]
    • namestring

      Assigned by Oblique.

    • createTimestring (date-time)read-only

      Create timestamp of the attribute. This is the time of the first sync that detected the attribute.

    • updateTimestring (date-time)read-only

      The last time that the attribute was modified.

    • integrationstringrequired

      The integration that manages the attribute.

      Format: integrations/{integration}

    • keystringrequired

      The key of the attribute.

    • valuestringrequired

      The value of the attribute.

  • nextPageTokenstring

    A token, which can be sent as page_token to retrieve the next page.

Errors

StatusMeaning
400Malformed request
401Missing or invalid API key
403Not allowed for this API key
404Not found
429Too many requests
500Internal server error