auditLog
Fetch paginated Audit Log collection
Arguments
acting_user_id
· ID · Use this to retrieve the log of all the actions taken by a specific user. Pass in 'no_author' to retrieve only audit events performed automatically (with no user). Leave blank for all users. resource_name
· AuditEventResourceName · Use this in conjunction with the resource_id to retrieve the audit log of a specific resource. Leave blank for all resources. resource_id
· ID · Use this in conjunction with the resource_name to retrieve the audit log of a specific resource. Leave blank for all resources. event_type
· AuditEventType · Use this to filter by the type of audit event. occurred_after
· ISO8601DateTime · When passed in, only audit events that occurred after the specified DateTime are returned. occurred_before
· ISO8601DateTime · When passed in, only audit events that occurred before the specified DateTime are returned. Returns
AuditEventPaginationConnection Example
query auditLog( $acting_user_id: ID $resource_name: AuditEventResourceName $resource_id: ID $event_type: AuditEventType $occurred_after: ISO8601DateTime $occurred_before: ISO8601DateTime $order_by: AuditEventOrderKeys $after: String $before: String $first: Int $last: Int) { auditLog( acting_user_id: $acting_user_id resource_name: $resource_name resource_id: $resource_id event_type: $event_type occurred_after: $occurred_after occurred_before: $occurred_before order_by: $order_by after: $after before: $before first: $first last: $last ) { edges nodes page_info total_count }}