fix: add workspace_proxy type to auditlog friendly strings (#9194)

* fix: add workspace_proxy type to auditlog friendly strings
* add unit test and organization type
This commit is contained in:
Steven Masley
2023-08-21 10:53:41 -05:00
committed by GitHub
parent 07188b123a
commit b2ca3ebaa3
6 changed files with 38 additions and 4 deletions
+4
View File
@@ -1785,22 +1785,26 @@ export type ResourceType =
| "git_ssh_key"
| "group"
| "license"
| "organization"
| "template"
| "template_version"
| "user"
| "workspace"
| "workspace_build"
| "workspace_proxy"
export const ResourceTypes: ResourceType[] = [
"api_key",
"convert_login",
"git_ssh_key",
"group",
"license",
"organization",
"template",
"template_version",
"user",
"workspace",
"workspace_build",
"workspace_proxy",
]
// From codersdk/serversentevents.go