mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
feat: add workspace agent connect and app open audit types (#16493)
This commit adds new audit resource types for workspace agents and workspace apps, as well as connect/disconnect and open/close actions. The idea is that we will log new audit events for connecting to the agent via SSH/editor. Likewise, we will log openings of `coder_app`s. This change also introduces support for filtering by `request_id`. Updates #15139
This commit is contained in:
committed by
GitHub
parent
42f6b716f2
commit
b5329ae1cd
Generated
+8
-2
@@ -25,7 +25,11 @@ CREATE TYPE audit_action AS ENUM (
|
||||
'login',
|
||||
'logout',
|
||||
'register',
|
||||
'request_password_reset'
|
||||
'request_password_reset',
|
||||
'connect',
|
||||
'disconnect',
|
||||
'open',
|
||||
'close'
|
||||
);
|
||||
|
||||
CREATE TYPE automatic_updates AS ENUM (
|
||||
@@ -201,7 +205,9 @@ CREATE TYPE resource_type AS ENUM (
|
||||
'notification_template',
|
||||
'idp_sync_settings_organization',
|
||||
'idp_sync_settings_group',
|
||||
'idp_sync_settings_role'
|
||||
'idp_sync_settings_role',
|
||||
'workspace_agent',
|
||||
'workspace_app'
|
||||
);
|
||||
|
||||
CREATE TYPE startup_script_behavior AS ENUM (
|
||||
|
||||
Reference in New Issue
Block a user