Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/mod.ts>AuditApi

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
class AuditApi
import { AuditApi } from "https://deno.land/x/windmill@v1.26.0/mod.ts";

Constructors

new
AuditApi(
configuration: Configuration,
requestFactory?: AuditApiRequestFactory,
responseProcessor?: AuditApiResponseProcessor,
)

Properties

private
api: ObservableAuditApi

Methods

getAuditLog(
workspace: string,
id: number,
_options?: Configuration,
): Promise<AuditLog>

get audit log (requires admin privilege)

listAuditLogs(
workspace: string,
page?: number,
perPage?: number,
before?: Date,
after?: Date,
username?: string,
operation?: string,
resource?: string,
actionKind?:
| "Create"
| "Update"
| "Delete"
| "Execute"
,
_options?: Configuration,
): Promise<Array<AuditLog>>

list audit logs (requires admin privilege)