The Access Reports API is a convenient way of generating reports on users and resources for your team. You can use Okta Workflows to interact with these operations and store generated reports in a Workflows Table.
Lists all access reports
OK
{- "list": [
- [
- {
- "created_at": "2023-08-25T12:00:00.000000Z",
- "details": {
- "user": {
- "id": "5fdf5ae9-e4db-4aae-8127-c2ebffe747f6",
- "resource_type_filter": "server"
}
}, - "id": "5fdf5ae9-e71b-423e-8a87-c2ebffe407f6",
- "status": "COMPLETED",
- "updated_at": "2023-08-25T12:00:00.000000Z"
}
]
]
}
Create an access report. Each report must be connected to a specific user or resource.
Created
{- "user": {
- "id": "5fdf5ae9-e4db-4aae-8127-c2ebffe747f6",
- "resource_type_filter": "server"
}
}
{- "created_at": "2023-08-25T12:00:00.000000Z",
- "details": {
- "user": {
- "id": "5fdf5ae9-e4db-4aae-8127-c2ebffe747f6",
- "resource_type_filter": "server"
}
}, - "id": "5fdf5ae9-e71b-423e-8a87-c2ebffe407f6",
- "status": "COMPLETED",
- "updated_at": "2023-08-25T12:00:00.000000Z"
}
Retrieve the metadata of the specified access report
OK
{- "created_at": "2023-08-25T12:00:00.000000Z",
- "details": {
- "user": {
- "id": "5fdf5ae9-e4db-4aae-8127-c2ebffe747f6",
- "resource_type_filter": "server"
}
}, - "id": "5fdf5ae9-e71b-423e-8a87-c2ebffe407f6",
- "status": "COMPLETED",
- "updated_at": "2023-08-25T12:00:00.000000Z"
}
Downloads the specific access report for review. The CSV formatted report is included in the response.
OK