userAuditConnection
Paginated list of user audit data. Each page of the results will include at most 50 entries unless otherwise specified using the first parameter. Query the pageInfo.hasNextPage field to know whether all audits were returned.
Arguments
| Argument | Type | Description |
|---|---|---|
| first | Int | Returns the first n elements from the list. |
| after | String | An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results. |
| last | Int | Returns the last n elements from the list. |
| before | String | An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results. |
| sortOrder | SortOrder | User audit sort order. |
| sortBy | UserAuditSortField | Sort user audit by field. |
| filters | UserAuditFilter | Filters to apply to the returned user audits. |
Returns
Sample
{
"data": {
"userAuditConnection": {
"nodes": [
[
{
"actorType": "ACTOR_TYPE_UNSPECIFIED",
"auditType": "ANOMALY",
"id": "example-id",
"ipAddress": "example-string",
"message": "example-string",
"objectId": "example-string"
}
]
],
"pageInfo": {
"endCursor": "example-string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "example-string"
}
}
}
}