Get list of Access Association for the given review task

get

/access-governance/access-reviews/20250331/accessReviews/{accessReviewId}/associations

Returns list of Access Association for the given access review.

Request

Path Parameters
Query Parameters
  • Minimum Value: 1
    Maximum Value: 1000
    The maximum number of items to return.
    Default Value: 10
  • Minimum Length: 1
    A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
  • The sort by for associations. The default value is position.
    Default Value: position
    Allowed Values: [ "position" ]
  • The sort order to use, either 'ASC' or 'DESC'.
    Allowed Values: [ "ASC", "DESC" ]
Header Parameters
  • The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Back to Top

Response

Supported Media Types

200 Response

The access review associations.
Headers
  • For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : AssociationSummaryCollection
Type: object
List of Associations.
Show Source
Nested Schema : items
Type: array
List of Associations.
Show Source
Nested Schema : AssociationSummary
Type: object
The Association summary for the access review.
Show Source
Nested Schema : accesses
Type: array
The list of AccessBundles or Roles.
Show Source
Nested Schema : identityCollections
Type: array
The list of Identity Collections.
Show Source
Nested Schema : IdNameObject
Type: object
The Attribute key or Operator condition for the Membership rule.
Show Source

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

429 Response

Too Many Requests
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

Default Response

Unknown Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Back to Top

Examples

The following example shows how to retrieve access associations for a policy. This helps to retrieve policy associations, where an identity collection is granted access to a resource through an access bundle or roles.

cURL Example

curl -i -X GET \
   -H "Authorization:Bearer <your access token>" \
 '${service-instance-url}/access-governance/access-reviews/accessReviews/${accessReviewId}/associations

Example of the Response Body

The following example shows the contents of the response body in JSON format:

{
  "items": [
    {
      "id": "421xxxx-c5e3-4781-aeb9-f417xxxxxx",
      "type": "ACCESS_BUNDLE",
      "identityCollections": [
        {
          "id": "236xxxx-3bd7-495a-a559-dacexxxxxx",
          "name": "IC_Database.QA",
          "displayName": "IC_Database.QA"
        }
      ],
      "accesses": [
        {
          "id": "49a0xxxx-a522-4b7d-b4a8-5b3dxxxxxx",
          "name": "DBAT_AB",
          "displayName": "DBAT_AB"
        }
      ],
      "position": 0
    }
  ]
}
If you use an access review task id other than policy access review ID or no actionable statements are included, then you'll receive the following response:
{
    "items": [
    ]
}
Back to Top