moo.sdk.audit.query_audit

moo.sdk.audit.query_audit(actor=None, action=None, target=None, limit=50)

Return recent audit rows, most recent first (staff-only at the verb layer).

Parameters:
  • actor – filter to a Player account

  • action – filter to one action kind

  • target – filter to an affected Object (by pk)

  • limit – maximum rows to return

Returns:

list of AuditLog rows