mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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 <ben@coder.com> Co-authored-by: Ben Potter <ben@coder.com>
This commit is contained in:
co-authored by
Ben Potter
parent
bc47d7ce69
commit
50321ba2aa
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user