Skip to main content
Module

x/windmill/mod.ts>AuditApi#listAuditLogs

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
method AuditApi.prototype.listAuditLogs
import { AuditApi } from "https://deno.land/x/windmill@v1.28.1/mod.ts";

list audit logs (requires admin privilege)

Parameters

workspace: string
optional
page: number

which page to return (start at 1, default 1)

optional
perPage: number

number of items to return for a given page (default 30, max 100)

optional
before: Date

filter on created before (exclusive) timestamp

optional
after: Date

filter on created after (exclusive) timestamp

optional
username: string

filter on exact username of user

optional
operation: string

filter on exact or prefix name of operation

optional
resource: string

filter on exact or prefix name of resource

optional
actionKind:
| "Create"
| "Update"
| "Delete"
| "Execute"

filter on type of operation

optional
_options: Configuration

Returns

Promise<Array<AuditLog>>