From 50321ba2aae01c413af98d5b878f64dfab434771 Mon Sep 17 00:00:00 2001 From: Bruno Quaresma Date: Tue, 20 Sep 2022 14:44:00 -0300 Subject: [PATCH] docs: Add missing audit logs filtering fields (#4133) * docs: Add missing audit logs filtering fields * Update docs/admin/audit-logs.md Co-authored-by: Ben Potter Co-authored-by: Ben Potter --- docs/admin/audit-logs.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/admin/audit-logs.md b/docs/admin/audit-logs.md index 93c9877075..3dab005701 100644 --- a/docs/admin/audit-logs.md +++ b/docs/admin/audit-logs.md @@ -23,7 +23,11 @@ In the Coder UI you can filter your audit logs using the pre-defined filter or b The supported filters are: - `resource_type` - The type of the resource. It can be a workspace, template, user, etc. You can [find here](https://pkg.go.dev/github.com/coder/coder@main/codersdk#ResourceType) all the resource types that are supported. +- `resource_id` - The ID of the resource. +- `resource_target` - The name of the resource. Can be used instead of `resource_id`. - `action`- The action applied to a resource. You can [find here](https://pkg.go.dev/github.com/coder/coder@main/codersdk#AuditAction) all the actions that are supported. +- `username` - The username of the user who triggered the action. +- `email` - The email of the user who triggered the action. ## Enabling this feature