mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
5ffa6dae50
* added workspace actions entitlement * added workspace actions experiment * added new route for template enterprise meta * removing new route; repurposing old * add new fields to get endpoints * removed workspace actions experiment * added logic to enterprise template store * added new form fields * feature flagged new fields * fix validation * fixed submit btn * fix tests * changed ttl defaults * added FE tests * added BE tests * fixed lint * adjusted comment language * fixing unstaged changes check * fix test * Update coderd/database/migrations/000122_add_template_cleanup_ttls.down.sql Co-authored-by: Dean Sheather <dean@deansheather.com> * Update coderd/database/migrations/000122_add_template_cleanup_ttls.up.sql Co-authored-by: Dean Sheather <dean@deansheather.com> --------- Co-authored-by: Dean Sheather <dean@deansheather.com>
14 KiB
14 KiB
Audit Logs
Audit Logs allows Auditors to monitor user operations in their deployment.
Tracked Events
We track the following resources:
| Resource | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| APIKey login, logout, register, create, delete |
|
||||||||||||||||||||||||||||||||||||||||||||
| Group create, write, delete |
|
||||||||||||||||||||||||||||||||||||||||||||
| GitSSHKey create |
|
||||||||||||||||||||||||||||||||||||||||||||
| License create, delete |
|
||||||||||||||||||||||||||||||||||||||||||||
| Template write, delete |
|
||||||||||||||||||||||||||||||||||||||||||||
| TemplateVersion create, write |
|
||||||||||||||||||||||||||||||||||||||||||||
| User create, write, delete |
|
||||||||||||||||||||||||||||||||||||||||||||
| Workspace create, write, delete |
|
||||||||||||||||||||||||||||||||||||||||||||
| WorkspaceBuild start, stop |
|
||||||||||||||||||||||||||||||||||||||||||||
| WorkspaceProxy |
|
Filtering logs
In the Coder UI you can filter your audit logs using the pre-defined filter or by using the Coder's filter query like the examples below:
resource_type:workspace action:deleteto find deleted workspacesresource_type:template action:createto find created templates
The supported filters are:
resource_type- The type of the resource. It can be a workspace, template, user, etc. You can find here 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 ofresource_id.action- The action applied to a resource. You can find here 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.date_from- The inclusive start date with formatYYYY-MM-DD.date_to- The inclusive end date with formatYYYY-MM-DD.build_reason- To be used withresource_type:workspace_build, the initiator behind the build start or stop.
Enabling this feature
This feature is only available with an enterprise license. Learn more