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 | Returns the elements in the list that occur after the specified cursor. |
| last | Int | Returns the last n elements from the list. |
| before | String | Returns the elements in the list that occur before the specified cursor. |
| sortOrder | SortOrder | User audit sort order. |
| sortBy | UserAuditSortField | Sort user audit by field. |
| filters | UserAuditFilter |
Returns
Sample
{
"data": {
"userAuditConnection": {
"nodes": [
[
{
"auditType": "ANOMALY",
"id": "example-id",
"ipAddress": "example-string",
"message": "example-string",
"objectId": "example-string",
"objectName": "example-string"
}
]
],
"pageInfo": {
"endCursor": "example-string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "example-string"
}
}
}
}